This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# determine your computers local IP address | |
ifconfig | |
# scan all devices on your network (if your computer's IP is 192.168.1.49, for example) | |
sudo nmap -sP 192.168.1.* | |
# the raspbery pi may show up as manufacturer "unknown" if you are using wireless. | |
# Try sshing to each device you think may be the pi | |
ssh [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hdmi_force_hotplug=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -n '<CONSUMER KEY>:<CONSUMER SECRET>' | openssl base64 | |
wget --header="Authorization: Basic <BASE64 ENCODED KEY AND SECRET>" --header="Content-Type: application/x-www-form-urlencoded;charset=UTF-8" --post-data="grant_type=client_credentials" https://api.twitter.com/oauth2/token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ diskutil unmountDisk /dev/disk3 | |
$ sudo dd bs=128m of=/dev/disk3 if=~/Downloads/pi/2013-02-09-wheezy-raspbian.img |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@xset s off | |
@xset -dpms | |
@xset s noblank | |
@chromium --kiosk --incognito bart.blinktag.com/?station=16TH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@xscreensaver -no-splash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo pico /etc/xdg/lxsession/LXDE/autostart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get update | |
$ sudo apt-get upgrade -y | |
$ sudo apt-get install chromium x11-xserver-utils unclutter xvkbd -y | |
$ sudo hostname transit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql.server start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
launchctl unload -w io.redis.redis-server.plist | |
# do stuff, replace .rdb in /usr/local/var/db/redis/ | |
launchctl load -w io.redis.redis-server.plist |