Monday, October 20, 2008

jianshi.org planned updates

- continuous integration for openmbp (currently rails, java client or native client in the future)
- gitorious setup
- moving this blog to jianshi.org (so i don't waste that domain name)

wtf am i doing. so much to do.

Tuesday, October 14, 2008

Random Annoyance (VLC on OS X)

Fix random crashes -

- Quit the application if it is running
- Delete the VLC folder in /Users/USERNAME/Library/Preferences
- Delete org.videolan.vlc.plist in /Users/USERNAME/Library/Preferences
- Delete org.videolan.vlc.plist in /DRIVENAME/Library/Preferences

Saturday, October 11, 2008

Quicker Rails Setup (Ubuntu)

Install Rails

sudo apt-get install ruby-full
wget http://rubyforge.org/frs/download.php/43985/rubygems-1.3.0.tgz
tar xvzf rubygems-1.3.0.tgz
cd rubygems-1.3.0
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
gem install rails

Install SQLite3
sudo apt-get install sqlite3 libsqlite3-dev
sudo gem install sqlite3-ruby

Wednesday, September 24, 2008

Lightbot

196 commands first try all 12 levels.

Cisco VPN From Ubuntu

sudo apt-get update
sudo apt-get build-dep vpnc
sudo apt-get install libssl-dev fakeroot
mkdir ~/src/vpnc -p
cd ~/src/vpnc
apt-get source vpnc
cd vpnc-*

Edit the Makefile and uncomment 2 lines that have "OPENSSL" in the beginning of the line

dpkg-buildpackage
sudo dpkg -i ../vpnc*.deb

Edit /etc/vpnc/default.conf

IPSec gateway 10.10.10.10
IPSec ID GROUPNAME
IPSec secret ########
IKE Authmode psk
Xauth username johndoe
Xauth password ########

Type "sudo vpnc"

To add foo.com to search path:

sudo echo "foo.com" >> /etc/resolvconf/head

Monday, September 22, 2008

VPS Updates

- rails with passenger
- openmbp deployment space up
- capistrano support for the git code base
- continuous integration with cruisecontrol.rb

Power APT-GET

Compile custom package newer than repos version? No problem. Check this out

git clone git://git.kernel.org/pub/scm/git/git.git

Gets git source.

Git's package in ubuntu is called git-core

This command gets you all the dependencies to BUILD git-core -- sudo apt-get build-dep git-core

Dopeness.