-
Quick’n’dirty Mediawiki file crawler
URL=’http://10.0.0.1′ MIME=’image/jpeg’ bash -c ‘wget -q -O – “$URL/wiki/index.php?title=Special:MIMESearch&mime=$MIME&limit=500&offset=0” | grep -Po “/wiki/images[^”]+” | xargs -n1 -I {} wget “$URL{}”‘ What it does: it uses the “MIME search” functionality on the wiki to locate files of a certain mime type and then xargs+wget each of them. Limitations: A maximum of 500 files are downloaded Downloads…
-
Creating a non-MAC bound CentOS 6 machine
I was building VMs to be deployed with Vagrant / Virtualbox for our QAs and discovered that on new instantiations of the machine the networking interface wasn’t coming up. The problem was that Virtualbox was assigning a random MAC address to the NIC (and rightly so, to avoid conflicts). I used the following steps to…
-
Levant Digital Marketing review
Levant Digital Marketing is a company which does Search Engine Optimization in the Middle East. They seem to be a very new company (the domain was registered in January of 2011). They are part of “JHG Holding”, but this itself is also only from 2009 (and their site contains minimal content). I didn’t manage to…
-
Paving site review
This is a fairly trustworthy site to buy paving slabs and other construction materials. It checks out on on all sources I usually use: domain registration, physical address, reputation sites and a quick search for complains. So go ahead and look around, but remember that for larger purchases you should consult an expert. They also…
-
Setting up git-daemon under Ubuntu
The scenario is the following: inside a (somewhat) trusted LAN you would like to set up git-daemon so that your coworkers can access your repositories. This solution is not appropriate in cases where you want to share with random people on the interwebs. This short description is based loosely on this blogpost and it was…
-
Adding tab completition to Maven3 under Ubuntu
Maven 3 was released recently (depending on your definition of recent), but is not yet packaged for Ubuntu. This is generally not a problem, since the installation instructions are easy to follow (alternatively here are the installation instructions from the Sonatype maven book), but you don’t get tab completion in your terminal, which is quite…
