This file contains 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
# Fedora 18 now has libudev.so.1. http://crbug.com/145160 | |
# Same for Ubuntu 13.04. http://crbug.com/226002 | |
LIBUDEV_0=libudev.so.0 | |
LIBUDEV_1=libudev.so.1 | |
add_udev_symlinks() { | |
get_lib_dir | |
if [ -f "/$LIBDIR/$LIBUDEV_0" -o -f "/usr/$LIBDIR/$LIBUDEV_0" -o -f "/lib/$LIBUDEV_0" ]; then | |
return 0 | |
fi |
This file contains 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
textfile = "" | |
pro = true | |
if pro | |
tasks = Task.sort(Task.list("all")) | |
# Avoids Logic | |
priorityArray = ["", "(A) ", "(B) ", "(C) "] | |
i = 0 | |
while i < tasks.length |
This file contains 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 threading import Thread | |
from Queue import Queue | |
import sqlite3 | |
class MultiThreadOK(Thread): | |
def __init__(self, db): | |
super(MultiThreadOK, self).__init__() | |
self.db=db | |
self.reqs=Queue() | |
self.start() |
This file contains 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
article, | |
aside, | |
details, | |
figcaption, | |
figure, | |
footer, | |
header, | |
hgroup, | |
nav, | |
section { display: block } |