Skip to content

Instantly share code, notes, and snippets.

View gcg's full-sized avatar

Guney Can Gokoglu gcg

View GitHub Profile
@gcg
gcg / SoloLevelingDownload.sh
Created January 21, 2020 11:01
Solo Leveling bash downloader
#!/bin/bash
echo "Downloading Solo Leveling..."
start=$(date -d "2018-02-05" '+%s')
today=$(date -d $(date +%Y-%m-%d) '+%s')
diff=$(( ($today - $start) / (60*60*24) ))
last=$(((diff / 7) + (diff % 7 > 0)))
for (( i=0; i<=$last; i++ ))

Keybase proof

I hereby claim:

  • I am gcg on github.
  • I am gcg (https://keybase.io/gcg) on keybase.
  • I have a public key whose fingerprint is 5636 38FB 76DE B321 D093 3545 56A4 8CB0 71AD 8A06

To claim this, I am signing this object:

@gcg
gcg / jsoncall
Created March 11, 2014 12:23
Pretty API calls with Curl and python pygmentize for Json responses
function jsoncall {
curl $1 | python -mjson.tool | pygmentize -f terminal256 -l json -O style=monokai
}