codehutch.com

Online Code Repository

SQLite

Ever get tired of setting up a database server everytime you transfer from machine to machine.Maybe when you deploy your code from development to production. Well, i just found out this amazing thing called SQLite.
I’m not sure wether this is built-in or an add-on to php but it can be used together with it. What [...]

Plug ’n’ Play Blog

About a few years ago or so I’ve been planning to create a blog application in .NET because I could find none. But I barely had the time due to other back logs and other priorities. And just when I gave up on the idea of me, a .NET developer, using a .NET blog - [...]

I was showing my 11 year old cousin some photo enhancement tips in Photoshop when she introduced her choice photo editing software, Photoscape, a lightweight and nifty photo editor. It caught my attention when I learned how easy it is to create photo collages with it. It usually takes me long doing it in Photoshop, [...]

Timer in VB .Net

A simple timer class written in VB .Net
Imports System.Timers
Public Class TestTimer
Shared _timer As New Timer()
Dim _timerInterval As Integer = 10000 ‘in millisecconds
Public Sub New()
Initialize()
End Sub
Public Sub Initialize()
AddHandler _timer.Elapsed, AddressOf _timer_Elapsed
_timer.Interval = _timerInterval
End Sub
Public Sub _timer_Elapsed(ByVal sender As Object, ByVal e As ElapsedEventArgs)
‘As long as timer is ‘enabled’ this function will be triggered every time interval [...]

Email Format Checker

Here’s a simple javascript function that checks if a given string is a valid email address.
function email_checker(email){
if(email == “”){
return false;
}
else{
if(email.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi)){
return true;
}
else{
return false;
}
}
}
Try it:
test

A holiday can either be fix or floating. Fix Holidays are those that occur on the same day each year, like Christmas. Floating Holidays on the other hand are those which may occur on different days in different years. An example would be Martin Luther King, Jr. Day which is celebrated in US every “3rd [...]

Find your Flickr id

To have your Flickr photo stream on your blog, you’ll need to know your Flickr id.  The default answer I have when requested of my Flickr id was my username. Not that bad, right? So I tried but no photos appeared. My next silly attempt was my yahoo id, then my screen name! And still [...]

  Next Entries »

Calendar

September 2010
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
27282930  

Locations of visitors to this page

Page Rank