Testing Jetpack

I enabled JetPack to talk REST to this blog via the wordpress.com API. My first working URL: https://public-api.wordpress.com/rest/v1/sites/58826716

Ember.js Node.js clock via socket.io

I changed Chris Richards’s nodejs clock to work with Ember.

To run this:

Install node from http://nodejs.org/

git clone https://github.com/broerse/nodejs-clock

In the simple folder from the nodejs-clock where you find app.js enter the next two commands:

npm install express
npm install socket.io

To start the program:

node app.js

see the clock at work on http://127.0.0.1:8081/

Broerse.net via Amazon Ireland

Testing this WordPress on the new virtual server from Amazon Ireland.

BitTorrent Sync Image folders Full & Read only

You can access the BitTorrent Sync Image folders with the Full access secret: ‘ADDTHISBITTORRENTSYNCIMAGEFOLDERS’ or with the Read only secret: ‘BJSP4QJYXT3DGGY2XJXXUJRDDBRRGITEU’

ADDTHISBITTORRENTSYNCIMAGEFOLDERS

I am testing a Perl backed BitTorrent Sync folder for images. You can add images yourself. You can also delete Images from others. You can try this by adding the Full access key: ADDTHISBITTORRENTSYNCIMAGEFOLDERS

I hope to see some beautiful images from you.

back to asm with asm.js

Emscripten is an LLVM to JavaScript compiler. I think it was used to create plu. But now you can use asm.js with emscripten to compile C/C++ to a subset of JavaScript. Benchmarks of C programs compiled to asm.js are usually within a factor of 2 slower than native compilation.

Scale SVG

You can add transform=”scale(2)” in an extra g wrap to scale the SVG like this.

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="60" width="347">
 <g transform="scale(2)">
  <path ....
  <path ....
 </g>
</svg>

You can also add a viewBox and a style like this:

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 347 60.30408393" style="height:100%; width:50%">

Resize your browser to see the effect.

SVG direct


You can also add an SVG image direct in html5. It is a vector format but I don’t know how to resize it yet. The SVG height/width claims some kind of box space but you can draw SVG outside this box.

SVG to HTML5 Canvas Converter



This Canvas test is created with SVG to HTML5 Canvas Converter.

GPX Editor

I just found GPX Editor again. It can be used to Anonymize time for the OpenStreetMap upload GPX traces like this http://www.openstreetmap.org/user/broerse/traces/1462844

If you like to extract Google Maps Traces add this GMapToGPX bookmarklet:

javascript:(function(){var script=document.createElement(‘script’);script.src=’http://www.elsewhere.org/GMapToGPX/gmaptogpx.js’;document.getElementsByTagName(‘head’)[0].appendChild(script);})()