This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🌞 Morning 86 commits ████▊░░░░░░░░░░░░░░░░ 23.0% | |
🌆 Daytime 172 commits █████████▋░░░░░░░░░░░ 46.0% | |
🌃 Evening 92 commits █████▏░░░░░░░░░░░░░░░ 24.6% | |
🌙 Night 24 commits █▎░░░░░░░░░░░░░░░░░░░ 6.4% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# drop all test databases | |
sql="select datname from pg_database where datname like '%test_%'" | |
dbDelNames=`psql -U postgres -t -A -c "$sql"` | |
for dbName in ${dbDelNames[@]} | |
do | |
echo -e "\n\n[INFO] Drop $dbName.\n" | |
dropdb $dbName | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show all resolved comments in a Github Pull Request | |
document.querySelectorAll('span.Details-content--closed').forEach((e)=>{e.click()}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -1 *.heic | xargs -n 1 bash -c 'convert "$0" "${0%.*}.jpg"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"runtime/trace" | |
) | |
func main() { | |
f, err := os.Create("trace.out") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
#settings for go path | |
export GOPATH=$HOME/go | |
PATH=$PATH:$GOPATH/bin | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/topaztee/.oh-my-zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package slack | |
import ( | |
"bytes" | |
"encoding/json" | |
"net/http" | |
) | |
func Firehose() Slack { | |
return Slack{ |