Skip to content

Instantly share code, notes, and snippets.

View scheibo's full-sized avatar

Kirk Scheibelhut scheibo

View GitHub Profile
scheibo@mac$ rm -rf ~/.rvm/archives/ruby-1.9.1-p378.tar.* ~/.rvm/src/ruby-1.9.1-p378
scheibo@mac$ rvm install 1.9.1 --trace
install 1.9.1 --trace
rvm 1.0.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
2011-01-09 00:07:36.621 Synergyd[9429:207] NOTE: accepted client connection
2011-01-09 00:07:40.820 Synergyd[9429:207] NOTE: client "nix" has connected
2011-01-09 00:07:56.010 Synergyd[9429:207] NOTE: client "nix" is dead
2011-01-09 00:08:03.698 Synergyd[9429:207] NOTE: accepted client connection
2011-01-09 00:08:04.331 Synergyd[9429:207] NOTE: client "nix" has connected
2011-01-09 00:08:32.018 Synergyd[9429:207] NOTE: client "nix" is dead
2011-01-09 00:08:34.758 Synergyd[9429:207] NOTE: accepted client connection
2011-01-09 00:08:34.822 Synergyd[9429:207] NOTE: client "nix" has connected
2011-01-09 00:10:28.851 Synergyd[9429:207] NOTE: client "win" is dead
2011-01-09 00:10:29.814 Synergyd[9429:207] NOTE: accepted client connection
@scheibo
scheibo / Pasting in vim urxvtc arch linux
Created January 12, 2011 02:45
How to paste in vim
shift + middle click!
when set mouse=a is on, vim grabs all the mouse action, so in order to let X in on the fun use shift. in order to copy something from one part of the document use shift+highlight, and in order to paste, enter insert mode, toggle paste mode and shift+middle click. Very fun, quite a few steps to get a handle on though.
Alternatively, use 'set mouse=' (no a) to turn the mouse off and then just the X mouse will be functioning in vim. no shift is required, but make sure to still be pasting in insert mode and with paste on (without paste, autoindent ruins your day, without insert mode the stuff you're pasting will be interpreted as commands)
Finally, turn off bullshit flow control with
stty -ixon in your bashrc. Then you can properly get Ctrl+{S,V,X,Z,C} etc working but BE IN COMMAND MODE.
@scheibo
scheibo / gist:775614
Created January 12, 2011 02:57
UW eduroam network
We couldn’t find that file to show.
@scheibo
scheibo / typescript
Created January 14, 2011 18:04
typescript from mysql error on Ubuntu
Script started on Fri 14 Jan 2011 05:51:00 PM UTC
root@scheibo# vim dpkg -l | grep mysql
ii libdbd-mysql-perl 4.011-1ubuntu1 A Perl5 database interface to the MySQL data
ii libmysqlclient16 5.1.37-1ubuntu5.5 MySQL database client library
ii mysql-client 5.1.37-1ubuntu5.5 MySQL database client (metapackage depending
ii mysql-client-5.1 5.1.37-1ubuntu5.5 MySQL database client binaries
ii mysql-common 5.1.37-1ubuntu5.5 MySQL database common files (e.g. /etc/mysql
iU mysql-server 5.1.37-1ubuntu5.5 MySQL database server (metapackage depending
iF mysql-server-5.1 5.1.37-1ubuntu5.5 MySQL database server binaries
ii mysql-server-core-5.1 5.1.37-1ubuntu5.5 MySQL database core server files
@scheibo
scheibo / patterns
Created January 14, 2011 21:42
file and folder patterns for textmate
!(/\.(?!htaccess)[^/]*|\.(tmproj|o|pyc|swf|mp3|jpeg|gif|png|log)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
!.*/(\.[^/]*|tmp|log|vendor|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
@scheibo
scheibo / gist:787043
Created January 19, 2011 22:44
permissions
We couldn’t find that file to show.
@scheibo
scheibo / gist:808676
Created February 2, 2011 23:21
Facebook Team email
The Facebook Team to me
show details 6:18 PM (1 minute ago)
Hi,
We are aware of the problem that you described and apologize for the inconvenience. Unfortunately, we do not have a specific date for when this issue will be resolved but hope to fix it as soon as possible. We appreciate your patience.
Thanks for contacting Facebook,
The Facebook Team
@scheibo
scheibo / gist:814013
Created February 7, 2011 04:57
boogle ideas
ncurses
fiber for dict load and solve
cleanup code (refactor)
track stats - full dump of boards, words typed, (incorrect), words missed
what words are most commonly missed?
what words are you 'sloppy' about:
ie/ doom and mood - can always get reverse.
@scheibo
scheibo / gist:815561
Created February 7, 2011 23:55
missing
system: 108148 432592 3293848 missing
12dicts: 1011