Skip to content

Instantly share code, notes, and snippets.

View skhavari's full-sized avatar
💭
I may be slow to respond.

Sam Khavari skhavari

💭
I may be slow to respond.
View GitHub Profile
@skhavari
skhavari / master-plan.js
Last active August 29, 2015 13:57
Goal of every software company
function atm( typing ){
//insert complexity here...
return money;
}
company.desire = atm;
skav:~ skhavari$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.9 GB disk1
pacman -Syu
shutdown -h now
// change root password
$ passwd
// set timezone
$ ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
// set hostname
$ echo rasp > /etc/hostname
$ hostname rasp
sudo pacman -S mochad
sudo pacman -S openbsd-netcat
pacman -S nodejs
sudo npm install -g forever
sudo dd if=/dev/rdisk1 of=/Users/skhavari/rasp.img bs=1m
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>https://docs.google.com/a/your-domain/document/create?hl=en</string>
</dict>
</plist>