The snippet below will look inside directory /inputdir and archives the sub-directory called mydirectorywithfiles. The resulting tar file is written to /outdir/mytarfile.tar.gz.
Using OAuth2 token in GCP Storage API with nodejs
You can use short-lived OAuth2 tokens in many Google Cloud API calls, however you may run into some interesting limitations and quirks, more specifically in […]
Enabling TTL on MongoDB GridFS
Anything you store in MongoDB’s GridFS is stored in 2 collections. For instance if your files are loaded in a GridFS bucket called ‘images’ you […]
Firefox OS – A simple No Nonsense Calculator
When I received my Geeksphone Keon last year (2013), I searched the Firefox Marketplace for a simple calculator, similar to the Calculator that comes with […]
Total Mouse Control in Javascript
The following article was originally written back in 2006. The code example below shows you how you can include better mouse control over your web […]
A complete AJAX example
There are several third party libraries that simplify the programming that is needed to make your web pages communicate with the server more dynamically, and […]