I hereby claim:
- I am isaacd9 on github.
- I am idiamond (https://keybase.io/idiamond) on keybase.
- I have a public key ASCtfkGEH27Qf6hNU30o_IwZnGYiXAUQbw_JGx-q-pm7Wgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function _gitignore(){ | |
data=`curl -sf "https://raw.githubusercontent.com/github/gitignore/master/$1.gitignore"`; | |
if [ $? -eq 0 ]; then | |
echo "\n${data}" >> .gitignore; | |
else | |
echo "gitignore for $1 not found" | |
fi | |
} | |
function _gitignore_search(){ |
# Add to bashrc | |
`curl -s https://instagraham.io/api/ | jq '"\(.quote) - \(.url)"' > /etc/motd &` |
#!/bin/bash | |
# Install jq (brew install jq or sudo apt-get install jq) | |
# Source this from your ~/.bashrc or ~/.profile to add the `pg` and `inspiration` aliases to your shell! | |
_pg() { | |
data=`curl -s https://instagraham.io/api/ | jq '"\(.quote) - \(.url)"' | fold -w 80 -s` | |
echo -e "\033[1;31m$data\033[0m" | |
} |
#!/usr/local/bin/node | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); | |
}, num, num); | |
}); |
#!/usr/local/bin/node | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); | |
}, num, num); | |
}); |
#!/usr/local/bin/node | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); | |
}, num, num); | |
}); |
#!/usr/local/bin/node | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); | |
}, num, num); | |
}); |
#!/usr/local/bin/node | |
const sort = (arr) => { | |
const sorted = []; | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); |
#!/usr/local/bin/node | |
const sort = (arr) => { | |
const sorted = []; | |
const sleep = (strNum) => { | |
return new Promise((resolve, reject) => { | |
num = parseInt(strNum); | |
setTimeout((num) => { | |
sorted.push(num); | |
resolve(); |