Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

Installing and using Grunt for your daily tasks on Ubuntu

Difficulty: 25 / 50

Although I am more of a PHP guy than a server-side JavaScript fan... I acknowledge the fact that some things are done better when using the right tool for the job.

Minifying JavaScript and compiling LESS files into CSS are two jobs that I do with Grunt because it works flawlessly. In today's tutorial I will show you how you can do that on an Ubuntu Server.

Read Full Article...

How to structure your MySQL database tables for storing custom fields

Difficulty: 25 / 50
chain links

In this tutorial you will learn a little bit about how to store an unknown number of parameters linked to an object in your MySQL tables.

Here's a possible scenario that will help you better understand how this works:

We're assuming that a script imports data about users in a system and the only "known" elements are the userid and username from a table called user. All the other "attributes" that a userid may have are unknown (ex: One user could have gender and hair color, while another could have gender, age, and favorite pet).

Read Full Article...

Still running PHP on Windows XP or Windows 2003 ? Make the switch today

This article is meant as a heads up for all those who are running PHP on Windows XP or Windows Server 2003.

As of PHP 5.5 The PHP Group has dropped support for the above mentioned operating systems. Although I don't see why anyone would run PHP on a Windows machine, I know that there are a lot of servers out there that function with these technologies.

Read Full Article...

Create a tar ball of your recent github commits with PHP

Difficulty: 35 / 50

In this tutorial I will show you how to use the "git log" command to create a list of files that have been modified in the last X number of git commits and pack them into a tar ball. This can be very useful for cases when you want to send code updates to a client but you don't have access to their server and they don't want to pull the changes from Github.

Read Full Article...

Positioning divs side by side with CSS

Difficulty: 15 / 50
aligned benches in a park

In this tutorial I will show you the easiest method of positioning HTML divs side by side thus generating a multi-column layout with ease. The only downside for this code is that it doesn't work on IE7, because it doesn't know how to interpret the 'box-sizing' CSS rule.

Read Full Article...

3 4 5 6 7 8 9 10 11 12 13