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 | |
| import sys | |
| import xmlrpclib | |
| # declare some variables for later use: | |
| VERSION = "1.0" | |
| NAME = "sipgateAPI-phonebook.py" | |
| VENDOR = "someone nice" |
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 objc | |
| import AddressBook as ab | |
| import pprint as pp | |
| def pythonize(objc_obj): | |
| if isinstance(objc_obj, objc.pyobjc_unicode): | |
| return unicode(objc_obj) | |
| elif isinstance(objc_obj, ab.NSDate): | |
| return objc_obj.description() |
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
| [account] | |
| user: spam | |
| passwd: eggs |
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 | |
| import json, urllib | |
| API_KEY='4e088145797261e10a000000_DA858CAE16' | |
| API_BASE = 'http://deepbit.net/api/' | |
| class Deepbit(object): | |
| @staticmethod | |
| def get_stats(api_key): |
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
| #!/bin/bash | |
| # This is the modified version from http://ubuntuforums.org/showthread.php?p=5777836#post5777836 | |
| # And further modified by Philipp Klaus <http://blog.philippklaus.de> | |
| # must have imagemagick installed | |
| CURRENTLOCATION=`pwd` | |
| SIZE=`zenity --list --title="Choose the thumbnail's size" --radiolist --column="Check" --column="Size" "" "320x240" "" "640x480" "" "800x600" "" "1024x768"` |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <OVERDRIVE_PROFILE> | |
| <PERFORMANCE_LEVEL level="2" gpu="82000" mem="125000" voltage="1100"/> | |
| <PERFORMANCE_LEVEL level="1" gpu="50000" mem="125000" voltage="1000"/> | |
| <PERFORMANCE_LEVEL level="0" gpu="25000" mem="15000" voltage="900"/> | |
| <FAN_SETTING percentage="AUTO"/> | |
| <FAN_CTRL enabled="yes"/> | |
| <FAN_CTRL_CURVE type="2"/> | |
| <FAN_CTRL_POINT nr="0" temperature="2000" percentage="0"/> | |
| <FAN_CTRL_POINT nr="1" temperature="7500" percentage="500"/> |
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: UTF8 -*- | |
| # Author: Philipp Klaus, philipp.l.klaus AT web.de | |
| # This file is part of PfeifferVacuum.py. | |
| # | |
| # PfeifferVacuum.py is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or |
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: UTF8 -*- | |
| import sys | |
| import re | |
| def main(*args): | |
| if len(args)<2: | |
| usage_and_exit(args) | |
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
| philipp@lion:~$ opensc-tool --list-readers | |
| # Detected readers (pcsc) | |
| Nr. Card Features Name | |
| 0 No PIN pad REINER SCT cyberJack RFID komfort 00 00 |
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
| philipp@lion:~/Downloads/ccid-1.4.4$ ./MacOSX/configure | |
| + ./configure 'CFLAGS= -DRESPONSECODE_DEFINED_IN_WINTYPES_H -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64' PCSC_CFLAGS=-I/Users/philipp/Downloads/ccid-1.4.4/MacOSX 'PCSC_LIBS=-framework PCSC' LIBUSB_CFLAGS=-I/usr/local/include/libusb-1.0 'LIBUSB_LIBS=/usr/local/lib/libusb-1.0.a -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation' LDFLAGS= --enable-usbdropdir=/usr/libexec/SmartCardServices/drivers --disable-dependency-tracking --disable-static --disable-pcsclite --enable-composite-as-multislot | |
| checking for a BSD-compatible install... /usr/bin/install -c | |
| checking whether build environment is sane... yes | |
| checking for a thread-safe mkdir -p... ./install-sh -c -d | |
| checking for gawk... no | |
| checking for mawk... no | |
| checking for nawk... no | |
| checking for awk... awk | |
| checking whether make sets $(MAKE)... yes |