Skip to content

Instantly share code, notes, and snippets.

View christi3k's full-sized avatar

Christie Koehler christi3k

View GitHub Profile
@woods
woods / git_svn_bash_prompt.sh
Created December 4, 2008 15:37 — forked from halbtuerke/gist:31934
Set color bash prompt according to git/svn branch, and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE:
@chmurph2
chmurph2 / copyURLPlusSafari.scpt
Created February 26, 2009 01:12
In Safari, this applescript copies the title and URL of the current tab to the clipboard.
-- In Safari, this copies the Title and URL of the current tab to the clipboard.
-- Save the script in ~/Library/Scripts/Applications/Safari
-- Using QuickSilver, I assign a trigger to this script using the hotkey ⌥-C (option c), with the scope of the trigger limited to Safari.
-- Inspired by CopyURL + (http://copyurlplus.mozdev.org/)
-- Christopher R. Murphy
tell application "Safari"
set theURL to URL of front document
set theTitle to name of front document
set the clipboard to theTitle & return & theURL as string
<?php
/*
SimpleTest + CodeIgniter
test.php
the test runner - loads all needed files,
integrates with CodeIgniter and runs the tests
by Jamie Rumbelow
http://jamierumbelow.net/
@gpiancastelli
gpiancastelli / goodreads-oauth-example.py
Created August 19, 2010 13:50
A Python example of how to use OAuth on GoodReads
import oauth2 as oauth
import urlparse
url = 'http://www.goodreads.com'
request_token_url = '%s/oauth/request_token/' % url
authorize_url = '%s/oauth/authorize/' % url
access_token_url = '%s/oauth/access_token/' % url
consumer = oauth.Consumer(key='Your-GoodReads-Key',
secret='Your-GoodReads-Secret')
@fairchild
fairchild / etherpad-setup.sh
Created November 29, 2010 08:05
shell script to install etherpad on ubuntu 10.04
#!/bin/bash -xe
echo "deb http://archive.canonical.com/ lucid partner">>/etc/apt/sources.list
apt-get update
sudo apt-get -y install sun-java6-jdk
update-java-alternatives -s java-6-sun
sudo apt-get install scala mysql-server mysql-client libmysql-java git-core
sudo groupadd etherpad
@edavis10
edavis10 / delicious.sh
Created December 16, 2010 21:12
Grab the del.icio.us bookmarks into an xml file that is date stamped (auto monthly rotation)
#!/bin/bash
# Grab the del.icio.us bookmarks into an xml file... ick know but it works!
curl --user theadmin:PASSWORD -o /home/edavis/doc/D/delicious/Delicious`date +%d`.xml -O 'https://api.del.icio.us/v1/posts/all'
@incanus
incanus / gist:808151
Created February 2, 2011 18:41
This is a shell script to open the current Git repository on GitHub in the default browser. Only works at the top level of the working copy and on Mac OS X (for now).
grep github ./.git/config | sed -e 's/^.*\(github.com.*\)\.git$/\1/' -e 's/.*github\.com:*\/*/https:\/\/github.com\//' | xargs open
@mbbx6spp
mbbx6spp / README.md
Created December 4, 2011 04:24
Best UNIX shell-based tools I can't live without with example usages

Best UNIX Shell tools

These are a list of usages of shell commands I can't live without on UNIX-based systems.

Install

Mac OS X

Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages:

@tmcw
tmcw / .vimrc
Created December 12, 2011 21:00
" Colorscheme
colorscheme molokai
if has("gui_running")
" colorscheme tombat
" colorscheme xoria256
if strftime("%u", localtime()) > 5
colorscheme xoria256
else
colorscheme kod
endif
@juliepagano
juliepagano / 101_off_limits.md
Last active December 16, 2020 09:37
101 conversations I generally don't want to have...

This list now exists over at http://juliepagano.com/blog/2013/11/02/101-off-limits/ and will be updated there.

I keep saying that impromptu, unwanted feminism 101 discussions are exhausting and not a good use of my resources. Then people ask what I mean by 101, so I'm starting to make a list. This list will change over time - I recommend checking back.

I highly recommend checking this list before engaging with me about feminism if you're new to it. It'll save both of us a lot of time and frustration.

Diversity in tech

Women aren't equally represented in tech because biology

Nope. This argument is bad and the science does not support it. Unfortunately, every time you say this out loud, you are contributing to cultural problems that do decrease the number of women in tech.