TFL.GOV.UK and mozilla quick search

If you want to bookmark a  quick mozilla search from your house to another postcode you can use this URI :

just change the DESTINATION and ORIGIN_POSTCODE to %s if you like or make it as static bookmark.

Generating md5 encrypted password for chpasswd

If you want to generate properly encrypted password to feed to chpasswd, the most easier and proper way is to do that from command line :
[code lang=”bash”]
echo "encryptedpassword"|openssl passwd -1 -stdin
If you want to generate in pure python you can do it like that :
[code lang=”python”]
def md5crypt(password, salt, magic=’$1$’):
import md5
m =
m.update(password + magic + salt)

# /* Then just as many characters of the MD5(pw,salt,pw) */
mixin = md5.md5(password + salt + password).digest()
for i in range(0, len(password)):
m.update(mixin[i % 16])

# /* Then something really weird… */
# Also really broken, as far as I can tell. -m
i = len(password)
while i:
if i & 1:
i >>= 1

final = m.digest()
# /* and now, just to make sure things don’t run too fast */
for i in range(1000):
m2 = md5.md5()
if i & 1:
if i % 3:
if i % 7:

if i & 1:

final = m2.digest()

# This is the bit that uses to64() in the original code.
itoa64 = ‘./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz’
rearranged = ”
for a, b, c in ((0, 6, 12), (1, 7, 13), (2, 8, 14), (3, 9, 15), (4, 10, 5)):
v = ord(final[a]) < < 16 | ord(final[b]) << 8 | ord(final[c]) for i in range(4): rearranged += itoa64[v & 0x3f]; v >>= 6

v = ord(final[11])
for i in range(2):
rearranged += itoa64[v & 0x3f]; v >>= 6

return magic + salt + ‘$’ + rearranged


You need to feed it up with a salt, like this :
[code lang=”python”]
def generate_salt(count):
import random, string
char = string.ascii_letters + string.digits + string.punctuation.replace(‘:’, ”)
return string.join(map(lambda x,v=char: random.choice(v), range(count)), ”)

Back in Sydney

It has been since 2 weeks I came back from my sister wedding. It has been a really good holiday as well under the sun. Spending a day in Dubai and 2 days in Bangkok was cool as well.

The come back is much harder thought. I did not feel the Jet but I think the change of the temperature made me weaker in my body. Hopefully sun is coming in Australia soon (still sunny theses day thought) and the beautiful days will be back.

On another good news, Noah and Marie are coming 15 of September and going to spend 1 month and half here.

Here you can watch the pictures of the wedding :

and some picture of that travel :

From Australia to Jerusalem via Jordan

I have finally arrived to Jerusalem after 30 hours of travel going via Jordan.
It has been a long and tirering Journey here is some highlight of it :

  • In the plane i meet a dude which i am playing soccer with every Sunday. It’s pretty amazing to make some meeting like that, how many chances there is that
    i meet this person in the same plane as me. The other funny thing is, that is going to be the same time as me in Dubai.
  • In Dubai i meet a french girl from the 16e arrondisement in Paris. Never seen a posh girl coming from this area of paris traveling by herself. Pretty nice person
  • I was late for my plane in Dubai so i had the speaker calling me at the airport in loud with my names. And i was trying to don’t make myself remarked.
  • Watching Fashion TV on the plane with catwalk of arabic girls is pretty awesome, never seen arabic gilrs from that humm angle.
  • When arrived at Amman Airport i was thinking that having the names Chmouel and Reouven was going to be trouble. But in fact it was pretty straightforward.
  • Since i went straight to the south of Jordan i had to take the bus, firstable i lost myself trying to find the bus station. I finally arrived after walking all over the city
    with my backpack under the sun. Funny thing i had to wait under the sun for 3hours until the next bus was coming for Aqaba. After that i slept all over the
    bus ride.
  • Decided to go straight from Aqaba to the border. Nothing special here except that i spent some good 20minutes trying to figure out where i need to get
    my passport stamped.
    Walking between the Jordanian and Israeli border is weird its a huge alley with big electric fence all over.
  • Arrived to Eilat it was too late to take a bus to Jerusalem. So i went to the taba hostel, same hostel i stayed 2 years ago. Could not sleep because
    of the jetlag so i went having a beer with an American and Israel guys. There is a lot of teenagers around here, and they all dressing like going to a
    New York nightclub on a Saturday night. I find weird as well some young girls of 16/18 having a boob-job.
  • No sleeping at all that night and took the bus at 7 to Jerusalem, slept all over the bus ride.
  • Finally here with all my sisters brother and parents, it’s pretty cool to be with everybody since it has been a long since we did not see each others.

Going over Israel

Tuesday i will fly from Sydney, Australia to Jerusalem via Jordan.

For a lot of people it does not look it is the right time to get there but i am sure it all going to be fine.

As my experience when people say ”don’t go to a country” it is exactly the right time to get to the country.

I will try to keep updated here of my travel.