Event handlers in PHP
Posted by Elmer on May 24th, 2008 / May 24th, 2008
I'm a .NET developer by profession. One of the things I really like about .NET is event driver applications and web sites. PHP doesn't natively support this, but with a little imagination it's not hard to recreate.
» read more...
MS-SQL dynamic DateAdd function
Posted by Elmer on May 21st, 2008 / May 22nd, 2008
The DateAdd function of Microsoft SQL-server allows you to add a specified number of days, weeks, month or years to a specified date. But it does not allow you to dynamically specify if you want to add a day, week, month, etc.
» read more...
List all User Defined Functions in MS-SQL database
Posted by Elmer on May 20th, 2008 / May 22nd, 2008
Sql statement to enumerate all user defined functions in a MS-SQL instance.
SELECT a.[Name] as FunctionName
FROM sysobjects a
WHERE a.xtype = 'FN'
» read more...
Index Tuning Wizard error
Posted by Elmer on May 19th, 2008 / May 19th, 2008
"The workload does not contain any events or queries that can be tuned against current database. Check to see that the trace contains valid events or that the SQL script contains valid queries and you are tuning against the right database."
» read more...
Asus Eee PC-701 2GB memory upgrade
Posted by Elmer on May 19th, 2008 / May 22nd, 2008
My Asus Eee PC-701 4G came with 512MB RAM. It's not bad, and most tasks perform good enough. But at the current memory prices, I bought a strip of 2GB SO-DIMM anyway.
» read more...
Asus Eee pc
Posted by Elmer on May 19th, 2008 / May 19th, 2008
» read more...
The good, the bad and the ugly about the Asus Eee PC-701
Posted by Elmer on May 19th, 2008 / May 22nd, 2008
I've had my 701 for about 2 weeks now. I really love the little machine. But even so, there are some things I think are allegable for improvement.
» read more...
Installing Windows Fundamentals on Asus Eee PC
Posted by Elmer on May 16th, 2008 / May 22nd, 2008
Here's a short guide to installing Windows Fundamentals for Legacy PCs (WinFLP) on the Asus Eee PC. I'm using the 4G model, with 4GB SSD flash disk and 512MB RAM.
» read more...
Favicons
Posted by Elmer on April 9th, 2008 / May 22nd, 2008
<link rel="shortcut icon" href="/favicon.ico">
» read more...
Code reviews
Posted by Elmer on March 25th, 2008 / March 25th, 2008
» read more...
Calculate sha1-hash using javascript
Posted by Elmer on February 27th, 2008 / February 27th, 2008
Here's a snippet to calculate a string's sha1-hash using javascript.
The sha1 hashes are compatible with php's sha1 function.
The snippet depends on the utf-8 encode function, see link at bottom of this page.
» read more...
Javascript UTF-8 encoding
Posted by Elmer on February 27th, 2008 / February 27th, 2008
Here's a little snippet to utf-8 encode a string using javascript.
» read more...
|