Skip to content

Instantly share code, notes, and snippets.

avrdude -q -q -pm168 -cstk500v1 -P/dev/ttyUSB0 -b19200 -D -F -Uflash:w:file.hex:i
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAnU/bhkAQZo6UwQJDIYU5/8e1rqGqJa1XLrMU73C970zYkIey+5aCNJYqo2oYulXgfjCDmBQNwQyrAR5zbGKJwxZY1CP6yzWxBPZNQ9BpevF2SEt1ps4LFDpvzHR2KCxJfORYqoXT3iVeejwB9gV51yuuDm4F23sGLVTbpM6IBJTpmJl2JsDYa/to6FbLpovWw+rIX0+f3LbqriXSjItK3EZehvapQxzDyoGROIynxSx7SlTfBK043Az4L2VcI3+5UmlEbGXL1s+Q5AkRTfr+y+CWlX65WzVtwoiiPKRajAaiifTAbBKaxtJ6s7A0+PGvEv1P7w57mQqxYvoDvnWqAQ== psanford@Peters-MacBook-Pro.local
#disable nautilus desktop
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop false
#kill stupid sounds
sudo aptitude remove ubuntu-sounds
#set wm
echo "export WINDOW_MANAGER=/usr/bin/fvwm" >> ~/.gnomerc
@psanford
psanford / xmodmap
Created May 1, 2011 20:31
macbook xmodmap
! xmodmap for my macbook pro (7,1) running linux
! command should act as meta
! caps and option sould act as super
! command
keycode 133 = Meta_L
! option
keycode 64 = Super_L
!capslock
keycode 66 = Super_L
@psanford
psanford / keyboard-init.sh
Created May 8, 2011 18:41
keyboard initialization via setxkbmap
#!/bin/sh
#set caps to super
setxkbmap -option caps:super
#swap command and option for apple keyboard
setxkbmap -device `xinput list | grep -o -P 'Apple Internal Keyboard / Trackpad\s+id=\d+' | grep -o -P '\d+'` -option altwin:swap_lalt_lwin
@psanford
psanford / gist:1083918
Created July 15, 2011 02:28
keyboards
http://deskthority.net/viewtopic.php?f=2&t=98&ok
http://www.overclock.net/keyboards/491752-mechanical-keyboard-guide.html
http://humblehacker.com/keyboard/
@psanford
psanford / nb-js.el
Created May 15, 2012 05:00
nb-js.el
(require 'json)
;; js2 settings
(setq js2-mirror-mode nil)
(setq js2-mode-indent-ignore-first-tab t)
(setq js2-strict-inconsistent-return-warning nil)
;;js settings (for json)
(setq js-indent-level 2)
@psanford
psanford / check_ciphers.sh
Created February 14, 2013 18:39
Print out supported ciphers for a given host.
#!/bin/bash
# OpenSSL requires the port number.
SERVER=localhost:49164
DELAY=0.1
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g')
echo Obtaining cipher list from $(openssl version).
for cipher in ${ciphers[@]}
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
Option "TapButton3" "2"
Option "ClickFinger3" "2"
Option "HorizTwoFingerScroll" "1"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html

Mirabox notes

THE LOCATION OF THIS PAGE HAS MOVED!

The new location is https://github.com/psanford/mirabox. I've turned it into a full git repository so that it is easier for others to contribute. This gist will not be updated anymore and I won't be checking the comments. Please open an issue or a pull request on the git repo.

OLD CONTENT:

There's not a lot of good documentation about Globalscale Technology's [Mirabox][1] so this page is intended to document everything I know about it. My goal is to run a modern kernel and bootloader on the Mirabox.