Your Ad Here

Simple Tips When Working with jCarousel

Date: 1 Feb 2010 Comments:0

I wanted to create some automatic scrolling list of most popular articles in the home page. I found a jQuery plugin – jCarousel, it was everything I want. The example, I liked most was Carousel with external controls. Here’re few tips how to integrate jCarousel in your website: 1. Reduce the number of javascript and [...]

RSS Directories

Date: 31 Jan 2010 Comments:0

I decided to submit my rss feeds link in some rss directories. Here’s a list of rss feed directories, where you can submit your rss feed info for free: http://www.feedplex.com/add-url.php http://www.rss-network.com/submitrss.php http://technorati.com/ (Requires registration) after login add your blog here: http://technorati.com/account/claim/ http://www.2rss.com/index.php (add RSS feed is the bottom of the page) http://en.newsxs.com/Suggest/ http://www.feeds4all.nl/_NF.aspx http://www.jordomedia.com/RSS/l_op=Addrss.html http://www.feedbomb.com//suggest.php?action=addlink [...]

How to Create a Page in FaceBook

Date: 30 Jan 2010 Comments:0

I wanted to create a page in FaceBook to represent my website. If you also want to create your facebook page, but you don’t know how, you can check the instructions below: 1. Login to your Facebook account. 2. Scroll down to the bottom of the page and click on the Advertising Link: 3. In [...]

ASP.NET md5 function

Date: 29 Jan 2010 Comments: 1

I was pleasantly surprised to found that using System.Security.Cryptography you can create a function that calculates the MD5 hash of string. Here’s an C# example: using System.Security.Cryptography; using System.Text; public string md5(string aString) { byte[] byteStr = Encoding.UTF8.GetBytes(aString); MD5 md5Provider = new MD5CryptoServiceProvider(); return Encoding.UTF8.GetString(md5Provider.ComputeHash(byteStr)); } Here’s the same function in VB.NET: Imports System.Security.Cryptography Imports [...]

Reduce Code Size Tool

Date: 28 Jan 2010 Comments:0

Recently, I added some js files to my website. I notice that the code contains too much comments, white spaces, empty lines, etc. So, I decided to optimize it by removing all that stuff. Instead of doing that by editing the code, I decided to write a tool that can finish this job :) Here [...]

Tags:

Bad Habits When You Use a Different Browser than Firefox

Date: 27 Jan 2010 Comments: 1

I use Firefox for my default browser, but sometimes I test my websites under other browsers, very rarely but it happens :) Then I realize about my bad habits by my Firefox usage: 1. F12 doesn’t work When I want to find the bug in some element  I press F12 to test it with FireBug, [...]

Tags: ,

PHP Best Practices in Security – Part 1

Date: 26 Jan 2010 Comments:0

Here is the first post of PHP Best Practices Series. We’ll begin with (in my opinion) the most important aspect of web developing – the security. 1. Always Initialize Your Variables Let’s look at the following example: <?php if (check_user($_POST['username'], $_POST['password']) { $login = false; } if ($login) { forward_to_secure_page(); } ?> If the username [...]

Playing with OpenXML: Let’s Convert docx to Simple html5

Date: 25 Jan 2010 Comments: 1

I decided to play little with the application from the Introduction to Open XML SDK 2.0 Post and I decided to read text in more details, ex. to iterate through all document paragraphs and for each paragraph to iterate through each of its Runs (Run is a region of text with a common set of [...]

Optimize Title Tags in WordPress Posts

Date: 24 Jan 2010 Comments:0

While I was searching something in google I saw in the results link to my site: It’s awful, there’s Blog Title, Blog Archive and part of the title. It doesn’t give any information to the user. So, he/she will never click on my blog link. So, I decided to optimize my WordPress Blog’s title tag. [...]

How to Install Microsoft IIS Server on Windows 7?

Date: 23 Jan 2010 Comments:0

After I upgraded to Windows 7 I wanted to test my asp.net applications under Windows 7 IIS. By default, after install Windows 7 IIS is not installed, but it can be installed very easy: 1. Open ‘Control Panel’ > ‘Programs and Features’ 2. In the left panel, click on ‘Turn Windows features on or off’ [...]