code
stringlengths
1
1.72M
language
stringclasses
1 value
import types from header_game_menus import * from module_info import * from module_game_menus import * from module_parties import * from process_operations import * from process_common import * def save_parties(parties): file = open(export_dir + "parties.txt","w") file.write("partiesfile version 1\n"...
Python
from module_info import * from process_common import * from process_operations import * print "Checking global variable usages..." variable_uses = [] variables = load_variables(export_dir,variable_uses) i = 0 while (i < len(variables)): if (variable_uses[i] == 0): print "WARNING: Global variable neve...
Python
from header_common import * from module_info import * from module_sounds import * def write_python_header(sounds): file = open("./ID_sounds.py","w") for i_sound in xrange(len(sounds)): file.write("snd_%s = %d\n"%(sounds[i_sound][0],i_sound)) file.write("\n\n") file.close() def write_sounds(soun...
Python
mesh_pic_bandits = 0 mesh_pic_mb_warrior_1 = 1 mesh_pic_messenger = 2 mesh_pic_prisoner_man = 3 mesh_pic_prisoner_fem = 4 mesh_pic_prisoner_wilderness = 5 mesh_pic_siege_sighted = 6 mesh_pic_siege_sighted_fem = 7 mesh_pic_camp = 8 mesh_pic_payment = 9 mesh_pic_escape_1 = 10 mesh_pic_escape_1_fem = 11 mesh_p...
Python
arf_blend_in_0 = 0x00000001 arf_blend_in_1 = 0x00000002 arf_blend_in_2 = 0x00000003 arf_blend_in_3 = 0x00000004 arf_blend_in_4 = 0x00000005 arf_blend_in_5 = 0x00000006 arf_blend_in_6 = 0x00000007 arf_blend_in_7 ...
Python
from header_common import * from header_parties import * from ID_troops import * from ID_factions import * from ID_party_templates import * from ID_map_icons import * #################################################################################################################### # Each party record contai...
Python
sf_base_att_str = 0x000 sf_base_att_agi = 0x001 sf_base_att_int = 0x002 sf_base_att_cha = 0x003 sf_effects_party = 0x010 sf_inactive = 0x100 skl_trade = 0 skl_leadership = 1 skl_prisoner_management = 2 skl_reserved_1 = 3 skl_reserved_2 = 4 skl_reserved_3 = 5 sk...
Python
import string from module_info import * from module_quests import * from process_common import * def save_quests(): ofile = open(export_dir + "quests.txt","w") ofile.write("questsfile version 1\n") ofile.write("%d\n"%(len(quests))) for i_quest in xrange(len(quests)): quest = quests[i_quest] ...
Python
from module_info import * from module_scenes import * from process_common import * def save_python_header(): ofile = open("./ID_scenes.py","w") for i_scene in xrange(len(scenes)): ofile.write("scn_%s = %d\n"%(convert_to_identifier(scenes[i_scene][0]),i_scene)) ofile.close() print "Exporting scen...
Python
from header_common import * from header_scene_props import * from header_operations import * from header_triggers import * from header_sounds import * from module_constants import * import string ###################################################################################################################...
Python
import string from header_common import * from module_info import * from module_strings import * from process_common import * def save_strings(strings): ofile = open(export_dir + "strings.txt","w") ofile.write("stringsfile version 1\n") ofile.write("%d\n"%len(strings)) for i_string in xrange(len(st...
Python
from header_factions import * #################################################################################################################### # Each faction record contains the following fields: # 1) Faction id: used for referencing factions in other files. # The prefix fac_ is automatically added befo...
Python
from module_info import * from module_factions import * from process_common import * faction_name_pos = 0 faction_flags_pos = 2 faction_coherence_pos = 3 faction_relations_pos = 4 faction_ranks_pos = 5 def compile_relations(): relations = [] for i in xrange(len(factions)): r = [0.0 for j in ran...
Python
from header_common import * from header_parties import * from ID_troops import * from ID_factions import * from ID_map_icons import * pmf_is_prisoner = 0x0001 #################################################################################################################### # Each party template record con...
Python
prsnt_game_credits = 0 prsnt_banner_selection = 1 prsnt_custom_banner = 2 prsnt_banner_charge_positioning = 3 prsnt_banner_charge_selection = 4 prsnt_banner_background_selection = 5 prsnt_banner_flag_type_selection = 6 prsnt_banner_flag_map_type_selection = 7 prsnt_color_selection = 8 prsnt_marshall_selection ...
Python
import string from header_common import * from module_info import * from module_skills import * from process_common import * skill_name_pos = 1 skill_attribute_pos = 2 skill_max_level_pos= 3 skill_desc_pos = 4 def save_skills(): ofile = open(export_dir + "skills.txt","w") ofile.write("%d\n"%(len(...
Python
from module_info import * from module_particle_systems import * from process_common import * id_pos = 0 flags_pos = 1 mesh_name_pos = 2 num_particles_pos = 3 life_pos = 4 damping_pos = 5 gravity_pos = 6 turb_size_pos = 7 turb_wt_pos = 8 alpha_key_pos = 9 red_key_pos = alpha_...
Python
pt_none = 0 pt_rescued_prisoners = 1 pt_enemy = 2 pt_hero_party = 3 pt_village_defenders = 4 pt_cattle_herd = 5 pt_looters = 6 pt_manhunters = 7 pt_steppe_bandits = 8 pt_forest_bandits = 9 pt_mountain_bandits = 10 pt_sea_raiders = 11 pt_deserters = 12 pt_merchant_caravan = 13 pt_troublesome_bandits = 14 ...
Python
from header_map_icons import * from module_constants import * from header_operations import * from header_triggers import * from ID_sounds import * #################################################################################################################### # Each map icon record contains the following ...
Python
trp_player = 0 trp_temp_troop = 1 trp_game = 2 trp_unarmed_troop = 3 trp_random_town_sequence = 4 trp_tournament_participants = 5 trp_tutorial_maceman = 6 trp_tutorial_archer = 7 trp_tutorial_swordsman = 8 trp_novice_fighter = 9 trp_regular_fighter = 10 trp_veteran_fighter = 11 trp_champion_fighter = 12 tr...
Python
from header_common import * from ID_animations import * from header_mission_templates import * from header_tableau_materials import * from header_items import * from module_constants import * #################################################################################################################### # ...
Python
import string from module_info import * from module_presentations import * from ID_meshes import * from process_common import * from process_operations import * def save_presentations(variable_list,variable_uses,tag_uses,quick_strings): ofile = open(export_dir + "presentations.txt","w") ofile.write("p...
Python
#import string #import types from module_info import * from module_triggers import * from module_dialogs import * from module_simple_triggers import * from module_presentations import * from process_common import * from process_operations import * #----------------------------------------------------...
Python
# Point export_dir to the folder you will be keeping your module # Make sure you use forward slashes (/) and NOT backward slashes (\) export_dir = "D:/Game/Mount&Blade/Modules/Test/"
Python
import string from header_common import * from module_info import * from module_meshes import * from process_common import * def save_meshes(): ofile = open(export_dir + "meshes.txt","w") ofile.write("%d\n"%len(meshes)) for i_mesh in xrange(len(meshes)): mesh = meshes[i_mesh] ofile.write("me...
Python
from header_common import * from header_skills import * #################################################################################################################### # Each skill contains the following fields: # 1) Skill id (string): used for referencing skills in other files. The prefix skl_ is automati...
Python
strings = [ ("no_string", "NO STRING!"), ("empty_string", " "), ("yes", "Yes."), ("no", "No."), # Strings before this point are hardwired. ("blank_string", " "), ("error_string", "ERROR!!!ERROR!!!!ERROR!!!ERROR!!!ERROR!!!ERROR!!!!ERROR!!!ERROR!!!!ERROR!!!ERROR!!!!ERROR!!!ERROR!!!!ERROR!!!ERROR!!!!E...
Python
from header_particle_systems import * #psf_always_emit = 0x0000000002 #psf_global_emit_dir = 0x0000000010 #psf_emit_at_water_level = 0x0000000020 #psf_billboard_2d = 0x0000000100 # up_vec = dir, front rotated towards camera #psf_billboard_3d = 0x0000000200 # front_vec point to camera. #p...
Python
p_main_party = 0 p_temp_party = 1 p_camp_bandits = 2 p_temp_party_2 = 3 p_temp_casualties = 4 p_temp_casualties_2 = 5 p_temp_casualties_3 = 6 p_temp_wounded = 7 p_temp_killed = 8 p_main_party_backup = 9 p_encountered_party_backup = 10 p_collective_friends_backup = 11 p_player_casualties = 12 p_enemy_casual...
Python
from header_meshes import * #################################################################################################################### # Each mesh record contains the following fields: # 1) Mesh id: used for referencing meshes in other files. The prefix mesh_ is automatically added before each mesh id....
Python
from module_info import * from module_simple_triggers import * from process_common import * from process_operations import * def save_simple_triggers(variable_list,variable_uses,triggers,tag_uses,quick_strings): file = open(export_dir + "simple_triggers.txt","w") file.write("simple_triggers_file version 1...
Python
import string import types from process_common import * from header_common import * from header_operations import * from module_strings import * from module_skills import * from module_music import * from module_meshes import * from module_sounds import * from module_items import * from module_troops imp...
Python
skl_trade = 0 skl_leadership = 1 skl_prisoner_management = 2 skl_reserved_1 = 3 skl_reserved_2 = 4 skl_reserved_3 = 5 skl_reserved_4 = 6 skl_persuasion = 7 skl_engineer = 8 skl_first_aid = 9 skl_surgery = 10 skl_wound_treatment = 11 skl_inventory_management = 12 skl_spotting = 13 skl_pathfinding = 14 skl...
Python
from header_common import * from header_operations import * from header_triggers import * from header_scenes import * from module_constants import * #################################################################################################################### # Each scene record contains the following fi...
Python
from module_info import * from module_party_templates import * #from process_operations import * from process_common import * def save_party_template_troop(file,troop): if troop: # add_tag_use(tag_uses,tag_troop,troop[0]) file.write("%d %d %d "%(troop[0],troop[1],troop[2])) if (len(troop) > 3...
Python
from header_common import * from header_operations import * from header_parties import * from header_items import * from header_skills import * from header_triggers import * from header_troops import * from module_constants import * ###########################################################################...
Python
from header_music import * #################################################################################################################### # Each track record contains the following fields: # 1) Track id: used for referencing tracks. # 2) Track file: filename of the track # 3) Track flags. See header_musi...
Python
import string import types from module_info import * from module_triggers import * from module_dialogs import * from process_common import * from process_operations import * speaker_pos = 0 ipt_token_pos = 1 sentence_conditions_pos = 2 text_pos = 3 opt_token_pos = 4 sentence_consequences_pos = 5 ...
Python
import string from header_common import * from module_info import * from module_music import * from process_common import * def save_python_header(): ofile = open("./ID_music.py","w") for i_track in xrange(len(tracks)): ofile.write("track_%s = %d\n"%(tracks[i_track][0],i_track)) ofile.write("\n\n")...
Python
track_bogus = 0 track_mount_and_blade_title_screen = 1 track_ambushed_by_neutral = 2 track_ambushed_by_khergit = 3 track_ambushed_by_nord = 4 track_ambushed_by_rhodok = 5 track_ambushed_by_swadian = 6 track_ambushed_by_vaegir = 7 track_arena_1 = 8 track_armorer = 9 track_bandit_fight = 10 track_calm_night_1 ...
Python
leave_wo_battle = 0 leave_during_battle = 1 cancel_attack = 2 speak = 3 intend_battle = 4 cancel_reinforce = 5 surrender = 6 stay_back = 7 charge = 8 stay_back_with_ally = 9 charge_with_ally = 10
Python
from ID_items import * from ID_quests import * from ID_factions import * ############################################################## # These constants are used in various files. # If you need to define a value that will be used in those files, # just define it here rather than copying it across each file, so ...
Python
script_game_start = 0 script_game_event_party_encounter = 1 script_game_event_simulate_battle = 2 script_game_event_battle_end = 3 script_order_best_besieger_party_to_guard_center = 4 script_game_get_item_buy_price_factor = 5 script_game_get_item_sell_price_factor = 6 script_get_trade_penalty = 7 script_game_ev...
Python
# -*- coding: cp1254 -*- from header_common import * from header_operations import * from module_constants import * from header_parties import * from header_skills import * from header_mission_templates import * from header_items import * from header_triggers import * from header_terrain_types import * from h...
Python
file = open("module_scripts.py","r") lines = file.readlines() file.close() file = open("module_scripts.py","w") level = 0 for line in lines: line = line.strip() acceptableindex = line.find("#") if (acceptableindex == -1): acceptableindex = len(line) level -= line.count("try_end", 0, acceptab...
Python
icon_player = 0 icon_player_horseman = 1 icon_gray_knight = 2 icon_vaegir_knight = 3 icon_flagbearer_a = 4 icon_flagbearer_b = 5 icon_peasant = 6 icon_khergit = 7 icon_khergit_horseman_b = 8 icon_axeman = 9 icon_woman = 10 icon_woman_b = 11 icon_town = 12 icon_town_steppe = 13 icon_village_a = 14 icon_vi...
Python
from header_common import * from header_operations import * from header_parties import * from header_items import * from header_skills import * from header_triggers import * from header_troops import * from header_music import * from module_constants import * ###############################################...
Python
import random from header_common import * from header_items import * from header_troops import * from header_skills import * from ID_factions import * from ID_items import * from ID_scenes import * ##############################################################################################################...
Python
from module_constants import * from header_items import * from header_operations import * from header_triggers import * #################################################################################################################### # Each item record contains the following fields: # 1) Item id: used for...
Python
import string import types from module_info import * from module_mission_templates import * from process_common import * from process_operations import * mission_template_name_pos = 0 mission_template_flags_pos = 1 mission_template_types_pos = 2 mission_template_desc_pos = 3 mission_template_groups_pos ...
Python
from module_info import * import os print "Initializing..." try: os.remove(export_dir + 'tag_uses.txt') except: a = [] try: os.remove(export_dir + 'quick_strings.txt') except: a = []
Python
#!/usr/bin/python """A scraper for formspring.me that saves all of a users questions and answers. It stores them into a sqlite database. To see how to use this script, run it without any arguments. When the formspring API goes public, remove the 'beta-' from the variable called API_LOCATION below. """ __author__ = 'm...
Python
#!/usr/bin/python """A tool to report some statistics about a formspring account based on a sqlite database generated with formspringscrape. To see how to use this, run it without any arguments. """ import collections import operator import os import re import sqlite3 import sys NUM_MOST_COMMON_WORDS = 15 # Stop wo...
Python
#!/usr/bin/python """A scraper for formspring.me that saves all of a users questions and answers. It stores them into a sqlite database. To see how to use this script, run it without any arguments. When the formspring API goes public, remove the 'beta-' from the variable called API_LOCATION below. """ __author__ = 'm...
Python
#!/usr/bin/python """A tool to report some statistics about a formspring account based on a sqlite database generated with formspringscrape. To see how to use this, run it without any arguments. """ import collections import operator import os import re import sqlite3 import sys NUM_MOST_COMMON_WORDS = 15 # Stop wo...
Python
#!python """Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() If you want to require a specific version of setuptools...
Python
from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup(name='Formosa', version='0.2dev', description='Package for processing user input to Web applications', author='Nick Murphy', author_email='njmurphy@gmail.com', packages=find_packages())
Python
""" Translation of raw user input into validated Python values. The field protocol consists of the following three methods: - ``required(self)``: Return whether a value is mandatory for the field. - ``has_value(self, input)``: Return whether a value has been provided for the field in the given ``MultiDict`` of use...
Python
from nose.tools import assert_raises from datetime import date from webob.multidict import MultiDict as MD from formosa import ErrorSet, Form, fields, validators class TestErrorSet(object): def setup(self): self.errors = ErrorSet() self.errors.add('Please enter a value', set(['name'])) self...
Python
""" Higher-level constraints on mappings of translated user input. Fields provide what might be considered rudimentary validation during translation, but they are limited in scope to single values. Because validators work on entire dictionaries of values, they can implement much more elaborate rules enforcing pattern...
Python
""" Processing of user input to Web applications. Because the Web is not a trusted environment, all input is considered tainted. Further, as HTTP is a simple protocol, only one type of data may be given as input: strings. It is the job of this module to enable applications to assert that input is well-formed and vali...
Python
#!python """Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() If you want to require a specific version of setuptools...
Python
from googlevoice import Voice,util voice = Voice() voice.login() util.pprint(voice.settings)
Python
from googlevoice import Voice voice = Voice() voice.login() for message in voice.sms().messages: if message.isRead: message.delete()
Python
from googlevoice import Voice,util voice = Voice() voice.login() folder = voice.search(util.input('Search query: ')) util.print_('Found %s messages: ', len(folder)) util.pprint(folder.messages)
Python
# #SMS test via Google Voice # #John Nagle # nagle@animats.com # from googlevoice import Voice import sys import BeautifulSoup def extractsms(htmlsms) : """ extractsms -- extract SMS messages from BeautifulSoup tree of Google Voice SMS HTML. Output is a list of dictionaries, one per me...
Python
from googlevoice import Voice,util voice = Voice() voice.login() util.pprint(voice.phones)
Python
from googlevoice import Voice download_dir = '.' voice = Voice() voice.login() for message in voice.voicemail().messages: message.download(download_dir)
Python
from googlevoice import Voice from googlevoice.util import input voice = Voice() voice.login() phoneNumber = input('Number to send message to: ') text = input('Message text: ') voice.send_sms(phoneNumber, text)
Python
from googlevoice import Voice,util voice = Voice() voice.login() for message in voice.voicemail().messages: util.print_(message)
Python
from googlevoice import Voice,util,settings voice = Voice() voice.login() for feed in settings.FEEDS: util.print_(feed.title()) for message in getattr(voice, feed)().messages: util.print_('\t', message)
Python
from googlevoice import Voice from googlevoice.util import input voice = Voice() voice.login() outgoingNumber = input('Number to call: ') forwardingNumber = input('Number to call from [optional]: ') or None voice.call(outgoingNumber, forwardingNumber) if input('Calling now... cancel?[y/N] ').lower() == 'y': voi...
Python
from distutils.core import setup README = """Python Google Voice ==================== Joe McCall & Justin Quick Exposing the Google Voice "API" to the Python language ------------------------------------------------------- Google Voice for Python Allows you to place calls, send sms, download voicemail, and check t...
Python
DEFAULT_CONFIG = """ [auth] # Google Account email address (one associated w/ your Voice account) email= # Raw password used or login password= [gvoice] # Number to place calls from (eg, your google voice number) forwardingNumber= # Default phoneType for your forwardingNumber as defined below # 1 - Hom...
Python
from googlevoice import Voice, util from os import path, remove from unittest import TestCase, main class VoiceTest(TestCase): voice = Voice() voice.login() outgoing = util.input('Outgoing number (blank to ignore call tests): ') forwarding = None if outgoing: forwarding = util.input('Forwar...
Python
from conf import config from util import * import settings import os if settings.DEBUG: import logging logging.basicConfig() log = logging.getLogger('PyGoogleVoice') log.setLevel(logging.DEBUG) else: log = None class Voice(object): """ Main voice instance for interacting with the Google Vo...
Python
import re from sys import stdout from xml.parsers.expat import ParserCreate from time import gmtime from datetime import datetime from pprint import pprint try: from urllib2 import build_opener,install_opener, \ HTTPCookieProcessor,Request,urlopen,HTTPError from urllib import urlencode,quote except Impo...
Python
""" This project aims to bring the power of the Google Voice API to the Python language in a simple, easy-to-use manner. Currently it allows you to place calls, send sms, download voicemails/recorded messages, and search the various folders of your Google Voice Accounts. You can use the Python API or command line s...
Python
from ConfigParser import ConfigParser, NoOptionError import os import settings class Config(ConfigParser): """ ``ConfigParser`` subclass that looks into your home folder for a file named ``.gvoice`` and parses configuration data from it. """ def __init__(self): self.fname = os.path.expandu...
Python
#!/usr/bin/python import socket import sys import struct import time # debug VERBOSE = True def D(msg): if VERBOSE: print(msg) # "struct fbinfo" is defined in $T/system/core/adb/framebuffer_service.c def fbinfo_unpack(data): keys = ("version", "bpp", "size", "width", ...
Python
import unittest from tempfile import NamedTemporaryFile from forpp import TextBlock, Parser, FunctionBlock, IfBlock, ForppException, ForBlock, MacroBlock class TestReplace(unittest.TestCase): def test_expand_simple_variable(self): string = [ '<FOO>' ] exp = [ 'hel...
Python
#!/usr/bin/env python import sys import re from collections import deque from itertools import izip_longest, izip #======================================================================================================================= class ForppException(Exception): pass #======================================...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- # LCS(longest common subsequence) problem # see Introduction to Algorithms, p.350~355 # author: Forrest Y. Yu <forrest.yu@gmail.com>, http://forrestyu.net/ import sys class color(object): BLACK = "\033[0;30m" RED = "\033[0;31m" GREEN = "\033[0;...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- # CLRS Problem 15-2 Printing neatly # author: Forrest Y. Yu <forrest.yu@gmail.com>, http://forrestyu.net/ import sys import re INFTY = float('inf') paragraph = ( """Python is a high-level, structured, open-source programming language that can be used for a wide var...
Python
#!/usr/bin/python # $Id: rst2html.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing HTML. Hacked by Forrest Y. Yu <forrest.yu@gmail.com> @ Jun.2011 One more di...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # Batch rename flac filenames. New filenames are based on CUE info. # author: Forrest Y. Yu <forrest.yu@gmail.com>, http://forrestyu.net/ import sys import os import subprocess import re def print_usage_and_exit(): print "Usage: "+sys.argv[0]+" cue_file flac_filename_pre...
Python
""" ReStructuredText Hack ===================== :author: Forrest Y. Yu <forrest.yu@gmail.com>, http://forrestyu.net/ directive ``colorcode`` ----------------------- .. colorcode:: c int main() { printf("Hello world!\n"); return 0; } role ``mil`` ------------ (``mil`` stands for math-inline) foo :mil:`W \a...
Python
# # -*- coding: UTF-8 -*- from google.appengine.tools import bulkloader from google.appengine.ext import db #from fortune import Fortunes from datetime import datetime fmt="%Y-%m-%d %H:%M:%S" class Fortunes(db.Model): fortune = db.StringProperty(multiline=True) author = db.StringProperty() categories = db...
Python
#!/usr/bin/env python # -*- coding: UTF-8 -*- # from google.appengine.ext import webapp from google.appengine.api import users from google.appengine.ext.webapp import util from google.appengine.ext import db from google.appengine.api import memcache import os.path from fortune import Fortunes import random import logg...
Python
#!/usr/bin/env python # -*- coding: UTF-8 -*- from google.appengine.ext import db from datetime import datetime class Fortunes(db.Model): fortune = db.StringProperty(multiline=True) author = db.StringProperty() categories = db.ListProperty(db.Category) rating = db.RatingProperty() lastshown = db.Da...
Python
#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softwar...
Python
""" JSON Web Token implementation Minimum implementation based on this spec: http://self-issued.info/docs/draft-jones-json-web-token-01.html """ import base64 import hashlib import hmac try: import json except ImportError: import simplejson as json __all__ = ['encode', 'decode', 'DecodeError'] class Dec...
Python
SELLER_ID = "BOGUS_SELLER_ID" SELLER_SECRET = "BOGUS_SELLER_SECRET"
Python
#!/usr/bin/env python # -*- encoding:utf8 -*- # protoc-gen-erl # Google's Protocol Buffers project, ported to lua. # https://code.google.com/p/protoc-gen-lua/ # # Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com # All rights reserved. # # Use, modification and distribution are subject to the "New BSD License" #...
Python
#!/usr/bin/env python # -*- encoding:utf8 -*- # protoc-gen-erl # Google's Protocol Buffers project, ported to lua. # https://code.google.com/p/protoc-gen-lua/ # # Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com # All rights reserved. # # Use, modification and distribution are subject to the "New BSD License" #...
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with ...
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
Python
##-***************************************************************************** ## ## Copyright (c) 2009-2011, ## Sony Pictures Imageworks, Inc. and ## Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. ## ## All rights reserved. ## ## Redistribution and use in source and binary forms, with...
Python