Nonhostile - nonhostile.com - Tim Hastings - NonHostile (because there's no need)

Latest News:

How to HTTP POST JSON using PHP 12 Sep 2010 | 06:29 am

The PHP snippet encodes $input as JSON and makes a HTTP POST operation to a given URL. The response is also decoded from JSON back to a native PHP data type.

Javascript ForEach Key Value Iteration Like PHP 12 Sep 2010 | 05:58 am

Whilst getting started with node.js I found myself needing lots of simple Javascript snippets equivalent to common PHP snippets. Believe it or not, it took me too long for my liking to find the Javas...

HTTP Posting some JSON using curl 12 Sep 2010 | 05:44 am

Increasingly I find I am posting JSON all over the place. This linux snippet comes in handy for doing this. Hope this helps :-)

Sending HTTP DELETE with curl 25 Jun 2010 | 11:34 pm

The need arose today to issue a bulk set of HTTP DELETE operations against our applicaiton's REST-based API. It took me a little digging to find out how to use curl to do this, so here it is: Loving...

How to Install Node.js on Ubuntu 28 May 2010 | 07:50 am

After reading a lot about node.js recently, I decided to give it a whirl. Having just built a clean desktop install of Ubuntu 10.4 I had the ideal environment. Here are the steps to get it up and ru...

VB.Net: How to Format unicodePwd for Active Directory LDIF Script for LDAP Import 23 Oct 2009 | 08:34 am

If you are doing LDAP integration work with Active Directory and you want to update a user's password via an LDIF script you need to specify the password attribute in a very specific way. The sequenc...

How to Find Which Process has a File Open on Linux 23 Oct 2009 | 08:08 am

A number of times I have found myself unable to access a file because some other process is writing to it. Usually lock files which are used to prevent multiple instances of the same program from run...

MonoAmi: Mono 2.2 Amazon EC2 Image - Hosting for ASP.Net In The Cloud 18 Jan 2009 | 12:15 pm

This week, the Mono team released version 2.2 of the framework (release notes). I have created a new Amazon EC2 image with Mono 2.2 installed on Amazon's Fedora 8 image. This new image supersedes th...

ASP Fix: XML transformNodeToObject - Not implemented (80004001) 17 Dec 2008 | 12:53 am

From time to time, my web host changes some aspect of the server that this weblog is hosted on. The code that runs this site is written in classic ASP which means it is hosted on IIS. Recently another...

Yay! Photo Booth! 15 Oct 2008 | 09:02 am

Without question, my favourite feature of the iMac is the integrated camera and photo booth application. Everyone loves it!

Recently parsed news:

Recent searches: