Skip to content

Instantly share code, notes, and snippets.

View rdougan's full-sized avatar

Robert Dougan rdougan

View GitHub Profile
@sam-artuso
sam-artuso / setting-up-babel-nodemon.md
Last active November 3, 2023 08:52
Setting up Babel and nodemon

Setting up Babel and nodemon

Inital set-up

Set up project:

mkdir project
cd project
npm init -y
@alistairreilly
alistairreilly / santa.md
Created November 15, 2011 06:14
My list for Santa 2011

Dear Santa,

I have been a very good boy. I would like the following things for Christmas:

  • a fast car
  • a bike
  • a big choo-choo train
  • a Cars 2 movie
  • a fast motorcycle
  • a Nerf gun
@avar
avar / 30-income-calculon.pl
Last active February 12, 2024 18:34
Calculate your income in The Netherlands with and without a 30% ruling.
# To check if this is up-to-date with the tax rates go to
# http://www.expatax.nl/tax-rates-2016.php and see if there's anything
# newer there.
#
# I make no guarantees that any of this is correct. I calculated this
# at the time and have been updating it when new tax rates come along
# because people keep finding this useful.
#
# There's also an interactive JS version of this created by
# @stevermeister at
@rdougan
rdougan / .profile
Created April 1, 2011 09:06
My .profile file
# Paths
export PATH=/Applications/TextMate.app/Contents/Resources:$PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export PATH=/opt/apache/bin:$PATH
export PATH=/opt/php5/bin:$PATH
export PATH=/usr/local/mysql/bin:$PATH
export PATH=/usr/local/pgsql/bin:$PATH
export PATH=/Users/Robert/github/ivy/bin:$PATH
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')