-
Pet Projects
Category Archives: Uncategorized
Note: I’m posting this for myself so that I can refer to it in the future. $cat_id =get_cat_id(’Uncategorized’); $query = new WP_Query(’cat=’.$cat_id.’&year=’.$year.’&monthnum=’.$month.’&day=’.$day); $image = false; while ( $query->have_posts() ) { $query->the_post(); the_title(); $image = wp_get_attachment_image_src(get_post_thumbnail_id($query->ID)); echo ‘<a href="’.$image[0].’">’; } More … Continue reading
Using Skeleton (http://www.getskeleton.com), I managed to come up with a “minimized” WordPress theme. What is Skeleton? Skeleton is a small collection of CSS & JS files that can help you rapidly develop sites that look beautiful at any size, be … Continue reading
I don’t usually post news that are already posted from other sites unless the news is useful to me (I post it here so that I can search for later on – sort of like a bookmark) or it interests … Continue reading
I have been using Zend Framework for a few months now, and I really find the E_ALL|E_STRICT set in the bootstrap file really neat. See sample code below: error_reporting(E_ALL|E_STRICT);echo $var; //display an unset variable. A notice will appear. //using … Continue reading
Lately, I have not been keeping track of Zend Framework due to my busy schedule. But today, I was surfing their site and found out that the guys from Zend has released a new version of the Zend Framework. The … Continue reading
Haha! Steve Jobs, in your face! Finally, DRM-free legal music downloads – by Amazon. This is certainly better than waiting for someone to seed in Bittorrent downloads *cough* (fucking leechers!)… Can’t wait to buy old tracks – these things are … Continue reading
A nice set of free (as in free beer) icons. Click here.
A very interesting blog post from khankennels.com … sending a POST message and getting its results. We could do it using cURL or sockets – but why work that hard. Being lazy does have its advantages after all. I found … Continue reading
The page deals with the following: How to suppress auto-rendering: This is useful when you have an action that handles AJAX Requests. Helper Paths: When you want to specify different helper found in different modules/controllers. Sample Custom View Helper: Where … Continue reading
I have been waiting for this. I’m sure that I will be buying a copy as soon as it is released. Written by Rob Allen and Nick Lo, the book will deal more on “real-world” applications. Manning – the publisher … Continue reading