Like many six year olds with a MacGyver mullet I learned how to ride a bike when I was really young. I had learned a life skill and I was really proud of it. Everything changed though when my friend Barney called me 25 years later. He had a challenge for me. He had built …
Category Archives: Elsewhere
Building better interfaces with SVG
Time Travel in Movies
Debugging CSS Animations
248 days
GTA2 Live
PHP RFC: Short Closures (Arrow Functions)
New RFC proposing Short Closures (better known as “Arrow Functions” in other languages). As ->, and => are already in use, ~> is proposed: $x ~> $x * 2 $x ~> { return $x * 2;} ($x) ~> $x * 2 ($x) ~> { return $x * 2; } All of the examples above are …
Continue reading “PHP RFC: Short Closures (Arrow Functions)”
Electron – Build cross platform desktop apps with web technologies
var app = require(‘app’); // Module to control application life. var BrowserWindow = require(‘browser-window’); // Module to create native browser window. // Report crashes to our server. require(‘crash-reporter’).start(); // Keep a global reference of the window object, if you don’t, the window will // be closed automatically when the javascript object is GCed. var mainWindow …
Continue reading “Electron – Build cross platform desktop apps with web technologies”
WordPress 4.2 Stored XSS
Earlier this week WordPress 4.1.3. It fixed an XSS exploit discovered by a former student of mine. This week a new exploit – even in the new WordPress versions, including 4.2 – was uncovered. Current versions of WordPress are vulnerable to a stored XSS. An unauthenticated attacker can inject JavaScript in WordPress comments. If triggered …