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
2......jump.to.line.number.2048......................................................... | |
8......print_to_console.my.var.is.prty.lngly.named.but.................................. | |
32.........return.value.of.type.(*integer*).function.main(array.of.arguments):.......... | |
128....var.this.variable.has.some.length.but.is.luckily.longer.and.different.enough.<==:.1 | |
2048...jump.to.line.number.32........................................................... | |
8192...var.my.variable.is.pretty.longly.named.but.<==:.<<Hello\\.World!\\.newline>>..... | |
131072.from.current_directory.import.C://usr/local/lib/ericscript0\\\.1/standard_library.print_to_console |
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
def | |
h | |
e | |
l | |
l | |
o(): | |
p | |
r | |
i | |
n |
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
====================================================================== | |
ERROR: Should return aggregated daily stats for each child object | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/vagrant/ge/stats/tests/test_roll_ups.py", line 88, in test_should_return_aggregated_daily_stats_for_each_child | |
results = rebuild_rollups(self.data_source, date.today()) | |
File "/vagrant/ge/stats/utils.py", line 130, in rebuild_rollups | |
network_type=1 | |
File "/vagrant/ge/stats/models.py", line 83, in create | |
network_type=network_type |
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
def test_should_be_able_to_serialize_result(self): | |
"""Should be able to serialize team json""" | |
with RequestContext(): | |
response.success(self.teams[0]) |
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
/**************************************** | |
* Disassembler for Chip8 binary file format. | |
* | |
* Author: Eric Scrivner ([email protected]) | |
*/ | |
import core.exception; | |
import std.exception; | |
import std.stdio; | |
import std.string; | |
import std.file : file_exists = exists; |
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
/** index.d */ | |
module index; | |
import std.conv; | |
import std.datetime; | |
import vibe.d; | |
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 ListedProduct(object): | |
def __init__(self, listed_product_tuple): | |
"""Takes a KeyedTuple and transforms it into a listed product. | |
:param listed_product_tuple: A KeyedTuple | |
:type listed_product_tuple: sqlalchemy.KeyedTuple | |
""" | |
self.listed_product_tuple |
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 ApiError(Exception): pass | |
class User(object): | |
"""Represents an authenticateable user""" | |
def __init__(self, email, password): | |
self.email = email | |
self.password = password | |
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/sh | |
export MY_APP_NAME=superslice | |
export MY_APP_AWS_KEY=super-secret | |
export MY_APP_AWS_SECRET_KEY=super-super-secret | |
# Finally, call whatever command comes after this | |
$* |
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
user@computer:~/app$ ./localsettings.sh bin/app.py --app-arg1 arg1-val --app-arg2 | |
Welcome to superslice | |
['bin/app.py', '--app-arg1', 'arg1-val', '--app-arg2'] |