Skip to content

Instantly share code, notes, and snippets.

View wass3r's full-sized avatar
❄️

david m wass3r

❄️
View GitHub Profile
@poweld
poweld / party.sh
Last active November 6, 2018 18:50
Annoy your coworkers with massive emoji banners in Slack
function party {
if ! command -v figlet; then
if ! command -v brew; then
echo Requires figlet or brew to be installed
return 1
fi
brew install figlet
fi
if [ -z "$1" ]; then
@jasonmorganson
jasonmorganson / osx.sh
Last active February 28, 2016 02:23
Setup OSX
# Install Brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Add Casks
curl https://gist.githubusercontent.com/jasonmorganson/28e3cb957716f479e585/raw/07010f93702f6dfe330caae65bd3aceb840f0179/Casklist | brew cask
# Add Brew taps
curl https://gist.githubusercontent.com/jasonmorganson/da90bc75a6813ffb1f72/raw/7ad39ddeb7b0be152b4b1abd2a08aa9f78f3ff7d/Brewtaps | brew tap
# Install from brew
@iainconnor
iainconnor / setup.sh
Last active September 8, 2019 16:00
OSX Setup
me=$(whoami)
# Get Sudo.
if [ $EUID != 0 ]; then
sudo "$0" "$@"
exit $?
fi
# Install Xcode command line tools.
xcode-select --install
@bomberstudios
bomberstudios / sketch-plugins.md
Last active January 2, 2026 16:22
A list of Sketch plugins hosted at GitHub, in no particular order.
@plentz
plentz / nginx.conf
Last active March 13, 2026 00:11
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@nicerobot
nicerobot / README.md
Last active November 10, 2025 09:52
Mac OS X uninstall script for packaged install of node.js from https://stackoverflow.com/a/9287292/23056

To run this, you can try:

curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
@joelambert
joelambert / README
Created June 1, 2011 11:03
Drop in replacements for setTimeout()/setInterval() that makes use of requestAnimationFrame() where possible for better performance
Drop in replace functions for setTimeout() & setInterval() that
make use of requestAnimationFrame() for performance where available
http://www.joelambert.co.uk
Copyright 2011, Joe Lambert.
Free to use under the MIT license.
http://www.opensource.org/licenses/mit-license.php
@kentbrew
kentbrew / setMultiHeaders.js
Created January 10, 2011 22:57
Setting multiple cookies (or whatever) per header with Node. Bonus: p3p line prevents IE from spazzing out.
response.writeHead(200, {
'p3p': ['policyref="http://foo.com/p3p.xml"', 'CP="OOO EEE OOH AH AHH"'],
'Set-Cookie': ['ting="tang; expires=0; path=/;"', 'wallawalla="bingbang; expires=123456789; path=/;"'],
'Content-Type': 'text/html'
});