I hereby claim:
- I am theanht1 on github.
- I am theanht1 (https://keybase.io/theanht1) on keybase.
- I have a public key ASD3gVE7FraTNEtmpLSFBE10yqBVputOL_aouxh5DS0NJQo
To claim this, I am signing this object:
#!/bin/sh | |
VPN_URL= | |
VPN_GROUP= | |
VPN_USER= | |
VPN_PASSWORD= | |
VPN_CERT_FILE= | |
CERT_PASSPHRASE= |
I hereby claim:
To claim this, I am signing this object:
location / {
proxy_pass http://127.0.0.1:7373;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
#!/bin/bash | |
# Created by abraaojs, updated by theanht1 | |
# Add to instance metadata with `gcloud compute instances add-metadata \ | |
# instance-name --metadata-from-file startup-script=gcp-shutdown.sh` and reboot | |
# NOTE: requires `bc`, eg, sudo apt-get install bc | |
# Modified from https://stackoverflow.com/questions/30556920/how-can-i-automatically-kill-idle-gce-instances-based-on-cpu-usage | |
threshold=0.1 | |
count=0 |
conda create --name python3.7 python=3.7
conda activate python3.7
conda deactivate
Folow this link
NOTE: Configure for Endpoint should be changed like this:
config :foo, Foo.Endpoint,
check_origin: ["//mysite.com"],
http: [ip: {0, 0, 0, 0}, port: 4000],
mv .zhistory .zhistory_bad
strings .zhistory_bad > .zhistory
fc -R .zhistory