These are a list of usages of shell commands I can't live without on UNIX-based systems.
Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages:
#!/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: |
-- 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/ |
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') |
#!/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 |
#!/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' |
grep github ./.git/config | sed -e 's/^.*\(github.com.*\)\.git$/\1/' -e 's/.*github\.com:*\/*/https:\/\/github.com\//' | xargs open |
" Colorscheme | |
colorscheme molokai | |
if has("gui_running") | |
" colorscheme tombat | |
" colorscheme xoria256 | |
if strftime("%u", localtime()) > 5 | |
colorscheme xoria256 | |
else | |
colorscheme kod | |
endif |
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.
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.