Skip to content

Instantly share code, notes, and snippets.

View Bizzaro's full-sized avatar
🚀

Albert Fung Bizzaro

🚀
  • proffeshunal computer toucher
  • toronto proper
  • 22:35 (UTC -04:00)
View GitHub Profile
@mtilson
mtilson / README.md
Last active June 1, 2022 18:51
how to get external IP on different clouds [linux] [aws] [gcp]

Common methods for AWS EC2 and GCP GCE

# AWS
$ dig +short myip.opendns.com @resolver1.opendns.com
18.224.203.147
# GCP
@telegraphic
telegraphic / parse_nvidia_smi.py
Created September 23, 2016 00:37
Parse nvidia-smi from python
"""
Parse output of nvidia-smi into a python dictionary.
This is very basic!
"""
import subprocess
import pprint
sp = subprocess.Popen(['nvidia-smi', '-q'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
@laptrinhcomvn
laptrinhcomvn / Sublime Text 3 cheating.md
Last active July 25, 2025 07:24
Sublime Text 3 patching

Ref: https://gist.github.com/vertexclique/9839383

Important Note

Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

  • After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .
@grantland
grantland / README.md
Last active April 22, 2026 00:07
NextBus API
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 10, 2026 07:49
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k