This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
import plistlib as plist | |
import os | |
from commands import getoutput | |
plugin_path = os.getenv('HOME', '') + '/Library/Application Support/Quicksilver/PlugIns/' | |
plugin_data = {} | |
count_all = 0 | |
count_64 = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
import re | |
import codecs | |
import markdown | |
## get the original text | |
input_file = codecs.open("CHANGELOG", mode="r", encoding="utf8") | |
text = input_file.read() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import plistlib | |
from sys import stdout | |
import codecs | |
streamWriter = codecs.lookup('utf-8')[-1] | |
stdout = streamWriter(stdout) | |
headers = { | |
# 'User-Agent': 'Quicksilver/3932 OSX/10.6.8 (x86)', # Snow Leopard | |
# 'User-Agent': 'Quicksilver/3932 OSX/10.7.4 (x86)', # Lion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gc | |
import time | |
import sys | |
import resource | |
from boto3.session import Session | |
prev_mem = 0 | |
print('pass, using, diff') | |
line_tmpl = '{}, {}, {}' |