Skip to content

Instantly share code, notes, and snippets.

//set global YUI conf here because we are now hosting the files.
YUI_config = {
combine: false,
base: "/js/yui/",
loadOptional: false,
//filter: 'debug',
groups: {
gallery: {
base: '/js/gallery/',
combine: false,
@chrisgeo
chrisgeo / combo_yuiconf.js
Created December 22, 2010 15:03
comboloader yuiconfg
YUI_config = {
combine: true,
base: '/yui/',
root: 'yui/',
loadOptional: false,
comboBase: '/combo?',
//filter: 'debug',
groups: {
gallery: {
combine: true,
@bentruyman
bentruyman / Custom.css
Created August 17, 2011 00:30
IR_Black Theme for Chrome Developer Tools
/**********************************************/
/*
/* IR_Black Skin by Ben Truyman - 2011
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
/* http://darcyclarke.me/design/skin-your-chrome-inspector/
/*
@paulredmond
paulredmond / Custom.css
Created August 17, 2011 17:11
Espresso syntax theme for Google Chrome Inspector
/**********************************************/
/*
/* Espresso-inspired theme for Google Chrome Inspector
/*
/* By: Paul Redmond http://github.com/paulredmond
/*
/* Inspired by Darcy Clarke's post - http://darcyclarke.me/design/skin-your-chrome-inspector/
/* Darcy Clarke's "Darker Skin" theme - http://darcyclarke.me/dev/inspectorskin/Custom.css
/*
/**********************************************/
RED="\[\033[1;31m\]"
YELLOW="\[\033[1;33m\]"
GREEN="\[\033[1;32m\]"
BLUE="\[\033[1;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[1;37m\]"
COLOR_NONE="\[\e[0m\]"
@chrisgeo
chrisgeo / names.list
Created January 26, 2012 03:17
TextMate or Sublime Text 2 restructured text scopes
These are all the tags from the RestructuredText.tmtheme, it honestly needs to be a little bit better to come close to VIM.
comment.line.double-dot.restructuredtext
constant.other.citation.link.restructuredtext
constant.other.footnote.link.restructuredtext
entity.name.tag.restructuredtext
markup.bold.restructuredtext
markup.heading.restructuredtext
markup.italic.restructuredtext
markup.other.command.restructuredtext
@davglass
davglass / gist:2408356
Created April 17, 2012 19:12
Dav's Git Prompt
RED="\[\033[1;31m\]"
YELLOW="\[\033[1;33m\]"
GREEN="\[\033[1;32m\]"
BLUE="\[\033[1;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[1;37m\]"
COLOR_NONE="\[\e[0m\]"
@piscisaureus
piscisaureus / pr.md
Created August 13, 2012 16:12
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

CINNAMON BEEF STEW

AMOUNT UNIT INGREDIENT
2-3 LBS Beef Stew Meat
To taste - Salt & Pepper
3 TBSP Coconut Oil
1 Medium - Carrot
1 Medium - Onion
@kyledrake
kyledrake / ferengi-plan.txt
Last active July 10, 2024 18:51
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {