Serverless chat to reduce office distance

This idea comes out for an old university-time idea: to write a serverless chat application. Of course, I’m aware of the complications and the problems that using Broadcasting could create, so this problems would be took in consideration by design. But why now? I was thinking of a way to reduce the ā€œoffice distancesā€: making easy to connect with a person who works in your own office. I know, it sounds a bit ā€œcreepyā€ to depend on an application to do that. After all you could just stand up and go to the colleague’s desk. And that’s what I’d normally do: nothing impossible. ...

January 31, 2010 Ā· 3 min Ā· 470 words

Git-over-SSH through Socks 5 Proxy on Windows

Because of my work, I use crappy M$ Windows in my office. And we are behind a bidirectional firewall. So, how do you do if you need to pull/push code with Git-over-SSH in this scenario? You need a Socks 5 that passes the firewall, and some scripting. First, you need to install: Git on Windows - http://code.google.com/p/msysgit/ Connect.c - http://bent.latency.net/bent/darcs/goto-san-connect-1.85/src/connect.html Then, you need a script that connects to the Socks 5 server. Like: [sourcecode lang=ā€˜bash’] #!/bin/sh ...

August 13, 2009 Ā· 1 min Ā· 200 words

Enable Tethering on iPhone 3.0

I found this page that sends you via email the right ā€œProfileā€ for iPhone 3.0 to enable tethering. No Jailbrake or Unlocking required: it just works. After you install the profile, enable Tethering and follow the instructions on the phone. If you decide to use Bluetooth, after you pair the device with your laptop, just configure it as ā€œnetwork portā€ (on Mac it will be almost automagic!). Performances are pretty good, I must say. ...

June 15, 2009 Ā· 1 min Ā· 76 words

Browser Adaptive CSS with AppEngine

As I said, I’m doing some stuff with Google AppEngine. And, of course, I’m facing the usual problem of Browser Incompatibility: Browser Incompatibility ;-) =Browser Incompatibilities: the Most Common Problem= The most common problem for Web Site developers is the fact that every browser treats HTML Tags, CSS and Javascript in it’s own way. This Recipe tries to address one of the problem I faced the most: having a slightly different CSS for every Browser. =The Usual Solution= The usual solution is to load every time a different CSS depending on the Browser. But this solution has some side effects: ...

September 21, 2008 Ā· 1 min Ā· 190 words

Personalize your $PS1

Fancy $PS1 setting The code to make the Bash prompt looks like mine is (~/.bashrc): 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 case $TERM in xterm*|rxvt*) TITLEBAR='\[\033]0;\u@\h:\w\007\]' ;; *) TITLEBAR="" ;; esac; PS1="${TITLEBAR}\n\[\033[0;0m\][\033[0;32m\]time: \ \[\033[0m\]\[\033[1;31m\]\t\[\033[0m\]\[\033[0;0m\]]-\ [\[\033[0m\]\[\033[0;32m\]host: \[\033[0m\]\ \[\033[1;31m\]\h\[\033[0m\]\[\033[0;0m\]]-\ [\[\033[0m\]\[\033[0;32m\]user: \[\033[0m\]\[\033[1;31m\]\u\ \[\033[0m\]\[\033[0;0m\]]-[\[\033[0m\]\[\033[0;32m\]bash: \ \[\033[0m\]\[\033[1;31m\]\v\[\033[0;0m\]]\n\ \[\033[0;0m\][\[\033[0;32m\]cwd: \[\033[0m\]\[\033[1;31m\]\w\ \[\033[0m\]\[\033[0;0m\]]# " Thanks to Bash Prompt HOWTO.

April 21, 2008 Ā· 1 min Ā· 63 words

Loop Rebooting iPhone: how to fix it

I was playing with my Jailbroken iPhone when I decided to install OpenSSH and login. 1 minute after I discovered there is a password I should use to login: for user root is alpine for user mobile is dottie After I connected to my loved iPhone trough SSH (don’t be impatient: it takes a minute or two for it’s ARM cpu to generate the Keys), I changed straightaway the password for both the above named users (using just passwd). ...

April 2, 2008 Ā· 2 min Ā· 262 words

iSync and SonyEricsson Symbian/UIQ 3.0 finally speaking

Thanks God, now I can [en:iSync]!!! As someone probably remember, I switched from an [en:Nokia E70] to a [en:Sony Ericsson W950i]. In the beginning, it was not possible to synchronize my [en:iBook] with my new smarth-phone because of a ā€œstrangeā€ implementation of the [en:SyncML] protocol on Sony Ericsson/UIQ 3.0 phones. A lot of people has tried to figure out how to do it (Google for it), failing! But now [en:Sony_Ericsson] has finally released the relative plugins: ...

August 14, 2007 Ā· 1 min Ā· 121 words