View gist:5b797f6fbf29c4451b94
Nov 27 01:21:43 coreos-2 systemd[1]: Started etcd2.
Nov 27 01:21:43 coreos-2 systemd[1]: Starting etcd2...
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: etcd Version: 2.1.2
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: Git SHA: ff8d1ec
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: Go Version: go1.4.2
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: Go OS/Arch: linux/amd64
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 1
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: peerTLS: cert = /home/core/coreos.pem, key = /home/core/coreos-key.pem, ca = /home/core/ca.pem
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: listening for peers on https://10.132.206.153:2380
Nov 27 01:21:43 coreos-2 etcd2[883]: 2015/11/27 01:21:43 etcdmain: clientTLS: cert = /home/core/coreos.pem,
View BangOpen.vim
" BangOpen ------------------------------------------------------------ {{{
function! BangOpen(arg)
execute 'tabe ' . system(a:arg)
endfunction
command! -nargs=1 BangOpen :call BangOpen(<f-args>)
" }}}
View errors.md

ft6x06 error during compile:

CC [M]  drivers/input/touchscreen/ft6x06_ts.o
drivers/input/touchscreen/ft6x06_ts.c:472:2: error: unknown field 'suspend' specified in initializer
drivers/input/touchscreen/ft6x06_ts.c:472:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:472:2: warning: (near initialization for 'ft6x06_ts_driver.detect') [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:473:2: error: unknown field 'resume' specified in initializer
drivers/input/touchscreen/ft6x06_ts.c:473:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/input/touchscreen/ft6x06_ts.c:473:2: warning: (near initialization for 'ft6x06_ts_driver.address_list') [enabled by default]
View mouselogger
#! /bin/sh
### BEGIN INIT INFO
# Provides: mouselogger
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Adafruit-MouseLogger
# Description: Log mice.
### END INIT INFO
View gist:53a908a096d6ec973b47
brennen@exuberance 15:01:57 /home/brennen/code/adafruit-raspberrypi-linux (rpi-3.18.y-powerswitch) ★ git diff rpi-3.18.y.. drivers/power/rpi_power_switch.c
diff --git a/drivers/power/rpi_power_switch.c b/drivers/power/rpi_power_switch.c
index 049af00..baee336 100644
--- a/drivers/power/rpi_power_switch.c
+++ b/drivers/power/rpi_power_switch.c
@@ -24,9 +24,7 @@
#include <linux/workqueue.h>
-/* the BCM2709 redefines this for us right!
View gist:be88bf813d751a680fbd
pi@raspberrypi ~ $ cat switch.py
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(23, GPIO.IN, pull_up_down=GPIO.PUD_UP)
while True:
input_state = GPIO.input(23)
View checkmail_simple.py
#!/usr/bin/env python
from imapclient import IMAPClient
import sys
import time
DEBUG = True
HOSTNAME = 'imap.gmail.com'
USERNAME = 'your username here'
View checkmail.py
#!/usr/bin/env python
from imapclient import IMAPClient
import time
import RPi.GPIO as GPIO
DEBUG = True
HOSTNAME = 'imap.gmail.com'
View gist:66c9b0c4d4f611453cf8
sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
echo 'export FRAMEBUFFER=/dev/fb1' >> ~/.profile
make sure these are in /etc/modules:
rpi_power_switch
spi-bcm2708
i2c-bcm2708
i2c-dev
stmpe_ts
View dmesg.txt
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.6-v7+ (root@vagrant-ubuntu-precise-32) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 SMP PREEMPT Thu Feb 26 03:18:12 UTC 2015
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B
[ 0.000000] cma: Reserved 8 MiB at 0x3a800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664