Skip to content

Instantly share code, notes, and snippets.

View PatMurrayDEV's full-sized avatar

Pat Murray PatMurrayDEV

View GitHub Profile
@PatMurrayDEV
PatMurrayDEV / Sync gh-pages + master branches
Created November 2, 2015 10:39 — forked from mandiwise/Sync gh-pages + master branches
Keep gh-pages up to date with a master branch
// Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/
$ git add .
$ git status // to see what changes are going to be commited
$ git commit -m 'Some descriptive commit message'
$ git push origin master
$ git checkout gh-pages // go to the gh-pages branch
$ git rebase master // bring gh-pages up to date with master
$ git push origin gh-pages // commit the changes
@PatMurrayDEV
PatMurrayDEV / The Technical Interview Cheat Sheet.md
Last active August 29, 2015 14:28 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@PatMurrayDEV
PatMurrayDEV / spendyspendy.txt
Last active August 29, 2015 14:26 — forked from dannolan/spendyspendy.txt
Top Entitlement Claiming Federal Politicians in Australia (2H 2014)
Top Spenders OVERALL
The Hon Tony Abbott MP - $1057673
The Hon Julie Bishop MP - $866653
Mr Tony Pasin MP - $851482
Mr Tim Watts MP - $556863
The Hon Andrew Robb AO MP - $539247
The Hon Darren Chester MP - $529344
Mr Wyatt Roy MP - $526258
Senator the Hon Simon Birmingham - $523191