Thanks, IE. I just spent pretty much all day tracking down the cause of this error. Conventional wisdom regarding this error is that you have a snippet of JavaScript like (where the comma trailing “42″ is the error): var myObj = { a: “a string”, b: 42, } I didn’t. But IE 8 was still [...]
SSH User’s IP Address
Let’s pretend you need to write a script that should not be run more than once concurrently. Let’s also pretend that the script has the potential of being run by multiple people through the same account (wonderful security setup you have here). So you come up with the brilliant idea of making the script create [...]
A Netcat Tip
Setting up a new web server, I found myself needing to test a couple port redirect rules. Instead of jumping through a bunch of crazy, potentially exploitable, hoops to get Apache Tomcat to listen on ports 80 and 443 I added these two rules to my firewall: $ iptables -A PREROUTING -t nat -p tcp [...]
PL/JSON Library
At work, I write a good bit of PL/SQL to support various web applications that I maintain. That is, I write a lot of web services directly in the database so that I have to maintain less code. Unless there is a good reason not to, and there aren’t many, I default to using JSON [...]
JavaScript Patterns, A Book Review
Around mid-November I got an email from O’Reilly with a discount code on select e-books. One of them caught my interest, so I bought it and have been reading it over the last month. That book is JavaScript Patterns by Stoyan Stefanov. I am only midway through chapter 6, and I was going to wait until [...]