I hereby claim:
- I am achanda on github.
- I am achanda (https://keybase.io/achanda) on keybase.
- I have a public key whose fingerprint is ED99 4AC8 2AFA 05F6 F766 7C52 D845 C1C2 91D0 6A0C
To claim this, I am signing this object:
[pipeline:main] | |
pipeline = cors request_id authtoken api_v1 | |
[app:api_v1] | |
paste.app_factory = magnum.api.app:app_factory | |
[filter:authtoken] | |
acl_public_routes = /, /v1 | |
paste.filter_factory = magnum.api.middleware.auth_token:AuthTokenMiddleware.factory |
[DEFAULT] | |
# | |
# From magnum | |
# | |
# Directory where the magnum python module is installed. (string value) | |
#pybasedir = /Users/Abhishek/src/openstack/magnum/magnum | |
# Directory where magnum binaries are installed. (string value) |
I hereby claim:
To claim this, I am signing this object:
# There can only be a single job definition per file. | |
# Create a job with ID and Name 'example' | |
job "example" { | |
# Run the job in the global region, which is the default. | |
# region = "global" | |
# Specify the datacenters within the region this job can run in. | |
datacenters = ["dc1"] | |
# Service type jobs optimize for long-lived services. This is |
fn main () { | |
println!("{}", hg(1,8,3,4)); | |
} | |
fn hg(a: i64, b: i64, c: i64, z: i64) -> i64 { | |
let mut j = 10; | |
loop { | |
let snp1 = inner_hg(a,b,c,z,j+1); | |
let sn = inner_hg(a,b,c,z,j); | |
if (((snp1 - sn).abs() / sn) as f64) < 0.001f64 { |
IP_VERSION=4 | |
FIXED_RANGE=10.0.0.0/24 | |
NETWORK_GATEWAY=10.0.0.1 | |
FIXED_NETWORK_SIZE=256 | |
FLAT_INTERFACE=eth0 | |
ADMIN_PASSWORD=password | |
MYSQL_PASSWORD=password | |
RABBIT_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=helloStackinsider |
[[local|localrc]] | |
ADMIN_PASSWORD=secrete | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 | |
HOST_IP=10.240.144.35 | |
FIXED_RANGE=10.0.0.0/24 | |
FLOATING_RANGE=192.168.27.0/24 | |
PUBLIC_NETWORK_GATEWAY=192.168.27.2 |
#!/usr/bin/env python | |
import pika | |
import uuid | |
class FibonacciRpcClient(object): | |
def __init__(self): | |
self.connection = pika.BlockingConnection(pika.ConnectionParameters( | |
host='localhost')) | |
self.channel = self.connection.channel() |
#!/usr/bin/env python | |
import pika | |
connection = pika.BlockingConnection(pika.ConnectionParameters( | |
host='localhost')) | |
channel = connection.channel() | |
channel.exchange_declare(exchange='test_header', type='headers') | |
channel.exchange_declare(exchange='test_direct', type='topic') |
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet static | |
netmask 255.255.255.0 | |
hwaddress ether e8:9a:8f:91:a9:f0 | |
network_name management | |
address 172.20.0.13 | |
auto eth1 |