Skip to content

Bram Esposito

  • archive
  • photos
  • now
  • about me

tech

photos

blog roadmap

  • meeting

    Written on December 13, 2010 by Bram Esposito in photo · 1 words · 1 min read

    Bowling Stones Wemmel
    meeting

    meeting

    Read more: meeting
  • Convert php Arrays to Objects

    Written on August 5, 2010 by Bram Esposito in Uncategorized · 90 words · 1 min read

    In: array, object, php

    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);
    	}
    }
    

    from

    Read more: Convert php Arrays to Objects
  • import your mail to Gmail

    Written on February 3, 2010 by Bram Esposito in Uncategorized · 97 words · 1 min read

    In: Gmail, IMAP

    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.

    Read more: import your mail to Gmail
  • Career switch

    Written on February 3, 2010 by Bram Esposito in Uncategorized · 22 words · 1 min read

    In: career, thesedays, toughdecision, VUB

    Feeling sorry for leaving my new friends at #thesedays, Had a hard time deciding but I’m joining the #VUB. #career #toughdecision

    Read more: Career switch
  • Written on January 13, 2010 by Bram Esposito in Uncategorized · 7 words · 1 min read

    (22b) @twunch I’ll be there!

    Read more: untitled post 132
  • Written on January 11, 2010 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

    Read more: untitled post 133
  • Written on January 11, 2010 by Bram Esposito in Uncategorized · 13 words · 1 min read

    ok, we weten ondertussen dat ze bij #thesedays appelbollen eten. #delenofzwijgen (via @dipfico)

    Read more: untitled post 134
  • Written on January 9, 2010 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

    Read more: untitled post 135
  • Written on January 8, 2010 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)

    Read more: untitled post 136
  • Written on January 6, 2010 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)

    Read more: untitled post 137
←Previous Page
1 … 69 70 71 72 73 … 76
Next Page→
Jul
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May

Activity grid of posts to this website. Hover a square to see the date.

B35 logo

Bram Esposito

Designer ~ Hacker ~ Dreamer

  • archive
  • photos
  • now
  • about me
  • on Mastodon
  • on Github
  • on Last.fm

© 2025 Bram Esposito – rss feed – find me on mastodon