python_code
stringlengths
0
258k
from decimal import Decimal from unittest import TestCase from bluechips import model from bluechips.model import meta from bluechips.model.types import Currency class TestExpenditure(TestCase): def setUp(self): self.u = model.User(u'chaz', u'Charles Root', False) self.e = model.Expenditure(self.u...
from unittest import TestCase from bluechips import model class TestTransfer(TestCase): def setUp(self): self.u1 = model.User('chaz', u'Charles Root', False) self.u2 = model.User('boo', u'Boo Ghost', True) self.t = model.Transfer(self.u1, self.u2, 1234) def test_constructor(self): ...
from unittest import TestCase from formencode import Invalid from bluechips.model import types class TestCurrencyValidator(TestCase): def setUp(self): self.v = types.CurrencyValidator() def test_currency_validator_good(self): assert (self.v.to_python('12.34') == types.Currency...
from unittest import TestCase from bluechips.lib import totals class TestReorderingSettle(TestCase): def test_transfer_minimized(self): """ Test that the number of transfers is actually minimized. Taken from a real-world situation, we discovered that failing to re-order the debt li...
from unittest import TestCase from pylons import request from datetime import date from bluechips.lib import helpers as h class TestHelpers(TestCase): def test_grab_real_object(self): class Foo(object): pass foo = Foo() foo.bar = 'some string' assert h.grab(foo, 'bar') =...
from unittest import TestCase from bluechips.lib import permissions class TestReorderingSettle(TestCase): def test_authenticate(self): assert permissions.authenticate({}, u'root', u'charliepass') assert not permissions.authenticate({}, u'root', u'blah') assert not permissions.authenticate({...
from datetime import date from formencode import Invalid from webhelpers.html.secure_form import token_key from bluechips.tests import * from bluechips import model from bluechips.model import meta from bluechips.model.types import Currency from bluechips.controllers.spend import ExpenditureSchema class TestSpendC...
from bluechips.tests import * class TestMobileController(TestController): def setUp(self): self.ua = ('Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) ' 'AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 ' 'Mobile/1A543a Safari/419.3') self.app.extra_environ['HTT...
from pylons import config from bluechips.tests import * from bluechips import model from bluechips.model import meta class TestUserController(TestController): def test_index(self): response = self.app.get(url_for(controller='user')) # Test response... response.mustcontain('Email Notificat...
from bluechips.tests import * class TestStatusController(TestController): def test_index(self): response = self.app.get(url_for(controller='status')) # Test response...
from datetime import date from decimal import Decimal from webhelpers.html.secure_form import token_key from bluechips.tests import * from bluechips import model from bluechips.model import meta class TestTransferController(TestController): def test_index(self): response = self.app.get(url_for(controlle...
from bluechips.tests import * class TestHistoryController(TestController): def test_index(self): response = self.app.get(url_for(controller='history')) # Test response...
from unittest import TestCase from bluechips.tests import * from bluechips import model from bluechips.model import meta from bluechips.model.types import Currency from decimal import Decimal class TestSplitFixed(TestCase): def test_simpleSplit(self): """ Test simply splitting a $100 expenditure am...
from unittest import TestCase from bluechips.tests import * from bluechips import model from bluechips.model import meta from webhelpers.number import standard_deviation as std_dev class TestSplitRandom(TestCase): @classmethod def setUpClass(cls): createUsers() @classmethod def tearDownCla...
class User(object): def __init__(self, username, name=u"", resident=True): self.username = username self.name = name self.resident = resident def __repr__(self): return '<User: %s>' % (self.username) def __str__(self): return self.name __all__ = ['User']
"""The application's model objects""" import sqlalchemy as sa from sqlalchemy import orm from bluechips.model.user import User from bluechips.model.expenditure import Expenditure from bluechips.model.split import Split from bluechips.model.subitem import Subitem from bluechips.model.transfer import Transfer from blue...
""" Define special types used in BlueChips """ import locale from decimal import Decimal, InvalidOperation import sqlalchemy as sa from formencode import validators, Invalid from bluechips.lib.subclass import SmartSubclass from weakref import WeakValueDictionary def localeconv(): "Manually install en_US for sys...
from types import Currency class Subitem(object): def __init__(self, expenditure=None, user=None, amount=Currency(0)): self.expenditure = expenditure # pragma: nocover self.user = user # pragma: nocover self.share = share # pragma: nocover def __repr__(self): return ('<...
from types import Currency class Transfer(object): def __init__(self, debtor=None, creditor=None, amount=Currency(0)): self.debtor = debtor self.creditor = creditor self.amount = amount def __repr__(self): return '<Transfer: from %s to %s for %s>' % (self.debtor, ...
from types import Currency class Split(object): def __init__(self, expenditure=None, user=None, share=Currency(0)): self.expenditure = expenditure self.user = user self.share = share def __repr__(self): return '<Split: expense: %s user: %s share: %s>' % (self.expenditure, ...
from bluechips.model.user import User from bluechips.model.split import Split from bluechips.model import meta from bluechips.model.types import Currency from decimal import Decimal from datetime import datetime import random class Expenditure(object): def __init__(self, spender=None, amount=Currency(0), descripti...
"""SQLAlchemy Metadata and Session object""" from sqlalchemy import MetaData from sqlalchemy.orm import scoped_session, sessionmaker # SQLAlchemy database engine. Updated by model.init_model() engine = None # SQLAlchemy session manager. Updated by model.init_model() Session = None # Global metadata. If you have mu...
""" Create subclasses that call out to their "superclass" for all methods but return the "subclass's" type """ def wrapper(cls, func): return (lambda self, *args: cls(getattr(self.value, func)(*map(self.value.__class__, args)))) class SmartSubclass(object): def __init__(self, superclass, exclude=None): ...
"""The application's Globals object""" import logging from pylons import config, request from paste.deploy.converters import asbool from mailer import Message log = logging.getLogger(__name__) class Globals(object): """Globals acts as a container for objects available throughout the life of the application ...
""" authkit authorization permission objects for BlueChips """ from authkit.authenticate import AddDictToEnviron from authkit.authorize import NotAuthenticatedError, NotAuthorizedError from authkit.permissions import RequestPermission from bluechips import model from bluechips.model import meta class BlueChipUser(Re...
""" Calculate the total state of the books """ from bluechips import model from bluechips.model import meta from bluechips.model.types import Currency import sqlalchemy class DirtyBooks(Exception): """ If the books don't work out, raise this """ pass def debts(): # In this scheme, negative numb...
"""Helper functions Consists of functions to typically be used within templates, but also available to Controllers. This module is available to both as 'h'. """ from datetime import date from decimal import Decimal from pylons import request from routes import url_for, redirect_to from webhelpers.html import escape, ...
"""The base Controller API Provides the BaseController class for subclassing. """ from decorator import decorator from pylons import request, session, tmpl_context as c from pylons.controllers import WSGIController from pylons.i18n import _, ungettext, N_ from pylons.templating import render_mako from mako.exceptio...
""" Calculate the current state of the books """ import logging from bluechips.lib.base import * from bluechips.lib.permissions import BlueChipResident import sqlalchemy from sqlalchemy import orm from authkit.authorize.pylons_adaptors import authorize from pylons import request from pylons.decorators import valid...
import cgi from pylons import request, tmpl_context as c from bluechips.lib.base import BaseController, render class ErrorController(BaseController): """Generates error documents as and when they are required. The ErrorDocuments middleware forwards to ErrorController when error related status codes are ...
""" Handle transfers """ import logging from datetime import date from bluechips.lib.base import * from pylons import request, app_globals as g from pylons.decorators import validate from pylons.decorators.secure import authenticate_form from pylons.controllers.util import abort from formencode import Schema, vali...
""" Handle expenditures """ import logging from decimal import Decimal, InvalidOperation from bluechips.lib.base import * from pylons import request, app_globals as g from pylons.decorators import validate from pylons.decorators.secure import authenticate_form from pylons.controllers.util import abort from formenc...
""" Calculate the current state of the books """ import logging from bluechips.lib.base import * from bluechips.lib.totals import * import sqlalchemy from sqlalchemy import orm from datetime import date, timedelta from bluechips.model.types import Currency from pylons import request log = logging.getLogger(__nam...
""" Display old transactions """ import logging from bluechips.lib.base import * from bluechips.lib.totals import * import sqlalchemy from sqlalchemy import orm log = logging.getLogger(__name__) class HistoryController(BaseController): def index(self): c.title = 'History' c.expenditure...
import os from setuptools import find_packages, setup REQUIRED_PKGS = ["torch", "transformers", "gitpython", "seaborn"] QUALITY_REQUIRE = ["black~=22.0", "flake8>=3.8.3", "isort>=5.0.0", "pyyaml>=5.3.1"] setup( name="trfs_fast", version="0.0.1.dev0", description="HuggingFace community-driven open-source...
import argparse import copy import contextlib import hashlib import os import traceback from typing import Dict from tqdm import tqdm import pandas as pd import torch import git from torch.profiler import ProfilerActivity, profile, tensorboard_trace_handler from transformers import AutoModelForCausalLM, AutoTokenizer...
""" Plots the results of a sweep for the current git hash. """ import argparse import git import matplotlib.pyplot as plt import seaborn as sns import pandas as pd DEFAULT_BATCH_SIZE = 1 DEFAULT_PROMPT_LENGTH = 1000 parser = argparse.ArgumentParser() parser.add_argument( "--sweep", type=str, choices=["...
# coding=utf-8 # Copyright 2022 HuggingFace Inc. team. All rights reserved. # # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX # and OPT implementations in this library. It has been modified from its # original forms to accommodate minor architectural differences compared # to GPT-NeoX and OPT use...
__version__ = "0.0.1.dev0"
# coding=utf-8 # Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved. # # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX # and OPT implementations in this library. It has been modified from its # original forms to accommodate minor architectural differences compared # to G...
import functools def recurse_getattr(obj, attr: str): def _getattr(obj, attr): return getattr(obj, attr) return functools.reduce(_getattr, [obj] + attr.split(".")) def recurse_hasattr(obj, attr): try: left, right = attr.split('.', 1) except: return hasattr(obj, attr) return recurse_hasatt...
# reads the config.yaml file, and prints values for use in a bash eval $() scenario, like: # eval $(python readconfig.py) # echo jenkinspassword from __future__ import print_function import yaml from os import path from os.path import join script_dir = path.dirname(path.realpath(__file__)) with open(join(script_dir,...
""" Spin up an instance, run a single command, spin it down :-) Usage: run.py [options] -- <COMMAND> ... run.py [options] <COMMAND> ... Options: --type TYPE type, eg ng0 for bfboost, or ngd3 for dual Titan X [default: ng0] --image IMAGE image [default: s1] """ from __future__ import print_function impor...
""" Usage: tail.py [options] Options: --image IMAGE image """ from __future__ import print_function import sys, os, subprocess import requests import json from docopt import docopt import yaml api_url = 'https://api.jarvice.com/jarvice' args = docopt(__doc__) image = args['--image'] with open('nimbix.yaml...
# based on https://bitbucket.org/cpbotha/indicator-cpuspeed/src # work in progress... # to run it, you'll need to, after installgin your env3 virtualenv: # pushd env3/lib/python3.5/site-packages # ln -s /usr/lib/python3/dist-packages/gi/ . # popd from __future__ import print_function, division from os import path fr...
""" Usage: launch.py [options] Options: --image IMAGE image [default: ng0] """ from __future__ import print_function import sys, os, subprocess import requests import yaml import json from docopt import docopt api_url = 'https://api.jarvice.com/jarvice' # ssh_path = '/usr/bin/ssh' args = docopt(__doc__) i...
""" Usage: launch.py """ from __future__ import print_function import sys, os, subprocess import requests import json from os import path from os.path import join from docopt import docopt import yaml api_url = 'https://api.jarvice.com/jarvice' args = docopt(__doc__) script_dir = path.dirname(path.realpath(__file...
from __future__ import print_function, unicode_literals import sys import os from os import path from os.path import join import os.path import yaml #script_dir = path.dirname(path.realpath(__file__)) def checkChanges(filepath, data): newString = yaml.safe_dump(data, default_flow_style = False ) oldString = '' ...
from __future__ import print_function import sys, os, subprocess import requests import json import argparse from os import path from os.path import join import yaml api_url = 'https://api.jarvice.com/jarvice' script_dir = path.dirname(path.realpath(__file__)) def get_jobs(config): username = config['username'] ...
from __future__ import print_function import sys import yaml from os.path import join from os import path import argparse import requests import argparse api_url = 'https://api.jarvice.com/jarvice' script_dir = path.dirname(path.realpath(__file__)) def launch(config, image, instancetype): username = config['use...
import jobs import checkchanges from os.path import join from os import path script_dir = path.dirname(path.realpath(__file__)) jobs = jobs.get_jobs() print(checkchanges.checkChanges(join(script_dir, 'nimbixinstances.txt'), jobs))
from __future__ import print_function import sys, os, subprocess import requests import json import argparse import yaml api_url = 'https://api.jarvice.com/jarvice' # ssh_path = '/usr/bin/ssh' with open('nimbix.yaml', 'r') as f: config = yaml.load(f) instancetype = None if len(sys.argv) > 2: parser = argparse....
""" Spin up an instance, run a single script, spin it down :-) Usage: run.py [options] <SCRIPTPATH> Options: --type TYPE type, eg ng0 for bfboost, or ngd3 for dual Titan X [default: ng0] --image IMAGE image [default: s1] """ from __future__ import print_function import sys import yaml import json import r...
import requests import json api_url = 'https://api.jarvice.com/jarvice' class LogTailer(object): def __init__(self, username, apikey, jobnumber): self.lines_printed = 0 self.jobnumber = jobnumber self.username = username self.apikey = apikey @staticmethod def get_last_nonblank_index(target): ...
""" Thin webservice, that wraps nimbix api, is responsible for knowing the apikey, but can only run very specific scripts in very specific ways. Its use-case is to reduce the risk that someone spawns a zillion read-only images, running arbitrary scripts. Jenkins then (for example), can then point at this service, n...
# Logic copied from PEP 513 def is_manylinux1_compatible(): # Only Linux, and only x86-64 / i686 from distutils.util import get_platform if get_platform() not in ["linux-x86_64", "linux-i686"]: return False # Check for presence of _manylinux module try: import _manylinux re...
# cf. https://github.com/pypa/manylinux/issues/53 GOOD_SSL = "https://google.com" BAD_SSL = "https://self-signed.badssl.com" import sys print("Testing SSL certificate checking for Python:", sys.version) if (sys.version_info[:2] < (2, 7) or sys.version_info[:2] < (3, 4)): print("This version never checks SSL...
# Utility script to print the python tag + the abi tag for a Python # See PEP 425 for exactly what these are, but an example would be: # cp27-cp27mu from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag print("{0}{1}-{2}".format(get_abbr_impl(), get_impl_ver(), get_abi_tag()))
import botocore import boto3 import os from os import walk from tqdm import tqdm import gzip if not os.path.exists('cache'): os.makedirs('cache') s3 = boto3.resource('s3') client = boto3.client('s3') bucket = s3.Bucket('pytorch') print('Downloading log files') for key in tqdm(bucket.objects.filter(Prefix='cflogs...
#!/usr/bin/env python import codecs import os.path import re import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read(*parts): return codecs.open(os.path.join(here, *parts), 'r').read() def find_version(*file_paths): version_file = read(*file_paths...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
from tests import unittest from botocore import model from botocore.compat import OrderedDict def test_missing_model_attribute_raises_exception(): # We're using a nose test generator here to cut down # on the duplication. The property names below # all have the same test logic. service_model = model...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
#!/usr/bin/env python # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License ...
#!/usr/bin/env # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "l...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
#!/usr/bin/env # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is loca...
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
#!/usr/bin/env # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is loca...
#!/usr/bin/env # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "licens...
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http...
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http...
# Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights ...
#!/usr/bin/env # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "licens...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
"""Additional tests for request serialization. While there are compliance tests in tests/unit/protocols where the majority of the request serialization/response parsing is tested, this test module contains additional tests that go above and beyond the spec. This can happen for a number of reasons: * We are testing p...
from tests import unittest from datetime import datetime import decimal from botocore.compat import six from botocore.model import ShapeResolver from botocore.validate import ParamValidator BOILER_PLATE_SHAPES = { 'StringType': { 'type': 'string' } } class BaseTestValidate(unittest.TestCase): d...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
#!/usr/bin/env # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "licens...
# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
from tests import unittest import mock from botocore.history import HistoryRecorder from botocore.history import BaseHistoryHandler from botocore.history import get_global_history_recorder class TerribleError(Exception): pass class ExceptionThrowingHandler(BaseHistoryHandler): def emit(self, event_type, p...
#!/usr/bin/env # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is loca...
#!/usr/bin/env python # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the ...
# Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http...
#!/usr/bin/env # Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is loca...