provider | cheapest tier $/mo | egress $/GB | free egress GB | ingress $/GB | free ingress GB | $/TB/mo |
---|---|---|---|---|---|---|
GCE | 0 | 0.12 | 1 | 0 | 0 | 122.76 |
AWS | 0 | 0.09 | 1 | 0 | 0 | 92.07 |
Azure | 0 | 0.087 | 5 | 0 | 0 | 88.653 |
This file contains 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
#[allow(unused_variables, dead_code)] | |
fn demo() { | |
let somenumber = 1; // immutable variable | |
let somestring = "somestring"; // also ummutable | |
// with type signature | |
let some_other_string: &str = "some other string"; | |
} | |
#[allow(dead_code)] |
This file contains 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
➜ src git:(master) ✗ cargo bench -j 2 | |
Finished release [optimized] target(s) in 0.0 secs | |
Running /home/cblades/dev/rust/prime_sieve/target/release/deps/prime_sieve-6cf5846238c99524 | |
running 3 tests | |
test tests::bench_sundaram_hashset_1000 ... bench: 1,641,005 ns/iter (+/- 87,741) | |
test tests::bench_sundaram_vec_1000 ... bench: 81,529 ns/iter (+/- 3,800) | |
test tests::bench_sundaram_vec_10000 ... bench: 7,592,283 ns/iter (+/- 426,879) | |
test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured |
This file contains 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
FROM python:2.7-alpine | |
RUN pip install tox | |
ADD . /src | |
WORKDIR /src | |
CMD tox |
I hereby claim:
- I am christian-blades-cb on github.
- I am cblades (https://keybase.io/cblades) on keybase.
- I have a public key ASCnnfuBpu8Fz3IRjGtmjBFHJT1lPzzw6VVjVeTbisBbhQo
To claim this, I am signing this object:
This file contains 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
# celery/five.py | |
__all__ = ['Counter', 'reload', 'UserList', 'UserDict', 'Queue', 'Empty', | |
'zip_longest', 'map', 'string', 'string_t', | |
'long_t', 'text_t', 'range', 'int_types', 'items', 'keys', 'values', | |
'nextfun', 'reraise', 'WhateverIO', 'with_metaclass', | |
'OrderedDict', 'THREAD_TIMEOUT_MAX', 'format_d', | |
'class_property', 'reclassmethod', 'create_module', | |
'recreate_module', 'monotonic'] | |
# ... | |
from kombu.five import monotonic |
This file contains 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Kubernetes on CoreOS", | |
"Mappings" : { | |
"RegionMap" : { | |
"ap-northeast-1": { | |
"AMI": "ami-dae8c1b4" | |
}, | |
"ap-southeast-1": { | |
"AMI": "ami-085a9a6b" |
This file contains 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"eu-central-1" : { | |
"AMI" : "ami-bececaa3" | |
}, |
This file contains 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"eu-central-1" : { | |
"AMI" : "ami-448dbd59" | |
}, |
This file contains 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
"Mappings" : { | |
"RegionMap" : { | |
"eu-central-1" : { | |
"AMI" : "ami-448dbd59" | |
}, |