The very basics of getting started with CakePHP events
in CakePHP #cakephp #best-practices #decoupling
A quick example on how to get started with CakePHP event system.
Using SSH console to speed up coding
in Development #tips #best-practices #grep
A few potentially overlooked quick tips
Check if IP is blocked in iptables
in Development #debian #iptables #linux
Here's how you can see if a given IP address had been blocked in your iptables
Github Actions missing
in Cloud & Serverless #microsoft-azure #github #ci-cd
A quick solution to Github Actions not showing up when integrating Azure
Installing Node.js on a low end VPS
in Experimental #node-js #low-end-box #vps
If you have a VPS that runs Debian 8 or 9, here's how you can install a relatively relevant Node.js version
Which Huawei E8372 modem variant works with the European LTE bands?
Connecting AWS API Gateway to SQS
Printing a document with links displays URLs
Creating a RESTful API resource in CakePHP 4
in CakePHP #cakephp #api #rest
Here's how to quickly convert a controller into an API resource
CakePHP 4 "Missing or incorrect CSRF cookie type"
in CakePHP #cakephp #middleware
Reconfiguring `CsrfProtectionMiddleware` to allow POST requests to specific scopes. The article offers two ways to navigate around the "Missing or incorrect CSRF cookie type" error.
MySQL Workbench Import/Restore: "There were no dump files in the selected folder."
in Development #mysql #backup #restore #mysql-workbench #phpmyadmin
Restoring a phpMyAdmin sql.zip with tables exported as separate files using MySQL Workbench
CakePHP CRUD plugin pagination limit
Adding pagination to `friendsofcake/crud` and `friendsofcake/crud-view`
AWS CodeCommit: Repository does not exist
in Development #aws #git
Troubleshooting Amazon CodeCommit not letting you into your repository over an SSH connection.
Delete a whole line you're on in phpStorm
Crop a photo for Instagram without any weird or unnecessarily paid apps
Sometimes you need to crop a photo into a custom ratio that the default Photos app doesn't support. Here's how you can do that without reverting to those single-use apps from unknown developers.
Form submit event not firing
If `submit` event is not triggered when you submit your HTML form using `submit()`, use `requestSubmit()` instead.
Debug environment variables when setting up GatsbyJS with headless Wordpress
GatsbyJS talks to headless Wordpress via a GraphQL endpoint which you can specify using an environment variable. Here's how you can debug it when setting up the connection.
"Error establishing a database connection" after Wordpress migration
Installing Debian on an Oracle Cloud Free Tier VPS
in Cloud & Serverless #debian #vps #oracle-cloud-infrastructure
If you got a Free Tier VPS on Oracle Cloud and you want it to run Debian, you will not find it in pre-built OS images. Here's how you create a custom OCI image based on Debian.