Posts

Showing posts from April, 2015

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 https://drive.google.com/drive/folders/1V9jAShWpccLvByv5S1DuOzo6GVvzd4LV 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.

Google Analytics Plugins and Tasks APIs

Image
The Google developer's documentation says that to reduce the size and loading times of the analytics.js library, it is constructed using a modular architecture. Different plugins need to be loaded to add support a number of features. Some interesting aspects of this architecture is that analytics has to collect timing information as well as reporting of data as it is loading. In the background analytics uses a bit bucket algorithm to regulate  reporting impact to both the producer (browser) and consumer (their cloud). These plugins are introduced using the require directive. Some examples of plugins are e-commerce plugin - ' ecommerce '  enhanced e-commerce plugin - ' ec ' enhanced link attribution plugin - ' linkid ' cross domain auto link plugin - ' linker ' display features plugin - ' displayfeatures '  Recently Google introduced the plugin api in which it introduced documentation on how to extend analytics using your...

Popular posts from this blog

Moodle <=< Mediawiki SUL integration - first thoughts

downloading folders from google drive.

Big Data Analytics Israel - New Year, New Data Scientist Job: 5 Things To Think About