
Wednesday, July 1, 2015
Wednesday, April 22, 2015
wget: Download files with certain extension only
To download only files of type pdf from example.com,
wget -r --no-parent --accept "*.pdf" --level 2 http://example.com/
Tuesday, January 20, 2015
Friday, October 3, 2014
Extract Initials from Names using Python
>>> name = "Rizauddin Saian"
>>> ' '.join([n[0] + "." for n in name.split()])
'R. S.'
>>> ' '.join([n[0] + "." for n in name.split()])
'R. S.'
Friday, September 26, 2014
[nltk_data] Error loading all: HTTP Error 401: Authorization Required

[nltk_data] Error loading all: HTTP Error 401: Authorization Required
you need to update the current data server setting in "/usr/lib/python2.7/dist-packages/nltk/downloader.py" file on line 370 from
DEFAULT_URL = 'http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml'
to
DEFAULT_URL = "http://nltk.github.com/nltk_data/"
Wednesday, March 19, 2014
How to hide the header of an embedded Google Drive (Docs) Spreadsheet as html
Replace
&widget=true
with
&chrome=false
Subscribe to:
Posts
(
Atom
)