Finding a good domain name that is available is hard and it keeps getting harder. Every time I try to search for a domain I do the same steps, so I’ve decided to document my process and hopefully it will help some people finding a good name for their website. Read more »
Tips On Finding A Domain Name
Three Letter Words To Use When Choosing A Domain Name
I’ve built a filtered list of 3 letter words that can be used when searching for a domain name. Basically I’ve take this list of common three letter words and removed words that I didn’t see used in a domain. Read more »
Managing Multiple Servers Using Screen Terminal Multiplexer
For those who have tried to manage several terimnal or ssh sessions at once either on Windows using PuTTY or other terminal programs it can be annoying and you can get lost quite quickly. The one thing you do not want is type the wrong command in the wrong terminal.
Today I hope to introduce you to a tool that have kept me sane for a few years now, when it comes to connecting to multiple servers at once in a single window. I’m talking about the screen program. Read more »
Get unique visitors from apache log file
Ever wanted to get a quick count of how many unique visitors you got on a website? I recently transferred one of the websites I manage to a new host and wanted to see how many different IPs were reaching the new server.
Came up with this chain of commands that I though could be useful to others.
Avoiding re-submission of POST forms
One of the functionality that bugs is the dialog you get after submitting a form through a POST request. More precisely when I want to refresh the page without re-posting. Altough sometimes re-posting is the desired functionality getting rid of the functionality altogether doesn’t make sense. What if you could choose when to allow or not reposting form data. Read more »
IAB Standard Ad Units – Visually
In my daily work I have to deal with the delivery of ads, lots of ’em. When designing a site we must always make sure the ad spots are at the right place so they will get the attention they deserve.
Sometimes its hard to visualize the less used, but still standard, IAB ad formats. So I’ve decided to create a simple page which clearly represent visually each format with their respective name and size. Read more »
Blank Page On PHP Sytax Error
I don’t know since when but now in PHP I seem to be getting these blank pages when there is some type of syntax errors. If some of you ever had this problem it can be hard to find the missing semicolon or that extra parenthesis causing it.
Read more »
Weekly Mentions
Here’s some the articles that caught my attention this week.
- Internet 2009 in numbers : Some interesting figures about, emails, social networks and Internet trends;
- Quix: Many simple comands for your browser, like performing SEO analysis of current webpage, many search, tweet and more, a must see;
- 8 Usability lessons learned from members: some common usability that is often forgotten in the chaos of things;
- JavaScript grid editor: I want to be Excel: a good review of javascript grid components;
- Asynchronous Tracking: a way to load google analytics asychronously to avoid delays from google’s servers.
Do not checkout in your document root
For versioning software I use subversion and when comes time to publish changes I just update the production branch and voilà the website’s update to the latest changes / fixes. The problem is that having a checkout copy in my document root by default exposes the .svn hidden directory and all its files.
Some of the info you can get out of .svn directory:
- path to subversion directory
- username used to checkout the copy
- list of all other files in the same directory
I’ve used this simple fix to circumvent this problem. Read more »
PHP Config File using Singleton Pattern
The Problem
Today I needed to have configuraion variables available across multiple PHP scripts / classes, I didn’t want to pass the array accross files or corrupt the global scope.
The solution
A this simple class that makes configuration varibles available throught out my application. It uses a singleton pattern so I know there is only one version of the config. It also implements all the methods to make it behave like an array and an object ( the Countable, ArrayAccess and InteratorAgregate interfaces to be exact). Read more »