Thomas Hambach - Web engineer

September 14, 2007

If meetings were like forum threads

Filed under: random — Thomas Hambach @ 6:20 pm

These guys -and girls- have managed to display what a meeting would look like if it was a forum thread. Absolutely hilarious (because it’s reality!)!

*ponder* why didn’t the creators use this as linkbait?

best self written PHP function. ever.

Filed under: php, snippets — Thomas Hambach @ 5:57 pm

Okay, maybe I’m overrating it, but I still love it for debugging purposes… unless you are using the CLI.

[snippet]
function pre($array)
{
echo ‘<pre>’;
echo print_r($array);
echo ‘</pre>’;
}
[/snippet]

August 31, 2007

random signature

Filed under: free services — Thomas Hambach @ 5:40 pm

Haven’t you always craved for a rotating signature? No? LIAR!

I’ve recently created rotatingsignature.com which allows you to create such a random signature! No longer will you need to withstand those tech-geeks that scold at you for asking how to make a random signature! This system has been monkey-tested and you should have no problem getting your first rotating signature up and running!

Monkey verified

Be sure to double-check your e-mail before saving and -in case you don’t receive it- checking your spam folder for the verification e-mail!

javascript str_replace equivalent

Filed under: javascript, snippets — Thomas Hambach @ 4:47 pm

I needed the equivalent of str_replace in JavaScript and was able to fish up this nifty piece of code! Enjoy.

[snippet]
/**
* str_replace
*
* This function returns a string or an array with all occurrences of
* [search] in [subject] replaced with the given [replace] value.
* If you don’t need fancy replacing rules (like regular expressions), you should always use this function.
*
* @param string search
* @param string replace
* @param string string
*/
function str_replace (search, replace, subject)
{
var result = “”;
var oldi = 0;
for (i = subject.indexOf (search); i > -1; i = subject.indexOf (search, i))
{
result += subject.substring (oldi, i);
result += replace;
i += search.length;
oldi = i;
}
return result + subject.substring (oldi, subject.length);
}
[/snippet]

so clean and so fresh…

Filed under: random — Thomas Hambach @ 4:44 pm

Having fresh content on your site is a must if you want to score in search engines. Most of the world is already aware of that and almost all companies are establishing or have established their own blog(s) and are (exploiting) this new way to strengthen their brand identity, advertise their services and to show the world how awesome they are.

Surely it’s time for me to do the same! Though my portfolio will most certainly show you how -freaking- fantastic I am, I’ll have yet another way to rub it in!

« Newer PostsOlder Posts »

Powered by WordPress