Skip to content

Instantly share code, notes, and snippets.

View lexruee's full-sized avatar
👻
tinkering

Alexander Rüedlinger lexruee

👻
tinkering
View GitHub Profile
@lexruee
lexruee / bluetooth raspberry-pi
Created January 22, 2015 05:12
install bluetooth and pybluez
sudo apt-get update
sudo apt-get install python-pip python-dev ipython
sudo apt-get install bluetooth libbluetooth-dev
sudo pip install pybluez
class Fixnum
def +(a)
self - a
end
end
//remove punctuation
System.out.println("3.5.".replaceAll("\\p{Punct}*$",""));