Oct 2014 02

Last night I came across a situation where I had 447 folders each containing many subfolders and with only one file in the last subfolder. I needed a way to move all of these nested files into one parent folder. Luckily, there’s a small free program called Suction that can do this very easily. A screenshot is below. It worked perfectly and quickly.

suction

Share
Sep 2014 30

STEP 1: Purchase Domain at Domain Registrar

e.g. abdullahyahya.com is registered at godaddy

  • GoDaddy
  • Hover
  • Gandi
  • etc

 

How to find where a domain is registered?
Do a whois lookup, e.g. http://www.whois.com/whois/abdullahyahya.com

 

STEP 2: Set Domain Name’s Name Servers at Domain Registrar’s Control Panel

e.g. below is the control panel to set the name servers for abdullahyahya.com

nameservers [..]

Share
Sep 2014 26

When setting up a web server, if it’s one of the following

  • Apache
  • Google App Engine (GAE)
  • Internet Information Services (IIS)
  • lighttpd
  • Nginx
  • Node.js

you may want to start or compare  your config with some boilerplate configs you can find at

https://github.com/h5bp/server-configs

Many best practices and optimization are included in them which can save you a lot of time.

Share
Sep 2014 18

If you’d like to know which fonts are being used on a web page or in an HTML tag, Firefox Inspector has a tab called Fonts that will easily let you see this. Screenshot below.

firefox-fonts

Share
Sep 2014 18

As a website grows, you can find yourself with a ton of CSS that may or may not be needed. Cleaning this CSS is necessary to facilitate maintainability of your code. But how do you find unused CSS. A Firefox extension called Dust-Me Data does a decent job of doing that. Below is a screenshot show how many unused selectors there are from each source followed by a listing of each selector.

dust-me-data

Share
Page 3 of 7012345102030...Last »