Limit Download Speed Using PHP

Today’s featured PHP snippet is from Jonas John and it’s a simple and helpful solution for controlling a file’s download rate. This is very beneficial for those who have limited bandwidth. The code is still a bit rough around the edges and could use a bit more polishing. Like for one, the execution time doesn’t [...]

Continue Reading →

Creating a Beautiful CSS3 Image Gallery with Dynamic Fading Caption Text

There are many tutorials on how to create image galleries and one of these that I found easy to follow is by Jake of Vandelay Design. His creation of making a standard-compliant HTML/CSS3 image gallery with dynamic fading caption text is a great addition to your design projects. In his tutorial, the CSS3 part is [...]

Continue Reading →

Selecting First 10 Items of Specific Class Using jQuery

Here’s a very informative technique using jQuery to select the first 10 items of specific class. This tutorial was created by web developer Sam Deering, who is also the man behind jQuery4u. 1. First thing to do is get the first and last elements: var firstSpan = $(‘span.class:first’), lastSpan = $(‘span.class:last’); 2. Get all the [...]

Continue Reading →

Automatically Hide Email Addresses From Spambots

Spambots are one of the most annoying things you have to deal with when running a website or blog. They scan your site for email addresses just so it can be used for sending out spam. Well, thanks to a certain Stian Jacobsen, he was nice enough to share this nifty snippet to help you [...]

Continue Reading →

How to Censor Words Using PHP

Here’s a pretty neat and simple PHP snippet from PHPSnips that offers you a way to censor any word and then replace it with another word or string. Just provide a list of words you want censored out and let the code do the rest. This is definitely useful for BBS or forum sites, chat [...]

Continue Reading →

Add A Full Image Background To Your WordPress Login Screen

There are tutorials out there that teach you how you can have your own custom image logo in your WordPress login page but do you also know that you can do the same to your login page’s background? Adam Wadsworth of CatsWhoCode has put up together this nice snippet that will allow you to do [...]

Continue Reading →

Single Page App Book

A single-page app (aka single-page interface) is an application that fits on a single web page, making it simpler and easier for the user to explore its functions. Today I’m featuring Mixu’s single page app book which contains focusing on discussing patterns, implementation choices and decent practices in creating single page apps, all of which [...]

Continue Reading →

Non-Recursively Deleting A Folder In PHP

In PHP, you can’t just delete a folder using rmdir unless the folder’s empty. You can, however, do so using rmdirr function, wherein it will remove both the folder and its contents recursively. But using this [recursive] method opens up the possibility for PHP to segfault/crash, specifically and especially if you have deeply nested directories [...]

Continue Reading →

How to Create a Cool Neon Text Effect

Michael Kruiswijk of PSD Tuts+ delivers a very nice tutorial on how you can create a cool neon text effect. The techniques used will definitely help you on your creative processing of your design projects. Before you start, one thing you’ll need is a brick wall texture such as this one. After downloading it, make [...]

Continue Reading →

Printing Messages Backwards With Python

Today’s featured Python script is a little snippet created by John Santiago Jr. just for fun but of course you might find his code very helpful. This rudimentary script will simply print the message inputted by the user backwards using either string slicing or list() function. So if you’re feeling like going a little ‘Da [...]

Continue Reading →

Page 5 of 40« First...«34567»...Last »