Skip to content

Instantly share code, notes, and snippets.

View lincerely's full-sized avatar
🕹️

Lincerely lincerely

🕹️
View GitHub Profile
@lincerely
lincerely / nginx.conf
Last active May 31, 2017 11:50 — forked from atma/nginx.conf
Nginx + nodejs + socket.io websockets with index.html on root
# Add to nginx.conf http section
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
@lincerely
lincerely / svg2icns
Last active January 17, 2023 15:52 — forked from zlbruce/svg2icns
covert svg to icns (with imagemagick)
#!/usr/bin/env bash
# ref: https://gist.github.com/zlbruce/883605a635df8d5964bab11ed75e46ad
if [ $# -ne 1 ]; then
echo "Usage: svg2icns filename.svg"
exit 1
fi
filename="$1"
name=${filename%.*}
dest="$name".iconset
mkdir "$dest"
@lincerely
lincerely / .gitignore
Created March 16, 2024 21:44 — forked from TooTallNate/.gitignore
low-level objc runtime apis
*
!*.m
!Makefile