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
struct VDLLine | |
//VDLP Line - one VDLP line per patent | |
{ | |
unsigned short line[320*4];//,line2[320*2*16]; | |
unsigned char xCLUTB[32]; | |
unsigned char xCLUTG[32]; | |
unsigned char xCLUTR[32]; | |
unsigned int xOUTCONTROLL; | |
unsigned int xCLUTDMA; | |
unsigned int xBACKGROUND; |
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
__author__ = 'darvin' | |
import os, errno, tempfile, subprocess | |
from os.path import join | |
from optparse import OptionParser | |
def mkdir_p(path): | |
try: | |
os.makedirs(path) |
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/python | |
# -*- coding: utf-8 -*- | |
""" | |
Usage: ./safaribooksdownloader <url> "Name Of Book" | |
""" | |
import sys | |
import os, time, random | |
from pyquery import PyQuery as pq |
NewerOlder