Skip to content

Instantly share code, notes, and snippets.

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

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
@elssar
elssar / Import This.md
Created February 12, 2013 03:47
Second gist to test out conundrum (https://github.com/elssar/conundrum)

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 February 12, 2013 04:50
Third and final gist to test conundrum (https://github.com/elssar/conundrum)

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

  • Hello World
  • Import This
  • Final Test
@elssar
elssar / grab_pdfs.py
Created March 14, 2013 11:48
Download all the pdf files linked in a given webpage.
#!/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