==[ONLY for Ubuntu]== Install libmysqlclient-dev
$ sudo apt-get install libmysqlclient-devInstall mysqlclient.
| <?xml version="1.0" encoding="UTF-8" standalone="no" ?> | |
| <LoginDialog> | |
| <Days>1</Days> | |
| <AutoFindServer>0</AutoFindServer> | |
| <AutoFindMaxTime>1</AutoFindMaxTime> | |
| <DontShowAtStartup>1</DontShowAtStartup> | |
| <Servers> | |
| <Server>license-server.org.my:5053</Server> | |
| </Servers> | |
| <Modules> |
| # This file parses this file: | |
| # https://github.com/Piker-Alpha/macosxbootloader/blob/El-Capitan/src/boot/NetBootImages.h | |
| # and this one: | |
| # https://github.com/Piker-Alpha/macosxbootloader/blob/El-Capitan/src/boot/AppleLogoData.h | |
| from ctypes import CDLL, create_string_buffer, c_size_t, c_void_p | |
| import re | |
| CPK = CDLL('/System/Library/PrivateFrameworks/PackageKit.framework/Versions/Current/PackageKit') | |
| lzvn_decode = CPK.lzvn_decode |
| #!/usr/bin/python | |
| import objc | |
| import plistlib | |
| class attrdict(dict): | |
| __getattr__ = dict.__getitem__ | |
| __setattr__ = dict.__setitem__ | |
| ServerInformation = attrdict() |
| 1Password 2.12.1 ['/Applications/1Password.app', '/Library/InputManagers/1PasswdIM/1PasswdIM.bundle'] | |
| 3D Weather Globe Screensaver 1.0 ['/Library/Screen Savers/3D Weather Globe Deluxe Edition.saver', '/Library/Screen Savers/3D Weather Globe 2.saver'] | |
| ADmitMac 9.0.1 | |
| AirDisplay 1.6.3 ['/System/Library/Extensions/AVFrameBuffer.kext', '/System/Library/Extensions/AVVideoCard.kext'] | |
| AJA 12.2.1 | |
| AJA IOHD Driver 6.0.3 | |
| Antidote HD 7.2 | |
| App Tamer 2.0.5 | |
| AT&T Laptop Connect Card 1.0.4 | |
| Avast Mac Security 10.14 |
| import os.path, base64 | |
| from ctypes import CDLL, Structure, POINTER, byref, addressof, create_string_buffer, c_int, c_uint, c_ubyte, c_void_p, c_size_t | |
| from CoreFoundation import kCFStringEncodingUTF8 | |
| # Wheee! | |
| Security = CDLL('/System/Library/Frameworks/Security.Framework/Versions/Current/Security') | |
| # I don't use the pyObjC CoreFoundation import because it attempts to bridge between CF, NS, and python. | |
| # When you try to mix it with Security.Foundation (pure C / CF), you get nasty results. | |
| # So I directly import CoreFoundation to work with CFTypes to keep it pure of NS/python bridges. | |
| CFoundation = CDLL('/System/Library/Frameworks/CoreFoundation.Framework/Versions/Current/CoreFoundation') |