Author Archives: Steve

Protected: David & Warren

There is no excerpt because this is a protected post.

Enter your password to view comments.

Adventures in networking

So recently decided to change ISPs. My old ISP insisted that i pay for email addresses (~@isps-domain.com) which I don’t want, never wanted and will never ever use. I didn’t see why I should pay a monthly fee for something … Continue reading

Posted in Geek | Leave a comment

lol

Posted in Photos | Tagged | Leave a comment

Magento 1.6.0 stable

my host runs su<something or other> so I had a bunch of permission problems. What needs doing *************** SETTING PERMISSIONS *************** Setting all folder permissions to 755 Setting all file permissions to 644 Setting pear permissions to 550   The … Continue reading

Posted in Geek | Tagged | Leave a comment

unable to allocate from the system nonpaged pool aka Source: srv Event ID: 2017

General The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations. The fix Set the following registry key to ’1′: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache and set the following registry … Continue reading

Leave a comment

Pex thing

the Pex puzzle a solution of sorts. You have to write code to mimic a mystery method.

Posted in Geek | Leave a comment

T-SQL paging

–snippet for paging on server. Is there a simpler way? DECLARE @PageNum AS INT; DECLARE @PageSize AS INT; SET @PageNum = 1; SET @PageSize = 10; WITH TablePage AS ( SELECT ROW_NUMBER() OVER(ORDER BY theDate, someId) AS RowNum, otherFields FROM … Continue reading

Posted in Code | 1 Comment

Amazon customer service = Amazing

Just had the nicest customer service experience from amazon. My daughter received a Kindle as a gift for xmas. Yesterday she found that it wouldn’t turn on. We tried resetting it, charging it, resetting it. Charging it overnite, resetting it. … Continue reading

Leave a comment

C# system.tray icon animation how to

http://blogs.msdn.com/b/abhinaba/archive/2005/09/12/animation-and-text-in-system-tray-using-c.aspx The only thing I would add is DllImport(“user32.dll”, EntryPoint = “DestroyIcon”)]static extern bool DestroyIcon(IntPtr hIcon); and then DestroyIcon(hIcon); Read somewhere that  bitmap.GetHicon(); leaks. Haven’t verified it.

Posted in Code | Leave a comment

I just too much time figuring this out…so this is for next time

Problem: need to change a checkbox state from within its own even handler(legacy stuff), but don’t want the event handler to fire again. (ie someone unchecks it, we checkit back and disable it) Public Sub ChangeCheckedWithoutEvent(ByRef chkBox As System.Windows.Forms.CheckBox, ByVal … Continue reading

Leave a comment