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
| You now own BRINK, BRINK Spec Ops DLC, BRINK Psycho Ops DLC, BRINK Doom Pack | |
| DLC, BRINK Fallout Pack DLC, Brink Agents of Change DLC, Fallout: New Vegas, | |
| Hunted: The Demon's Forge, Fallout New Vegas CaravanPack, Fallout New Vegas | |
| ClassicPack, Fallout New Vegas: Courier's Stash, Fallout New Vegas TribalPack, | |
| GECK - New Vegas Edition, Fallout New Vegas: Dead Money, Fallout New Vegas: | |
| Honest Hearts, Fallout New Vegas Old World Blues, Fallout New Vegas: Lonesome | |
| Road DLC, Fallout New Vegas: Gun Runners' Arsenal, The Elder Scrolls V: | |
| Skyrim, Creation Kit, Medieval II: Total War, Rome: Total War Gold Edition, | |
| Rome: Total War - Alexander, Medieval II: Total War Kingdoms, Empire: Total | |
| War, Empire: Total War - Special Forces Unit, Empire: Total War - Dahomey |
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
| $SU = "0" | |
| #Region | |
| #AutoIt3Wrapper_UseUpx=n | |
| #AutoIt3Wrapper_res_requestedExecutionLevel=asInvoker | |
| #EndRegion | |
| Global Const $137 = 1 | |
| Global Const $140 = 24 | |
| Global Const $139 = -268435456 | |
| Global Const $105 = 4 | |
| Global Const $106 = 2 |
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
| class ClassFlags(Flags): | |
| """ | |
| :class:~jawa.classfile.ClassFile access flags. | |
| """ | |
| def __init__(self): | |
| super(ClassFlags, self).__init__('>H', { | |
| 'acc_public': 0x0001, | |
| 'acc_final': 0x0010, | |
| 'acc_super': 0x0020, | |
| 'acc_interface': 0x0200, |
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
| # -*- coding: utf8 -*- | |
| __all__ = ('Flags',) | |
| import struct | |
| class Flags(object): | |
| """ | |
| Convience class for handling bit flags. | |
| """ | |
| def __init__(self, binary_format, flags): |
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 gevent | |
| from utopia import Network | |
| def join_channels(event, *args): | |
| event.origin.send('join', '#botwar') | |
| network = Network('Freenode') | |
| network.servers.add_server('irc.freenode.net', 6667) |
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
| if __name__ == '__main__': | |
| import sys | |
| from jawa import JarFile, ConstantString | |
| try: | |
| from cStringIO import StringIO | |
| except ImportError: | |
| from StringIO import StringIO | |
| with JarFile(sys.argv[1]) as jf: |
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
| ~/Projects/jawa2(branch:dev*) » python examples/disassemble.py ../minecraft/ajk.class tyler@jawa | |
| ; ---------------------------------------------- constant pool | |
| ; ------------------------------------------------- total: 118 | |
| ; 0001: ConstantFloat(value='ConstantFloat') | |
| ; 0002: ConstantFloat(value='ConstantFloat') | |
| ; 0003: ConstantFloat(value='ConstantFloat') | |
| ; 0004: ConstantFloat(value='ConstantFloat') | |
| ; 0005: ConstantFloat(value='ConstantFloat') | |
| ; 0006: ConstantClass(name=ConstantUTF8(value='aco')) | |
| ; 0007: ConstantClass(name=ConstantUTF8(value='aig')) |
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 sys | |
| from datetime import datetime | |
| from collections import namedtuple | |
| Message = namedtuple('Message', [ | |
| 'title', | |
| 'description', | |
| 'location', | |
| 'added', |
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 | |
| # -*- coding: utf8 -*- | |
| """ | |
| An example showing how to create a "Hello World" class from scratch. | |
| """ | |
| from jawa import ClassFile | |
| from jawa.assemble import assemble | |
| if __name__ == '__main__': | |
| cf = ClassFile.create('HelloWorld') |
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"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Foreground Color</key> | |
| <dict> | |
| <key>Red Component</key> | |
| <real>0.776470588235294</real> | |
| <key>Blue Component</key> | |
| <real>0.482352941176471</real> |