I hereby claim:
- I am sharpedgemarshall on github.
- I am sharpedge (https://keybase.io/sharpedge) on keybase.
- I have a public key ASBq779TFl_LnjVS_rXRqnQuE8qWrVFgr3zshpWt16YHmgo
To claim this, I am signing this object:
var count = 0; | |
for ( var i = 0; i < 4; i++ ){ | |
setTimeout(function(){ | |
console.log(i==count++); | |
}, i * 200); | |
} |
#!/bin/bash | |
# Monkeypatching yarn issue #761 installing with --production flag without devDependencies | |
if [ -n $NODE_ENV ] && [ "$NODE_ENV" == "production" ] || [ "$NODE_ENV" == "staging" ] | |
then | |
# Backup package.json and remove devDep | |
cp package.json original_package.json | |
jq 'del(.devDependencies)' package.json > tmp.json && mv tmp.json package.json | |
#Install |
# | |
# Cookbook:: apache2 | |
# Recipe:: jk | |
# | |
# Copyright:: 2013, Mike Babineau <michael.babineau@gmail.com> | |
# Copyright:: 2013, Chef Software, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
I hereby claim:
To claim this, I am signing this object:
To run the script please follow these instructions:
CMD+Space
=> digit “Terminal” => press Enter
)curl -sSL https://gist.githubusercontent.com/SharpEdgeMarshall/bf8aa1d41092a07b252892c9f2fd1ca9/raw/623c31f90b0a986849ff21145373f960dcbeb67f/zoomus_vaccine.sh -o zoomus_vaccine.sh
Enter
:
sudo bash ./zoomus_vaccine.sh
1
and press Enter
################# Config variables ################# | |
:global WANInterface; | |
################# CloudFlare variables ################# | |
:local CFtkn "<TOKEN>"; # Your CloudFlare API token comes here | |
:local CFrecordType "A"; | |
:local CFzoneid "<DNS ZONE>"; # Your DNS zone ID comes here (a hash of 32 chars) | |
# An associative array of domain names to domainIds (32 chars each, you'll need to query CF to get them) |