*Warning: You do not have permission to access the API*
Category: Development
The EU Language tools
If you are an EU-based SME, use this API to auto translate content in EU languages
Working with HTTP request type (method) in CakePHP
Get the request type (method): $this->request->getMethod() (For the older versions before 3.4, use $this->request->method()) Check the request type (method): $this->request->is('post'); Documentation: https://book.cakephp.org/4/en/controllers/request-response.html#reading-the-http-method https://book.cakephp.org/4/en/controllers/request-response.html#Cake\Http\ServerRequest::is
Bootstrapping a Node.js Lambda function having MySQL support
If you need your Node.js Lambda function to have support for any given extension, add that extension locally to have your local npm download the dependencies into node_modules, then zip the folder into an archive, and create a Lambda function from that archive. You can do it from a Linux VPS, or download the ready-to-use… Continue reading Bootstrapping a Node.js Lambda function having MySQL support
The very basics of getting started with CakePHP events
A quick example on how to get started with CakePHP event system.
Using SSH console to speed up coding
A few potentially overlooked quick tips
Check if IP is blocked in iptables
Here’s how you can see if a given IP address had been blocked in your iptables
Github Actions missing
A quick solution to Github Actions not showing up when integrating Azure
Installing Node.js on a low end VPS
If you have a VPS that runs Debian 8 or 9, here’s how you can install a relatively relevant Node.js version
Connecting AWS API Gateway to SQS
An outline, leaving out the defaults and the obvious chores such as selecting the right region: 1. Create your SQS queue 2. Create a REST API, a resource and a method – Method Request: empty, no auth – Integration Request: – Type: AWS Service – AWS Service: Simple Queue Service (SQS) – AWS Subdomain: (empty)… Continue reading Connecting AWS API Gateway to SQS