I hereby claim:
- I am qrkourier on github.
- I am kourier (https://keybase.io/kourier) on keybase.
- I have a public key whose fingerprint is 5489 E13F 8105 64DF 47FB 9841 B694 03FA 957C 5E46
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # | |
| # [this lives here now](https://github.com/qrkourier/stackdom/blob/master/bin/stackdom.rb) | |
| # | |
| # slurp some XML over HTTP and parse to find equivalent domain | |
| # names for the Stack Exchange network of sites | |
| # | |
| # shell $ gem install xml-simple domainatrix | |
| # |
openssl req -new -sha256 -key /etc/pki/ovirt-engine/keys/apache.key.nopass -out /tmp/engine.csr
| #!/bin/bash -u | |
| # | |
| # [this lives here now](https://github.com/qrkourier/shufflepad-sound-machine/blob/master/bin/shufflepad.sh) | |
| donames(){ | |
| find -mindepth 1 -maxdepth 1 -type f -iname '*.mp3' | egrep '\s' | \ | |
| while read pad;do | |
| mv -v "$pad" $(sed -r 's/[-)(_ ]+//g'<<<"${pad#./}") | |
| done | |
| } |
| # ansible playbook illustrating two approaches to change a list of users' uid:gid and | |
| # update homedir files owner and mode to match | |
| - hosts: all | |
| vars: | |
| user_dict: | |
| bob: 2001 | |
| alice: 2002 | |
| user_list: | |
| - bob | |
| - alice |
| #!/usr/bin/env python | |
| # | |
| # @qrkourier (2017) | |
| # | |
| # print the estimated USD yield for a given Ethermine API URL | |
| # | |
| # $ ethermine-yield.py https://ethermine.org/api/miner_new/9a0C4548c8b827e01aF1dc3AF9373830 | |
| # $1.28/day | |
| # $8.97/week | |
| # $38.99/month |
| version: '3.2' | |
| services: | |
| elasticsearch: | |
| image: "docker.elastic.co/elasticsearch/elasticsearch:5.5.2" | |
| environment: | |
| - http.host=0.0.0.0 | |
| - transport.host=127.0.0.1 |
| #!/bin/bash -u | |
| # | |
| _help(){ | |
| cat >&2 <<-EOF | |
| Usage: $1 [OPTION] ... | |
| -g use Nvidia GPU(s) | |
| -a ALGORITHM mining algorithm (e.g., scrypt, equihash) | |
| -u BITCOIN_ADDRESS your Nicehash wallet address |