Skip to content

Instantly share code, notes, and snippets.

View neurotech's full-sized avatar
🍔
We codin'

Tim Douglas neurotech

🍔
We codin'
View GitHub Profile
@neurotech
neurotech / archlinux-install.sh
Last active March 13, 2018 02:53 — forked from wuputah/archlinux-install.sh
Edited to specify Australia/NSW timezone instead of America/Los Angeles
# confirm you can access the internet
if [[ ! $(curl -Is http://www.google.com/ | head -n 1) =~ "200 OK" ]]; then
echo "Your Internet seems broken. Press Ctrl-C to abort or enter to continue."
read
fi
# make 2 partitions on the disk.
parted -s /dev/sda mktable msdos
parted -s /dev/sda mkpart primary 0% 100m
parted -s /dev/sda mkpart primary 100m 100%
@neurotech
neurotech / gist:4116984
Created November 20, 2012 09:37 — forked from schneems/gist:3029994
Databases and Rails Recap Quiz for Week 4

1) What does MVCr stand for?

Model View Controller Route

2) In what file do we store 'r' from MVCr ?

/config/routes.rb

3) What two components make up a route