
meeting
Written on by Bram Esposito in Uncategorized · 90 words · 1 min read
Sometimes you need a php Array in an Object or the other way around:
class Utils{
static function array2object($data) {
if(!is_array($data)) return $data;
$object = new stdClass();
if (is_array($data) && count($data) > 0) {
foreach ($data as $name=>$value) {
$name = strtolower(trim($name));
$object->$name = Utils::array2object($value);
}
}
return $object;
}
static function object2array($data){
if(!is_object($data) && !is_array($data)) return $data;
if(is_object($data)) $data = get_object_vars($data);
return array_map('object2array', $data);
}
}
Written on by Bram Esposito in Uncategorized · 97 words · 1 min read
Last week Google introduced the
Google Email Uploader for Mac . It’s an app that lets you upload email from various clients (Mail.app, thunderbird, outlook, eudora, etc) to
Google Apps.
After toying around with the software it warned me it doesn’t support (free) Gmail-accounts.
I was really disappointed until I remembered Gmail supports IMAP. After creating an account for Gmail in Mail.app I was able to drag any message to the Gmail mailbox.
It looks like the Google Email Uploader for Mac offers no more options than a classic IMAP mail client.
Written on by Bram Esposito in Uncategorized · 22 words · 1 min read
Feeling sorry for leaving my new friends at #thesedays, Had a hard time deciding but I’m joining the #VUB. #career #toughdecision
Written on by Bram Esposito in Uncategorized · 7 words · 1 min read
(22b) @twunch I’ll be there!
Written on by Bram Esposito in Uncategorized · 19 words · 1 min read
considering a mobile vikings prepaid Sim card. I mobile vikings still the smartest choice in Belgium?#mobile #iphone #3G
Written on by Bram Esposito in Uncategorized · 13 words · 1 min read
ok, we weten ondertussen dat ze bij #thesedays appelbollen eten. #delenofzwijgen (via @dipfico)
Written on by Bram Esposito in Uncategorized · 25 words · 1 min read
Photoshop CS4 needs a “Scripts panel” to run scripts with just one click. That would save me half the work. #adobe #extendscript #workflow
Written on by Bram Esposito in Uncategorized · 21 words · 1 min read
so the http://youtu.be/WfziwYRBtUA shortening seems to work now?
http://is.gd/5Uy35
http://is.gd/5Uyc7 (cc @atebits)
Written on by Bram Esposito in Uncategorized · 23 words · 1 min read
Idiot Spotter’s Guide, 2nd ed. Entry #142: Subject sees snow and proceeds to deny global warming. Rating: Class A Idiot. (via @aral)