Pedro Assunção

Archive for July, 2009

WordPress: ‘publish_post’ is also triggered on subsequent post editions

If you ever dug into the wordpress plugin world you know that you can create some hooks on the wordpress flow to allow execution of your functions when something interesting happens. One of those hooks is the ‘publish_post’, which will be triggered when the post is published and – surprise – also everytime the post [...]

SSH login without password (authorized_keys)

I know that a lot of people covered this in the past but, since I also use this blog as a vault for tips that I might forget in the future, here’s how to make ssh not require you to enter a password when connecting to another machine: Step 1: Generate your public and private [...]

The missing bungee jumping video

A while back I decided to try Bungee jumping. Even though I had already finished my Accelerated Free Fall (AFF) skydiving course I figured it would be another interesting experience. The feeling of falling from a static object is a little different than falling from a perfectly fine airplane, as you feel a bit more [...]

Changing default browser/email client in OSX

I always forget this, so I might as well write it down. According to Apple’s support pages: Choosing another default email application Open the Mail application (/Applications/Mail). From the Mail menu, choose Preferences. Click the General button. Choose your default email client from the pop-up menu. Choosing another default Web browser Open Safari (/Applications). From [...]

New episode of Two Guys and a Beer (77)

A new episode of your favorite show is now available. Audio version can be found here. Video version, as usual, here. Here’s the embedded video version for your viewing pleasure: Posted via web from nocivus’ ramblings

How to export HD video for the web

As some of the people who know me are aware, I recently started a video podcast with my friend Luis Soares (by the way, you should follow him on twitter here) called Two Guys and a Beer. This meant that we would have to do some video editing in order for the thing to look [...]

Migrated the blog to wordpress

Yes, once again. I know, I have no life I’m curious to see how long WordPress will last, before I get bored and try to implement everything by hand again. But, the night is over and tomorrow there is a lot of jumping to do, in Evora – Portugal. Hopefully I can get someone to jump [...]

I killed an ant today.

I killed an ant. It was dwelling around in my living room while I was watching TV. I had noticed it before, as it was considerably larger than your typical ant. Tried several times, with no success, to get it to move up to something I would use to take it outside, where its world [...]

I killed an ant today

I killed an ant. It was dwelling around in my living room while I was watching TV. I had noticed it before, as it was considerably larger than your typical ant. Tried several times, with no success, to get it to move up to something I would use to take it outside, where its world [...]

New episode of Two Guys and a Beer (75)

That’s right, episode 75 is now online. Featuring a Portuguese friend and colleague developer, this is probably the worst episode ever. By the way, those two pieces of information are unrelated, no disrespect Daniel This week we feature: – A lot of porn; – Echolocation; – Pirate bay; – Collecta; – Swedish girls allowed to [...]