First, install Solaar to see the battery level on the taskbar
sudo apt-get install solaar
To remap the keys, install
sudo apt-get install xbindkeys xautomation
Regular expression cheat sheet for Varnish | |
Varnish regular expressions are NOT case sensitive. Varnish uses POSIX | |
regular expressions, for a complete guide, see: "man 7 regex" | |
Basic matching: | |
req.url ~ "searchterm" | |
True if req.url contains "searchterm" anywhere. | |
req.url == "searchterm" |
First, install Solaar to see the battery level on the taskbar
sudo apt-get install solaar
To remap the keys, install
sudo apt-get install xbindkeys xautomation
gcloud deployment-manager deployments create my-deployment --config qwiklabs.yaml
const {Buffer} = require('safe-buffer'); | |
const Compute = require('@google-cloud/compute'); | |
const compute = new Compute(); | |
/** | |
* Resize Compute Engine instance-group. | |
* | |
* Expects a PubSub message with JSON-formatted event data containing the | |
* following attributes: | |
* zone - the GCP zone the instances are located in. |
upstream backend { | |
server localhost:8080; | |
#server backup1.example.com:8080 backup; | |
#server backup2.example.com:8080 backup; | |
} | |
# Set cache dir | |
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=one:10m; | |
# Set cache key to include identifying components |
git clone [email protected]:Kong/docker-kong.git
An IAM user policy document to give minimal rights for deploying an Elastic Beanstalk application.
Where:
REGION
: AWS region.ACCOUNT_ID
: AWS account ID.APPLICATION_NAME
: Desired target Elastic Beanstalk application name(space).IAM_INSTANCE_PROFILE_ROLE
: The instance profile (IAM role) Elastic Beanstalk EC2 instaces will run under.