Skip to content

Instantly share code, notes, and snippets.

View ChillarAnand's full-sized avatar

Chillar Anand ChillarAnand

View GitHub Profile
@ChillarAnand
ChillarAnand / blogger2scriptogram.py
Created February 26, 2016 02:04 — forked from larsks/blogger2scriptogram.py
Convert Blogger posts to Markdown for use with Scriptogr.am
#!/usr/bin/python
import os
import sys
import argparse
import iso8601
import re
import subprocess
import logging
import json
@ChillarAnand
ChillarAnand / signals.py
Last active August 29, 2015 14:09 — forked from voldmar/signals.py
# coding:utf-8
import gc
from sys import modules
import inspect
from optparse import make_option
import weakref
from django.core.management.base import BaseCommand
from django.dispatch import Signal, saferef
HELP
=======================================================
C-h a command-apropos What commands work like this...?
apropos What functions and variables work like this...?
C-h c describe-key-briefly What command does this key sequence do?
C-h b describe-bindings What are the key bindings for this buffer?
C-h k describe-key What command does this sequence do, and tell me about it.
C-h l view-lossage What are the last 100 characters typed?
C-h w where-is What is the key binding for this?
C-h f describe-function What does this function do?
;;; auto-remove.el --- Auto remove unused functions in python
;;; Commentary:
;; Uses external tool autoflake to remove unused imports from a Python file.
;;; Code:
(defcustom python-autoflake-path (executable-find "autoflake")
"Autoflake executable path.