Skip to content

Instantly share code, notes, and snippets.

View PinLin's full-sized avatar
🇹🇼
Taiwan is not part of China

Pin Lin PinLin

🇹🇼
Taiwan is not part of China
View GitHub Profile
@kaleksandrov
kaleksandrov / global-protect.sh
Last active May 15, 2025 23:41
Simple script that starts and stops GlobalProtect.app on Mac OSX.
#!/bin/bash
case $# in
0)
echo "Usage: $0 {start|stop}"
exit 1
;;
1)
case $1 in
start)
@shello
shello / randomEmoji.py
Last active March 12, 2025 19:23
Random Emoji! (for Python 3)
#!/usr/bin/env python3
from itertools import accumulate
from bisect import bisect
from random import randrange
from unicodedata import name as unicode_name
# Set the unicode version.
# Your system may not support Unicode 7.0 charecters just yet! So hipster.
UNICODE_VERSION = 6