URI decode script

Ever seen a URI like "http%3a%2f%2fklo-2k.spaces.live.com%2fdefault.aspx"? Wish you can decode it or paste it into your address bar? Well, I’ve got just the script for you:



# Idea from http://www.linuxquestions.org/questions/linux-software-2/bash-scripting-pipe-input-to-script-vs.-1-570945/#post2998640
if (( $# > 0 )); then
	param=$1	# Read from 1st parameter
	param=$(cat)	# Read from pipe

eval "echo $(echo $param|sed -e "s/&/\&/Ig" -e "s/%([a-z0-9][a-z0-9])/$'\x1'/Ig")"

Call it "uridecode", chmod +x it, then you can do something like:

firefox $(uridecode http%3a%2f%2fklo-2k.spaces.live.com%2fdefault.aspx)

Nice eh!?


A moving metaphor from “Bones”

Here’s a rather moving metaphor from the season 4 finale of "Bones" – "The End In The Beginning":

You love someone, you open yourself up to suffering, that’s the sad truth.

Maybe they’ll break your heart, maybe you’ll break their heart and never be able to look at yourself in the same way. Those are the risks.

You see two people and you think they belong together. But nothing happens. The thought of losing so much control over personal happiness is unbearable.

That’s the burden. Like wings, they have weight, we feel that weight on our backs but they are a burden that lifts us. Burdens that allow us to fly…

Wouldn’t it be nice if two people can love each other unconditionally in the first place; how there wouldn’t be the barrier that erects itself automatically to protect them from any potential hurt, how they can share their thoughts and feelings in complete freedom, without the fear of being judged or misunderstood, for their love for each other is unconditional – like the love God has for us and the freedom we have in our prayers to God.

Yeah, I guess "that’s the sad truth" about love between human beings. But still, it’s nice to be able to finally confirm that that Brennan really loves Booth, just like in Futurama when we get confirmation that Leela loves Fry.