Skip to content

Instantly share code, notes, and snippets.

View nizz's full-sized avatar

Vartan Aivazian nizz

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@nizz
nizz / application.py
Last active July 30, 2018 04:47
Answer for http://stackoverflow.com/questions/14441081/how-to-generate-web-api-docs-from-python-docstrings/ Replace application.py on sphinx path with the one below (the path on my system is /Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/Sphinx-1.1.3-py2.7.egg/sphinx/) Add simpleautodoc.py on the ext folder Add…
# -*- coding: utf-8 -*-
"""
sphinx.application
~~~~~~~~~~~~~~~~~~
Sphinx application object.
Gracefully adapted from the TextPress system by Armin.
:copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
@nizz
nizz / .conkyrc
Created November 20, 2012 00:59
Conky Configuraton
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
@nizz
nizz / lastfmbio.css
Created November 3, 2012 15:27
Last.fm bio (blog.utopianlabs.com/2011/12/adding-a-last-fm-bio-to-your-website/)
body{
width: 600px;
margin: 20px auto;
color: #444444;
font-family: sans-serif;
font-size: 14px;
}
a {
text-decoration: none;
.calendar{
height: 30px;
width: 25px;
border: #000000 1px solid;
-moz-box-shadow: 1px 1px 3px #220000;
-webkit-box-shadow: 1px 1px 3px #220000;
/* For IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#220000')";
/* For IE 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#220000');