Class example to get your balance, and to send an sms using the Clickatell API. No validation happens on the data you submit. This will need to be handled by you. (Maybe I’ll add extra code for that later)
Class example to get your balance, and to send an sms using the Clickatell API. No validation happens on the data you submit. This will need to be handled by you. (Maybe I’ll add extra code for that later)

Some of you already know it, but a few weeks ago I’ve created a snippet library with a picky selection of usefull snippets focused on web development: PHP, JavaScript, CSS, htaccess… Approximately one new snippet is published every day. Users are welcome to submit their own snippets.
→ Visit CatsWhoCode snippet library

Snipplr is probably the largest code snippet repository available on the internet. Since 5 years, they have published thousand of pieces of code. Some snippets are super useful, some other not so, but there’s a strong chance that you’ll find what you need on a website with so many snippets.
→ Visit Snipplr

Another site of mine, where I publish only WordPress related snippets since 2009. More than 300 snippets are available, so don’t miss it if you work with WordPress!
→ Visit WPRecipes

Are you into PHP? If yes, you’ll for sure love PHP Snips, a PHP-only code snippets library. Hundreds of snippets are freely available, most of them are very useful and well coded.
→ Visit PHP Snips

DZone Snippets is a public source code repository, hosted by popular developer website DZone. Thousands of snippets in more than 25 languages are available. As it is 100% user powered, quality is very mixed: some snippets are useful and well coded while some other are a complete waste of time.
→ Visit DZone code snippets

Currently 143 quality code snippets, covering PHP, C#, Visual Basic, JavaScript, and more. A good resource to keep in your bookmarks!
→ Visit Jonas John snippet library

Code Beach is a central repository where Mac developers can share pieces of useful code in all programming languages used on Mac: Objective C, Ruby, C, C++, Python… Don’t miss it if you’re a Mac developper!
→ Visit Code Beach

With more than 18,000 code snippets, there’s a strong change that you’ll find what you need on CodeKeep. The site have compiled snippets in various languages such as C#, C++, ActionScript, ASP, VB and more.
→ Visit CodeKeep

Using the poipular wiki formula, Code Codex is a website where you can find and add lots of snippets in languages like C, C++, Java, Perl, and more.
→ Visit Code Codex
I had a nerdy conversation on what might be the next mainstream framework for building web products, and in particular whether the node.js community would ultimately create this framework, or if node.js will just be a fad. This blog post is a bit of a deviation from my usual focus around marketing, so just ignore if you have no interest in the area. Read more →
The PHP language is widely adopted for many web applications like WordPress. As powerful as PHP is it does have some drawbacks, but one of the my favorite features of PHP is that it will display errors right on the web page. The new toolbar that was introduced in WordPress 3.3 interferes with this functionality. The toolbar has a fixed absolute position which covers the first few lines of PHP errors. Read more →
Recently I realized I had a problem. I’ve been coming across a lot of very useful bits of code that you can put into your theme’s functions file.
That may not sound like a problem, but it is. Because these files are tied to your theme, if you ever want to use them again on a different theme, you have to go digging around for the bits of code and then manually add them again to your new theme.
