tihomir ivanov

Hi All,

I learned PHP in only 17 hours and it was absolutely enough to begin work as a PHP developer. Learn More how it can be done.

 

Honestly, I don't like asp.net, php, java, c++, javascript, ruby at all.

So, I Created My Own Powerful Programming Language for a few days.

Learn How it Can Be Done. It's really easy :)

RSS Directories

Written on January 31, 2010 – 3:31 am | by admin |

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

Written on January 30, 2010 – 2:02 am | by admin |

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

Written on January 29, 2010 – 1:43 am | by admin |

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

Written on January 28, 2010 – 2:13 am | by admin |

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 are [...]

Tags:

Bad Habits When You Use a Different Browser than Firefox

Written on January 27, 2010 – 1:45 am | by admin |

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, but [...]

Tags: ,

PHP Best Practices in Security – Part 1

Written on January 26, 2010 – 2:00 am | by admin |

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

Written on January 25, 2010 – 1:43 am | by admin |

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

Written on January 24, 2010 – 3:19 am | by admin |

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?

Written on January 23, 2010 – 2:24 am | by admin |

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’ [...]

HTML5 Video Tag Support

Written on January 22, 2010 – 1:35 am | by admin |

In my opinion, one of the most impressive new tags in html5 is the video tag, that allows you to include video in your web page as easy as including images, ex: <video src=”your-movie.ogg” controls=”controls”> your browser does not support the video tag </video> That was the good news, the bad news is that the [...]