Building an HTML5 Text Editor with the FileSystem APIs

// Save a file in the FileSystem. function saveFile(filename, content) { filesystem.root.getFile(filename, {create: true}, function(fileEntry) { fileEntry.createWriter(function(fileWriter) { fileWriter.onwriteend = function(e) { // Update the file browser. listFiles(); // Clean out the form field. filenameInput.value = ”; contentTextArea.value = ”; // Show a saved message. messageBox.innerHTML = ‘File saved!’; }; fileWriter.onerror = function(e) { console.log(‘Write …

Flexible Hours • Inside GitHub

Don’t agree wholeheartedly with the flexible hours (you need some time where the whole team is together), but do agree with the unlimited paid time off policy. I for one have a job with flexible/concentrated hours which result in a 1.5 days “not behind the desk” where I can plan my time in a manner …

Reverse Engineering a D-Link Backdoor

alpha_auth_check itself is a fairly simple function. It does a few strstr’s and strcmp’s against some pointers in the http_request_t structure, then calls check_login, which actually does the authentication check. It is the final strcmp however, which proves to be the most compelling: This is performing a strcmp between the string pointer at offset 0xD0 …

TogetherJS

TogetherJS is a free, open source JavaScript library by Mozilla that adds collaboration features and tools to your website. By adding TogetherJS to your site, your users can help each other out on a website in real time! TogetherJS → Introducing TogetherJS → Yes, that looks familiar indeed as it’s the rebranded version of the …

Loop – The world’s most accepted wallet

Loop is the first mobile wallet to let you securely store all your cards in your phone and let you pay at more than 90% of retailers. Wirelessly perform a virtual swipe through the card slot and boom: you’ve just paid using your phone. Too bad they don’t ship outside the US or I’d back …