9.10.2008
Unicode Snowman
☃
15:50 | Misc | lien permanente
Unless otherwise expressly stated, all original material of whatever nature created by Andreas Jaggi and included in this weblog is licensed under a Creative Commons License.
As EPFL is migrating all its E-Mail services to Exchange, lets use the Exchange functionalities of the iPhone/iPod touch.
Here's the configuration to make it work:
19:59 | Misc | lien permanente
The following definition of an Array works without problems in Safari (and probably Firefox too), but triggers an (legitimate) error in Opera 9.25:
var myArray = [ 1.2, 2.3, 3.4, ];
The error is triggered by the superfluous comma after the last element of the Array. It may be argued for both behaviors, but I would prefer all Browsers accepting such an Array definition also since in other languages (C, Python, PHP) such a redundant comma does not cause any trouble.
01:15 | Coding | lien permanente
Here's how to upgrade the disk of a MacBook Pro in 45 minutes while keeping all your data/settings/applications:
07:58 | Mac | lien permanente
Qu'en est-il de Noir Désir?
On s'est remis au boulot. On projette d'enregistrer un album durant l'hiver prochain… C'est court, mais on a besoin d'une échéance pour se structurer.
(via)
17:52 | Musique | lien permanente
Right after two nights with 4 hours of sleep in total (Sat Rocks On The Second Floor!), I stumble over this article: Sleep deprivation is not a badge of honor. :-)
15:25 | Misc | lien permanente
Coding Horror: Programmers Don't Read Books -- But You Should
14:23 | Coding | lien permanente
sudo apt-get install kaffeine dvb-utils mercurial linux-headers-$(uname -r) build-essentialhg clone http://linuxtv.org/hg/v4l-dvbcd v4l-dvbsudo makesudo make installIf you're using another flavor of Linux or Ubuntu you may be missing the firmware file, you can get it here.
20:45 | Linux | lien permanente
11:01 | Linux | lien permanente
00:12 | Coding | lien permanente
Mibbit.com provides an IRC webinterface, so you can hang around in your favorite channels with your iPhone/PDA/fridge/whatever.
21:21 | Networking | lien permanente
XSel gives easy commandline access to the X11 clipboard (primary & secondary).
14:27 | Linux | lien permanente
Unix Toolbox, a nice collection of Unix/Linux/BSD commands, may be useful for advanced users.
16:36 | Linux | lien permanente
Python Webserver in 1 line:
python -c "import SimpleHTTPServer; SimpleHTTPServer.test()"
Python Webserver in 15 lines:
import BaseHTTPServer
class WebRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
def do_GET(self):
if self.path == '/foo':
self.send_response(200)
self.do_something()
else:
self.send_error(404)
def do_something(self):
print 'hello world'
server = BaseHTTPServer.HTTPServer(('',80), WebRequestHandler)
server.serve_forever()
21:10 | Coding | aucune commentaire
10:00 | Coding | aucune commentaire
20:14 | Misc | lien permanente
And now, how to un-brick it again:
00:32 | Mac | aucune commentaire
<object type="application/x-shockwave-flash" data="flash.swf" width="100" height="200"> <param name="movie" value="flash.swf" /> </object>
17:12 | Webdesign | aucune commentaire
printf "2002:%02x%02x:%02x%02x::1\n" a b c d
auto sit0
iface sit0 inet6 static
address 2002:uuuu:vvvv::1
netmask 64
gateway ::192.88.99.1ifup sit0Now you can also add AAAA DNS records with 2002:uuuu:vvvv::1 for your domain(s).
16:00 | Networking | aucune commentaire
Instead of learning for the exams, I mess around with strange things:
arkanoid.sed is a breakout-game written entirely in sed. Download the sed-file and use sed -f arkanoid.sed to start the game. (via)
17:18 | Linux | aucune commentaire
I really, really should have known the * command earlier.
10:40 | Coding | lien permanente