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
--- configure.ac.orig 2012-02-07 12:22:59.000000000 -0600 | |
+++ configure.ac 2012-02-07 12:23:23.000000000 -0600 | |
@@ -32,7 +32,7 @@ | |
# Basic initialisations | |
################################################# | |
-AC_PREREQ(2.62) | |
+AC_PREREQ(2.61) | |
AC_INIT([libmp3splt],[0.7.1],[[email protected]]) | |
AC_CONFIG_AUX_DIR([libltdl/config]) |
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
diff --git a/autogen.sh b/autogen.sh | |
index 68962f2..7e09d60 100755 | |
--- a/autogen.sh | |
+++ b/autogen.sh | |
@@ -1,14 +1,15 @@ | |
#!/bin/sh | |
win=$1 | |
-#autopoint check | |
-(autopoint --version) > /dev/null 2>&1 || |
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
/* analogtv, Copyright (c) 2003, 2004 Trevor Blackwell <[email protected]> | |
* | |
* Permission to use, copy, modify, distribute, and sell this software and its | |
* documentation for any purpose is hereby granted without fee, provided that | |
* the above copyright notice appear in all copies and that both that | |
* copyright notice and this permission notice appear in supporting | |
* documentation. No representations are made about the suitability of this | |
* software for any purpose. It is provided "as is" without express or | |
* implied warranty. | |
*/ |
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
900 REM *** CURSOR VARIABLES ** | |
* | |
910 SPEED= 255 | |
920 MDY% = 260 | |
930 DLY% = MDY% | |
940 CHAR$ = "" | |
950 X = 1 | |
960 Y = 1 | |
970 DIR = 1 | |
1000 REM *** BOOT SEQUENCE *** |
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 python2.6 | |
"""Inspect all sibling directories, and show current git revisions for each that is a git repo.""" | |
import re | |
import sys | |
import os | |
import subprocess | |
MODULE_PATH = os.path.abspath(os.path.dirname(sys.argv[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 python2.6 | |
"""Updates git hashes in requirements.txt files based on current state of adjacent repositories. | |
Expects to be run inside directory containing requirements.txt to be updated. | |
Be sure to commit regularly: Performs an in-place update of requirements.txt. | |
""" | |
import re | |
import sys |
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
from teams.models import Team | |
from zipcodes.models import ZipCode, County | |
Z = list(ZipCode.objects.all()) | |
for team in Team.objects.all(): | |
for zip_code in team.zip_codes.all(): | |
if zip_code in Z: | |
Z.remove(zip_code) | |
for county in team.counties.all(): |
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
# Here's a way to "snapshot" the modules already loaded by | |
# Python, so you can go back to that snapshot at a later point in | |
# time by causing Python to forget about modules already loaded. | |
# | |
# The modules still exist if you have any objects pointing to them, | |
# but when an import statement or __import__ call is encountered, | |
# Python will look for the module again and load it as if it were | |
# never imported in the first place. | |
# | |
# This is useful when you lazily import modules, such as in the |
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
# The general idea is to attach a sequence to an object upon instantiation. | |
# When creating kwargs to pass to dict(), Python evaluates each expression | |
# in the order written, and thus each Field instance in this example has | |
# a _number attribute that corresponds to the order in which it was written | |
# in source code. | |
class Field(object): | |
_last_number = 0 | |
def __init__(self, **kw): | |
self.__dict__.update(kw) |
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 os | |
import sys | |
from PyQt4 import uic | |
from PyQt4.QtCore import QSize, Qt, QTimer, pyqtProperty, pyqtSignal, pyqtSlot | |
from PyQt4.QtGui import * | |
from PyQt4.QtWebKit import * | |
html = \ | |
"""<html> |