Skip to content

Instantly share code, notes, and snippets.

View francisdb's full-sized avatar
💾
undefined

Francis De Brabandere francisdb

💾
undefined
  • Ghent, Belgium
View GitHub Profile
@francisdb
francisdb / androidlib.sh
Created March 21, 2012 13:37
Setting up a android (library) project for building with ant
android update project --path .
android update lib-project --path .
@francisdb
francisdb / androidupdate.sh
Created March 22, 2012 15:52
Update android sdk on headless system
android update sdk --no-ui
@francisdb
francisdb / gist:2644246
Created May 9, 2012 12:44
Playframework 2 eclipse sources
if you want to grab the available source jars (this will take longer and it’s possible a few sources might be missing):
[My first application] $ eclipsify with-source=true
from: http://localhost:9000/@documentation/IDE
@francisdb
francisdb / gist:3160945
Created July 22, 2012 20:20
Run maven surefire tests in debug mode
mvn -Dmaven.surefire.debug test
@francisdb
francisdb / gist:3216279
Created July 31, 2012 11:13
Set maven versions for whole project without generating backup poms
mvn versions:set -DnewVersion=2.4.0-SNAPSHOT -DgenerateBackupPoms=false
@francisdb
francisdb / gist:3314021
Created August 10, 2012 12:58
Scala list conversion
import scala.collection.JavaConversions._
@francisdb
francisdb / gist:3440269
Created August 23, 2012 18:53
Mount ext2 in mac
install these osxfuse & fuse-ext2
http://osxfuse.github.com/
http://alperakcan.org/?open=projects&project=fuse-ext2
sudo mount -t fuse-ext2 /dev/disk1s1
@francisdb
francisdb / gist:3482091
Created August 26, 2012 17:56
Setup git to use color
git config --global color.ui true
@francisdb
francisdb / gist:3497313
Created August 28, 2012 11:15
Fix locale issues when connecting to ubuntu server from mac (iTerm)
add this to ~/.bash_profile
export LANG="en_US.utf8"
export LANGUAGE="en_US.utf8"
export LC_ALL="en_US.utf8"
@francisdb
francisdb / gist:3497329
Created August 28, 2012 11:18
macosx bash (iTerm) tweaks
edit ~/.bash_profile
# coloured ll
alias ls='ls -aFhG'
alias ll='ls -l'
# prompt
export PS1="\u@\h\w$ "
export EDITOR='nano'