Monthly Archives: September 2013

Let’s laugh a bit…

You all know how programming can be boring and time consuming sometimes, so why don’t we explore the fun part of it today ? I saw in the past an article about something like “the funniest comments in the code that you encountered” or something similar, and I told myself “hey, this could be a

Combine css and js files using Minify

What is Minify? Minify is a PHP5 script application that helps you follow several of Yahoo!’s Rules for High Performance Web Sites, it speeds up your website by combining the static resources into one and allowing your browser to download in one go, all your website css files and js files. However you need to be

CSS Pseudo-classes

CSS before and after

CSS Pseudo-classes You heard about these things in the past, right? So what are these classes that we are talking about? Pseudo classes are structures that are used to specify a state of the selector. They are used in the next format: selector:pseudoClass { property: value; }, simply with a colon in between the selector and the pseudo class.

Reverse proxy and cache server using nginx

reverse proxy

Why using Nginx web server? Some of you will have this question, but others will feel this is the right thing to do. Well either way, I recommend using Nginx as a reverse proxy due to its scalability and performance. Nginx is being used to power up Cloudflare network, so this has been massively tested

8 of the most common html validation mistakes


8 of the most common html validation mistakes. One of the most ignored thing when writing code, is that the developer checks the output of the website from the browser, and it is not giving any attention to html validations. A well written website should have a good html validation. What is html validation ?

Optimize images for websites

Image compression

Why optimize images for websites? I see a lot people using high quality images within their own website design, which is ok, looks nice and all that, but they do not know that using the images in a high quality image format will take a lot of time to download for each user visit. It

Using Javascript eval function

Javascript eval function Long, long in the past, I was trying to obtain a logical expression from some different variables and concatenate them into one single variable, to use that further for a jQuery plugin. Everything looked great when running console.log(myVar), but then the problem came. In my mind, I didn’t thought that the result would

How to install nginx web server on CentOS or Debian

NGINX logo

How to install nginx web server on CentOS or Debian Nginx is one of the best web servers available on the internet, Cloudflare is using it to power up all their CDN servers, caching it, compressing data and speeding your website. For those who do not know, it can be used as a standalone server

Converting strings to numbers in javascript


Converting strings to numbers in javascript There are some situations where you would want to take a string from a place, convert it to a number and put it in another place on the client side. This thing can be obtained by some helper function that are built-in in javascript. In this article we will

Request an article ←