Geekstuff
Copy JVC Everio .MOD files on Linux
I patched a little Python script to correctly copy .MOD/.MOI files to MPEG-2, including the aspect ratio bug in the format: http://www.friesoft.nl/files/sdcopy.py. It is tested and works on Ubuntu 12.04.
I patched a little Python script to correctly copy .MOD/.MOI files to MPEG-2, including the aspect ratio bug in the format: http://www.friesoft.nl/files/sdcopy.py. It is tested and works on Ubuntu 12.04.
If you are building a Adobe Flex application that uses sockets, you have to send the policy-file-request, or crossdomain.xml. A lot of info available on it, except that you need to send a null character at the end of it.
HTML defines onClick and onDblClick event handlers on all elements. However, if you want to enable both on the same element, something goes wrong. the onClick event gets fired twice! And that is not what we want, so here’s a little Javascript to fix that: // use these functions to Read more…
To set a time, use the (very convenient) Dat eobject: var now = new Date(); If you want to set a certain date, use: var someDate = new Date(“yyyy-mm-ddThh:mm:ss+hh:mm”); e.g.: var someDate = new Date(“2012-05-17T00:00:00+02:00”); For May 17th, 2012 00:00:00, CEST. Notice (and I just found that out), not all Read more…
In Eclipse, with the ADT plugin for Android development, what to do if your widget-IDs seem to be all over the place? What if that TextEdit suddenly seems to have jumped over two TextView widgets? Simply running a “Clean project” fixes it. It seems to be triggered by a lot Read more…
If you create a dijit.form.Select with a lot of items, it will become slow and render through the end of the page (no scrollbars). Instead, use a dijit.form.ComboBox; it is fast and renders correctly. It doesn’t necessarily need a itemstore, a HTML <select> list works perfectly fine. Just add dojoType=’dijit.form.ComboBox’ Read more…
I got LibreOffice working on SuSE Linux Enterprise Desktop. There is no repository available, so you will have to do with the community installer. Download, unpack and install all the RPMs. When you use the provided instructions, it didn’t work for me, and I got the following error: “iso resource Read more…
I opened the discussions for non-registered users. I used the Anti-Captcha plugin to protect to spam. See if it works …
Last week, I bought an iPad. On a whim. I think many people do that. I was playing with the device a little in the local electronics store and I liked it. But, being a Linux geek, I cannot be caught with such a sexy, bigcorp, trendy device. Until I Read more…
Dit begon als een reactie op nujij. Maar het werd zo’n epistel, dat ik het toch maar eventjes blog. Ik ben zelf geen kunstenaar (hoewel programmeren soms meer kunst dan kunde is), maar heb wel kunstemakende vrienden. En met hen heb ik geregeld discussie over de zin en onzin van Read more…