Skip to content

Instantly share code, notes, and snippets.

View jrabbit's full-sized avatar
🍡

Jack Laxson jrabbit

🍡
View GitHub Profile
#!/usr/bin/python
# This program reads a directory containing Fink package descriptions
# and generates a graph of the dependencies among the packages. The
# graph is in the DOT language and can be displayed by Graphviz.
# The pydot and pyparsing modules must be installed.
# Version 1.0
# Written by Trevor Harmon <trevor@vocaro.com>
RPCRequest: core.get_torrents_status(None, ['ratio', 'name', 'upload_payload_rate', 'total_peers', 'total_seeds', 'eta', 'total_wanted', 'label', 'queue', 'state', 'distributed_copies', 'save_path', 'download_payload_rate', 'progress', 'time_added', 'num_peers', 'tracker_host', 'num_seeds'], True)
--------------------------------------------------------------------------------
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/rpcserver.py", line 294, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/core.py", line 408, in get_torrents_status
status_dict[torrent_id] = self.get_torrent_status(torrent_id, keys, diff)
File "/usr/lib/python2.5/site-packages/deluge-1.1.9_dev-py2.5-linux-i686.egg/deluge/core/core.py", line 390, in get_torrent_status
status = self.torrentmanager[torrent_id].get_status(keys, diff)
File "/usr/lib/python2.5/site-packages/deluge
http://gist.github.com/gists/new
$ fink install deluge-py25
Scanning package description files..........
Information about 8721 packages read in 2 seconds.
The following package will be installed or updated:
deluge-py25
The following 2 additional packages will be installed:
boost1.35.nopython pygobject2-py25-dev
Do you want to continue? [Y/n]
Reading buildlock packages...
All buildlocks accounted for.
I find it appalling that so many of you support a cause to control language. Language is the basis of all ideas. To limit speech by force or by coercion is not the hallmark of a tolerant, accepting community.
No one should be laughing at the mentally disabled, challenged or handicapped. This does not mean that the word they so strive to "end" must die. The nature of our language is a malleable one, we do not place the basis of American English in a single text. We form our language as a culture.
What Special Olypmics would like to achieve is the fundamental change in our society that celebrates tolerance and difference. They do not want the control of language to be in the hands of special interests.
Groups can recycle words by changing their connotation and denotation. Both the Hip Hop culture and the LGBT culture have re-appropriated various slurs targeted at them historically.
We as a society, we cannot resign ourselves away from control of our language. Language must be controlled by the people for th
counter = 0
for line in fileinput.input(args[1]):
buffer = pyborg.filter_message(line, Borg)
counter = counter + 1
try:
print buffer
Borg.learn(buffer)
if counter >= 30:
my_pyborg.save_all()
total 37000
-rwxrwxrwx 1 jack jack 26444 1996-12-09 02:05 1stgrade.ttf
-rwxrwxrwx 1 jack jack 67248 1993-06-16 10:17 abb103.ttf
-rwxrwxrwx 1 jack jack 28286 1993-12-20 08:53 ace085.ttf
-rwxrwxrwx 1 jack jack 26616 1993-06-16 10:20 alb121.ttf
-rwxrwxrwx 1 jack jack 34360 1994-01-10 14:07 ame234.ttf
-rwxrwxrwx 1 jack jack 33696 1994-02-24 11:18 ame235.ttf
-rwxrwxrwx 1 jack jack 35418 1994-02-24 11:18 ame236.ttf
-rwxrwxrwx 1 jack jack 31780 1993-06-16 10:24 amy137.ttf
-rwxrwxrwx 1 jack jack 19016 1993-06-16 10:57 and142.ttf
# Fink configuration, initially created by bootstrap
Basepath: /sw
RootMethod: sudo
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Distribution: 10.6
SelfUpdateTrees: 10.4
ConfFileCompatVersion: 1
Mirror-apache: http://www.apache.org/dist
Mirror-apt: http://sjc.ca.us.finkmirrors.net/bindist
Mirror-cpan: ftp://ftp.cpan.org/pub/CPAN
/.
/sw
/sw/lib
/sw/lib/libsasl2.2.dylib
/sw/lib/sasl2
/sw/lib/sasl2/libanonymous.2.so
/sw/lib/sasl2/libanonymous.la
/sw/lib/sasl2/libcrammd5.2.so
/sw/lib/sasl2/libcrammd5.la
/sw/lib/sasl2/libdigestmd5.2.so
#!/usr/bin/env python
# (c) 2010 Jrabbit -- GPL v2 or later
from subtitles import Subtitle
import sys
s = Subtitle()
s.loadSrtFile(sys.argv[1])
unicode(s) = srtin
open(sys.argv[2],"w") = out
out.write(srtin)