Did you grade your website?

Date: 14 Feb 2010 Comments:0

Today, While I was reading an e-book about internet marketing, the author claimed that his website grade of 76/100 in http://websitegrader.com. I decided to check my website http://www.devtheweb.net. … and the result was: A website grade of 96.5/100 for www.devtheweb.net means that means that of the millions of websites that have previously been evaluated, our [...]

Tags:

Free CSS Generator Online Tools

Date: 13 Feb 2010 Comments:0

Here’s a list of free css generator online tools: 1. QrONE CSS Designer – a css generator that allow you to view result as you select some of the options. 2. The Generator Form v2.90 – a css generator that gives you a lot of controls. 3. CSSCreator – it allows you to choose a [...]

Tags: ,

My URL Pattern

Date: 12 Feb 2010 Comments:0

I needed a url pattern that recognizes the following urls: http://site.com www.site.com https://site.com https://www.site.com Even more, I wanted after url detection, it to be replaced with: http://site.com -> http://site.com www.site.com -> http://www.site.com https://site.com -> https://site.com https://www.site.com -> https://www.site.com I use Regex’s Replace method. It detects all urls and replaces them with the correct format. Here [...]

Tags: ,

100 Tips How To Make Your Blog Popular

Date: 11 Feb 2010 Comments: 14 so far

Here are 100 tips how to make your blog popular: Blog Planning: 1. Check if your future blog niche will be profitable 2. When you choose blog niche follow your passion 3. Start blogging if you can do it seven days a week and on vacations 4. Select good domain name 5. Give your blog [...]

Tags:

How to Identify Bad Freelance Buyers by their Offers

Date: 10 Feb 2010 Comments:0

I think that even when you read only a freelance job offer’s text, you can learn much about the client. Here are my simple tips (in my opinion) how you can identify bad freelance buyers to stay away from them: 1. Mr. ‘I want new Windows. 800 USD max’ It’s always funny to find such [...]

Tags:

PHP Best Practices in Performance – Part 1

Date: 9 Feb 2010 Comments: 1

After PHP best practices in Security – Part 1 and Part 2, here’s the first post of the series about PHP best practices in Performance. 1. If you want to output a basic string, you’d better use single quotes, instead of double quotes. If you use a string surrounded by double quotes, it’s parsed by [...]

Tags:

Export data to docx file using Open XML SDK

Date: 8 Feb 2010 Comments:0

Here’s simple example how can we export some table data to docx file using Open XML SDK. If you are not familiar with Open XML SDK, you can check out first Introduction to Open XML SDK. In this example: 1) Create some string array that represent table data 2) Create a new Docx file and [...]

Tags: ,

Simple Rotating Ad Script in PHP

Date: 7 Feb 2010 Comments:0

This weekend I sold banner ad space in one of my websites. The client wanted two banners to be rotated in same place. Here’s a simple php script how it can be done: <a href=”http://advertise-site-url.com” target=”_blank”> <?php $variable[1] = ‘<img src=”http://www.mysite.com/ads/banner-1.jpg” alt=”banner 1″ />’; $variable[2] =’<img src=”http://www.mysite.com/ads/banner-2.jpg” alt=”banner 2″ />’; $adCount = count($variable); $randomAdNumber = [...]

Tags:

Export Textbox’s text to a file using asp.net

Date: 6 Feb 2010 Comments:0

In the Reduce Code Size Tool, I wanted to add ability for the users to be able to export the Output TextBox’s Text into file. It can be done dynamically, without need to create a temp file into the server. Here’s an asp.net example how it can be done: Response.Clear(); Response.AddHeader(“Content-Type”, “application/html”); Response.AddHeader(“Content-Disposition”, “attachment; filename=” [...]

Tags:

Cool Websites for Inspiration February 2010

Date: 5 Feb 2010 Comments: 1

Here is a new portion of cool website that can be used for inspiration: 1. Portfolio – Mauricio Guimaraes It’s very professional portfolio website written in Flash. I liked the contact form – the idea how e-mail and phone are displayed over images. I should use this idea in my websites: URL: http://mauriciostudio.com/ 2. Organic [...]