type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
| git rm -r -f --cached $PATH | |
| echo $PATH >> .gitignore | |
| git add .gitignore | |
| git commit --amend --no-edit | |
| git reflog expire --expire=now --all --verbose | |
| git gc --prune=now --aggressive |
| /* | |
| Cliloc (Client Localized) files: | |
| - Cliloc.chs | |
| - Cliloc.cht | |
| - Cliloc.deu | |
| - Cliloc.enu | |
| - Cliloc.esp | |
| - Cliloc.fra | |
| - Cliloc.jpn |
| const { readFileSync } = require('fs'); | |
| const { normalize, join } = require('path'); | |
| const { hexy } = require('hexy'); | |
| const { cwd } = process; | |
| const fileName = 'tiledata.mul'; | |
| const tiledata = readFileSync(normalize(join(cwd(), 'muls', fileName)), { | |
| flags: 'r' |
| sudo openssl dhparam -dsaparam -out /etc/nginx/dhparam.pem 2048 | |
| sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/example.com | |
| sudo service nginx stop | |
| sudo certbot certonly --standalone -d example.com -d www.example.com --email hello@example.com | |
| 0 0 * * * /usr/bin/certbot renew --quiet --renew-hook "/usr/sbin/nginx -s reload" |
| // screenshot | |
| // | |
| // node screenshot.js https://example.com 1024 768 | |
| const puppeteer = require('puppeteer'); | |
| const args = process.argv.slice(2); | |
| (async () => { | |
| const browser = await puppeteer.launch(); |
I hereby claim:
To claim this, I am signing this object:
| // core modules | |
| var crypto = require('crypto'); | |
| // variables | |
| var password = '12345678'; | |
| var salt = (+new Date()).toString(); // something unique, probably. | |
| // hash | |
| var hashedPassword = crypto.createHash('md5').update(crypto.createHash('md5').update(salt + password) + ':' + salt).digest('hex'); |
| #!/bin/sh | |
| # start | |
| echo "" | |
| echo "> swap.sh" | |
| echo "" | |
| # variables | |
| SWAP_SIZE="4G" | |
| if [ ! -z "$2" ]; then |
| /** | |
| ⋮ CSS Properties, grouped and ordered. | |
| */ | |
| .selector { | |
| /* positioning */ | |
| bottom: auto; | |
| clear: none; | |
| clip: auto; |