Monthly Archives: August 2010

OnLive on OSX over WIFI

This does, in fact, work.

Using PHP and OpenSSH with username/password auth

It turns out that this is actually a tricky problem. It’s super easy to use the OpenSSH command line stuff via PHP when you have key based authentication set up, but it’s not at all easy to use when you want to go the user/pass route. This is for a couple of reasons: First you [...]

PHP SSH2 code

I’ve had a need to use the PHP SSH2 PECL recently (working on making a product, at work, more efficient) And thought I would share some of the preliminary code. You can find it here: vpssh.phps The most interesting thing is not vpssh_core or it’s exec (though it’s good code) the really interesting thing is [...]

Temporary files

Here’s a little tip. If you’re writing PHP code for a linux only environment and you need a temp file to write something to. You can unlink the file after you use fopen() and use it to your hearts content. Linux will keep the “file” in existence for you and you can use ftruncate(), rewind(), [...]