Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I'm currently busy from my primary work. Some delays are expected.

Daun Jeong Mnkai

💭
I'm currently busy from my primary work. Some delays are expected.
View GitHub Profile
@zlbruce
zlbruce / svg2icns
Created Oct 1, 2016
covert svg to icns (with imagemagick)
View svg2icns
#!/bin/bash
echo "*** SVG 2 ICNS ***"
if [ $# -ne 1 ]; then
echo "Usage: svg2icns filename.svg"
exit 100
fi
filename="$1"
name=${filename%.*}
ext=${filename##*.}
echo "processing: $name"
@aras-p
aras-p / preprocessor_fun.h
Last active Apr 10, 2021
Things to commit just before leaving your job
View preprocessor_fun.h
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,