Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
AWS_STORAGE_BUCKET_NAME = 'mybucket' | |
AWS_S3_REGION_NAME = 'us-east-1' | |
AWS_ACCESS_KEY_ID = "minio_access" | |
AWS_SECRET_ACCESS_KEY = "minio_secret" | |
S3_USE_SIGV4 = True | |
AWS_S3_ENDPOINT_URL = 'http://127.0.0.1:9000' | |
AWS_S3_USE_SSL = False |
var AWS = require('aws-sdk'); | |
const awsConf = { | |
accessKeyId: process.env.ACCESS_KEY, | |
secretAccessKey: process.env.SECRET_KEY, | |
region: process.env.REGION | |
} | |
const rdsConfig = { | |
apiVersion: '2014-10-31', |
var AWS = require('aws-sdk'); | |
const rdsConfig = { | |
apiVersion: '2014-10-31', | |
accessKeyId: process.env.ACCESS_KEY, | |
secretAccessKey: process.env.SECRET_KEY, | |
region: process.env.REGION | |
} | |
const rds = new AWS.RDS(rdsConfig); |
server { | |
server_name www.my-site.com | |
listen 80; | |
# Get the actual IP of the client through load balancer in the logs | |
real_ip_header X-Forwarded-For; | |
set_real_ip_from 0.0.0.0/0; | |
# redirect if someone tries to open in http |
server { | |
server_name s1.website.com; | |
return 301 https://s2.website.com$request_uri; | |
} |
Below are many examples of function hoisting behavior in JavaScript. Ones marked as works
successfuly print 'hi!' without errors.
To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js
(I may be using incorrect terms below, please forgive me)