Skip to content

Instantly share code, notes, and snippets.

@JoeIsHere
JoeIsHere / twit2name.py
Created January 19, 2015 06:28
twit2name.py
import requests
import re
user = re.sub(r'\W+', '', (raw_input('user name: ').lower()) )
url = "https://twitter.com/" + user
req = requests.get(url).content
lines = req.splitlines()
# -*- coding: utf-8 -*-
# iOS Pythonista import
import console
import clipboard
console.set_font('Helvetica Neue')
# End Pythonista import
superf = u"""
☆。 ★。 ☆ ★
。☆ 。☆。☆
@JoeIsHere
JoeIsHere / downTempoSingle.py.py
Created April 9, 2013 04:08
downTempoSingle.py
import tempfile
import webbrowser
import os
import markdown
import codecs
templateIn = """
{styles}(my.css)
# This is a Headline from file 1
@JoeIsHere
JoeIsHere / markdown_tables_cherrypy.py
Created August 14, 2012 14:05
Markdown Table CherryPy
#!/usr/bin/python
# Locally hosted CherryPy table conversion. Simplified from standalone CLI Gist.
# Standard 2.7 library, except for CherryPy and Markdown modules.
import cherrypy
import os
import markdown
import cgi
import re
from xml.sax.saxutils import escape, unescape
@JoeIsHere
JoeIsHere / markdown_table_loop.py
Created August 1, 2012 21:37
Loop for a Hack to Markdown - Handles Specific Table Formatting I Prefer.
#!/usr/bin/env python
# More cleanup on this script to isolate the areas it's touching to paragraphs starting with "|", the rest is Python Markdown module.
import markdown
import sys
import codecs
from itertools import tee, islice, chain, izip
#Blog settings
url = "http://www.artofjoe.com/"
creator = "Joseph Rosensteel"