Securing Facebook API calls with app secret proof in Python and getting around the: API calls from the server require an appsecret_proof error!
On setting up Airflow with Python 3.8 I was receiving an error when initialising the database. There are certain dependencies which need to be installed with specific versions however when I tried to use pip install apache-airflow==1.10.12 \ –constraint “https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt” I couldn’t get the install to complete. I ran the standard apache-airflow installation for Airflow… Read More »
Sails has an amazing auto build function you can select when generating a new app, however let’s add a contact for to an empty web app.
When creating a new application Sails gives you the option to build a fully fledged web app including user log in and authentication as well as stripe integration… but what if you wanted a bare bones web app – well you’ll have to add user authentication yourself. That’s where passport comes in really handy. Passport… Read More »
Moving over from Rails to Sails – this one had me for a few days as forms were a doddle in Rails!I’d set up the form and it was showing in the view OK, however when I submitted I was receiving a ‘Forbidden’ error in the view. I sorted that after a little reading… sorting… Read More »
I’ve noticed the option to create an f1-micro instance has been removed from the UI in the console so here’s how to generate one through the command line. You’ll need to ensure you have the gcloud sdk installed to achieve this. The bolded elements below are configurable so feel free to change however this allows… Read More »
Having spent the last 5 years scripting in Ruby and building web apps in Ruby on Rails, I’ve loved every minute. I’ve read a lot of articles about how Rails is dead and being left behind by the new breed of web frameworks… I’m still smitten.I’ve dabbled with a few and I’ve struggled to find… Read More »
Firstly you need to add the GPG Keys by heading to the terminal and executing: $ gpg –keyserver hkp://ipv4.pool.sks-keyservers.net –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB Then install the latest stable version of ruby $ \curl -sSL https://get.rvm.io | bash -s stable –ruby If you want to install a specific version of ruby e.g. 2.5.2, you can run $… Read More »
php artisan make:auth is now deprecated… however it’s a simple fix. Instead of using $ php artisan make:auth We need to use: $composer require laravel/ui –dev $ php artisan ui vue –auth $ php artisan migrate $ npm install $ npm run dev
$ docker ps # List all running containers $ docker ps –all # List all containers whether running or not $ docker system prune # remove all containers To run container and see output add -a flag $ docker logs <container id> # Show logs from last time container ran $ docker stop <container id>… Read More »