I hereby claim:
- I am daehee on github.
- I am daehee (https://keybase.io/daehee) on keybase.
- I have a public key whose fingerprint is 9CEB 92CC 5AE5 79E8 31FE 9F1F 8939 E398 1A5D 0084
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
--- | |
- hosts: all | |
vars: | |
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com | |
ubuntu_common_deploy_user_name: deploy | |
ubuntu_common_deploy_public_keys: | |
- ~/.ssh/id_rsa.pub |
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left) | |
// https://gist.github.com/JamieMason/7580315 | |
// | |
// 1. Go to https://twitter.com/YOUR_USER_NAME/following | |
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
// 3. Paste this into the Developer Console and run it | |
(() => { | |
const followButtonQuery = '[data-testid$="-unfollow"]'; | |
const confirmButtonQuery = '[data-testid="confirmationSheetConfirm"]'; | |
const sleep = ({ seconds }) => |
// Unlike all your liked tweets | |
// This is derived Twitter Unfollow script, by Jamie Mason (https://twitter.com/fold_left) | |
// https://gist.github.com/JamieMason/7580315 | |
// | |
// 1. Go to https://twitter.com/YOUR_USER_NAME/likes | |
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
// 3. Paste this into the Developer Console and run it | |
(() => { | |
const unlikeButtonQuery = '[data-testid="unlike"]'; | |
const confirmButtonQuery = '[data-testid="confirmationSheetConfirm"]'; |
// Run in console from results page | |
var wl = ""; | |
$('.file h2').each(function() {wl += "\n" + $(this).text()}); |
#!/bin/bash | |
VERSION="1.13.4" | |
wget https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | |
tar xvfz go$VERSION.linux-amd64.tar.gz | |
sudo chown -R root:root ./go | |
sudo rm -rf /usr/local/go | |
sudo mv go /usr/local/ | |
source ~/.zshrc |
package main | |
import ( | |
"fmt" | |
"net/http" | |
"net/url" | |
"strings" | |
) | |
// Build a rune slice of printable ASCII characters, excluding some special characters that would break the regex |
package main | |
import ( | |
"crypto/md5" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/url" | |
"regexp" |
package main | |
import ( | |
"bufio" | |
"encoding/base64" | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"os" |
#!/bin/bash | |
# Call with domain name <e.g. tesla.com> as arg $1 | |
scanned () { | |
cat $1 | sort -u | wc -l | |
} | |
## segregating cloudflare IP from non-cloudflare IP | |
iprange="173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/12 172.64.0.0/13 131.0.72.0/22" | |
for ip in `cat $1-ipz.txt`; do |