blog.gvm-it.eu
Plain Text Copy And Paste - Google Chrome Extension

I came to the realisation that I get mad whenever I accidently paste formatted text and that I am too lazy to use CTRL + SHIFT + V, so I wrote a tiny Google Chrome extension that removes formatting and markup information from text that you copy to your clipboard: Plain Text Copy And Paste

Read More

I just updated the Bookmark Buttons Startpage to version 1.2.2 which fixes a problem that is recognized by the current version of Google Chrome, but not by the previous ones. Also the webstore presentation was updated in order to comply with the new formats.

The extension should update automatically over the next days, but you can manually update it if you go to the extension management window and hit the “Update all extensions” button.

As a sidenote: Chrome 15 does now throw a fatal error when a new RegExp object is created with unrecognized / invalid flags. Turns out that JavaScript does not support the /s flag.

I rewrote a solution by John Resig to create simple templates in JavaScript to work with node.js and added support for file loading and inline templates. Check out the examples for more information.

Node.js 0.5.2 - Load JSON files with require

Just a brief post: With the latest release of node.js, it is now possible to load files that only contain JSON data directly into objects using the require( [path_to_file] ) function.

Read More

While toying around with Node.js, I ended up writing my own little flow control library. Check it out on GitHub and leave a comment!

Inspired by a link on Google+ that explained how to run Chrome OS from a usb drive I gave Chromium a try. I did encounter a few glitches (y u no recognize my usb mouse?!) and browsing felt a little slow, but apart from that I really like Google Chrome OS on my laptop.

How to: Heredocs in JavaScript

The following code allows you to define multi line strings in your JavaScript code. However, it is not cross-browser compatible - some implementations will return empty strings. So why bother? Because the V8 engine - thus node.js - does support this dirty hack!

Read More

I’ve been doing some testing for Diary.com over the past few months. In this article, they describe their take on choosing between using HTML5 technologies over native code when creating their mobile app.

Dr. Nic Williams has created a simple and easy to use plugin to Tumblr which allows coders to use syntax highlighting in their blog posts. Read his (4 year old) article on syntax highlighting in Tumblr.

Keyboard input module for node: node-prompt.js

I have been watching node.js very close over the past weeks and eventually got myself a working installation, so it was about time to code something. But what? Don’t ask why, but I ended up writing a simple module that allows you to prompt input in your node process window.

Read More