Showing posts from June, 2013

downloading folders from google drive.

I wanted to download some course material on RL shared by the author via Google drive using the command line.  I got a bunch of stuff using wget a folder in google drive was a challenge. I looked it up in SO which gave me a hint but no solution. I installed gdown using pip and then used: gdown --folder --continue if there are more than 50 files you need to use --remaining-ok and only get the first 50. In such a case its best to download using the folder using the UI and decompress locally. Decompressing from the command line created errors related to unicode but using the mac UI I decompressed without a glitch.

Mediawiki User edits by Namespace

\ During work on Orwell01 I got to look through the code of X! counter tool on the WMF toolserver. Mediawiki's API does not expose a method to get a user's edit counts per namespace. When I was chatting with some WMF developer at the Amsterdam Hackathon - I was told that this was not exposed since it was not stored in the database and had to be worked out in an application. And indeed there is a popular edit counter called X! edit counter maintained by User:TParis that does just this. However this edit counter does not expose the namespace stats either in its undocumented API either.... Looking at the code I started to explore the database queries being done and found the following:

Popular posts from this blog

Moodle <=< Mediawiki SUL integration - first thoughts

downloading folders from google drive.

AWS CloudFormation Pros and Cons