Mattias, connecting the dots: For those of us that own a Boeing 787 Dreamliner, don't forget to reboot it every 248 days! https://t.co/N19S953XHQ — ma.ttias.be (@mattiasgeniar) May 2, 2015 Geekfun! 🙂 248 days →
Author Archives: Bramus!
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 …
rust: es6 + THREE.js + glslify experiment
Star Wars: The Force Awakens
The Attachment, a digital road movie
Hyundai : A Message to Space
Progressive enhancement with handlers and enhancers
var handlers = { 'overlay' : function(e) { // This function is executed on click of any element with // 'overlay' in its data-handler attribute. // The click event is in 'e', $(this).attr('data-foo') holds the // value of data-foo of the element the user clicked on }, 'another-function-name' : function(e) {} …
Continue reading “Progressive enhancement with handlers and enhancers”