Skip to content

Instantly share code, notes, and snippets.

View kr1st1n4gr03g3r's full-sized avatar
🎯
Focusing

Kristina Groeger kr1st1n4gr03g3r

🎯
Focusing
  • KG Unlimited.
  • Toronto, Ontario, Canada
  • 01:11 (UTC -04:00)
View GitHub Profile
@yocontra
yocontra / aoe2hd.md
Last active June 9, 2023 18:28
Age of Empires II HD - For Mac OSX
@kevincoleman
kevincoleman / catsOnLap.js
Last active August 29, 2015 14:12
A script to explain the interaction that takes place when a cat jumps on a lap.
var cat = {
annoyance: 30 // cats are never not annoyed
};
var lapContents = [];
var needToPee = 0;
var catSettle = function(settlingCat) {
if (cat.annoyance < 100) {
lapcontents.push(settlingCat);
} else {
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@elidickinson
elidickinson / max_width_email.html
Created May 6, 2013 15:10
Email Template trick: max-width with outlook
<!--[if mso]>
<center>
<table><tr><td width="580">
<![endif]-->
<div style="max-width:580px; margin:0 auto;">
<p>This text will be centered and constrained to 580 pixels even on Outlook which does not support max-width CSS</p>
</div>
<!--[if mso]>
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active April 14, 2025 11:07
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh