Skip to content

Instantly share code, notes, and snippets.

Avatar

Akshay Bist elssar

View GitHub Profile
@elssar
elssar / Hello World.md
Last active Dec 12, 2015
Gist to test out conundrum, a webframework agnostic simple blogging plugin in Python --> https://github.com/elssar/conundrum
View Hello World.md

Hello, World!

Test post #1 for testing conundrum, a webframework agnostic blogging plugin.

Lets test syntax highliting

#!/usr/bin/python

print 'Code with shebang, and numbered lines
View Import This.md

Import This

Lets test if quotes work.

###The Zen of Python, by Tim Peters

Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated.

@elssar
elssar / Final Test.md
Created Feb 12, 2013
Third and final gist to test conundrum (https://github.com/elssar/conundrum)
View Final Test.md

Final Test

If all works well, the test site will have 3 entries -

  • Hello World
  • Import This
  • Final Test
@elssar
elssar / grab_pdfs.py
Created Mar 14, 2013
Download all the pdf files linked in a given webpage.
View grab_pdfs.py
#!/usr/bin/env python
"""
Download all the pdfs linked on a given webpage
Usage -
python grab_pdfs.py url <path/to/directory>
url is required
path is optional. Path needs to be absolute
You can’t perform that action at this time.