Lateral Code
A Web Development Blog Focused on Code and Technology
Currently Browsing: Home » 2009 » April
Archive for April, 2009
5 Free PSD To WordPress (or HTML) Conversion
By Karthik Viswanathan on Monday, April 27th, 2009 | Tags: theme, wordpress | 7 Comments »
Due to a few problems with our previous post, we have created a new one with a much better offer. Lateral Code is willing to provide 5 lucky people with a royalty free PSD (Photoshop Display File) to WordPress (or HTML) conversion. All you need to do is send us an e-mail at mail@lateralcode.com OR leave a comment here so we can get in touch.
If you do not yet have your PSD file 100% completed, that’s no problem. We are willing to wait
. Just remember to add a comment or e-mail us as soon as possible. Return back to this post for updates on how many free conversions are left.
Creating A Random String With PHP
By Karthik Viswanathan on Saturday, April 25th, 2009 | Tags: php, tutorial | 4 Comments »
There comes a time when you need to create a random String. It might be for a verification code, a complex password, or something you are developing. You might think that its a boring and manual process. Luckily, this is not true.

Below we present a simple way to create random Strings using PHP. All you need is one function with a few lines of code. Let’s begin…
Regular Expressions
By Karthik Viswanathan on Thursday, April 16th, 2009 | Tags: perl, tutorial | 11 Comments »
How many times have you had to dig through a long, confusing string for information? This has been a common problem for years. What’s the solution? Regular expressions.
What are regular expressions? Well..

Now that you’ve seen that… guess why so many people do NOT program in Perl?
To put it very simply, regular expressions are strings that search for patterns. Patterns can be a few letters or enormous strings with many wild cards. In this tutorial, I will outline some basics of regular expressions (also known as regexes).
WordPress Categories
By Patrick Lin on Thursday, April 16th, 2009 | Tags: wordpress | No Comments »
Recently, I worked on a WordPress-powered site that required the category pages to show links to the first level of subcategories and the posts filed in the category but not the subcategories themselves.
I couldn’t find any adequate documentation, so I’m putting this here for posterity:
Popular Twitter Links
By Karthik Viswanathan on Wednesday, April 15th, 2009 | Tags: design, ideas | 2 Comments »
Many of you may have noticed our Popular Twitter Links section on our homepage. It is a new feature we’ve recently added.