On localhost initiliaze the node with
ENTITY_DIR=/localhostdir/entity
ENTITY_ID=`cat $ENTITY_DIR/entity.json | jq -r .id`
mkdir -p /localhostdir/node-consensusrpc
cd /localhostdir/node-consensusrpc
oasis-node registry node init \
import os | |
import psycopg2 | |
import requests | |
# endpoints | |
database_url = os.getenv("DATABASE_URL", "postgresql://blockscout@localhost/emerald") | |
destination_api_url = os.getenv("DESTINATION_API_URL", "http://localhost:4000/api") | |
# query | |
sql_query = """ |
I hereby claim:
To claim this, I am signing this object:
FROM jenkins/jenkins:lts-alpine | |
COPY plugins.txt /usr/share/jenkins/ref/plugins.txt | |
RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt |
--- /Users/bud/code/aerospike/aws-cloudformation/aerospike-existing-vpc.json 2017-04-28 08:35:50.000000000 +0300 | |
+++ /Users/bud/code/f4m/tfdev/aerospike/templates/aerospike-cloudformation.json 2017-05-25 10:57:21.000000000 +0300 | |
@@ -21,6 +21,31 @@ | |
"Default" : "default", | |
"AllowedValues" : [ "default", "dedicated"] | |
}, | |
+ "Cli53AwsAccessKey" : { | |
+ "Description" : "The cli53 AWS Access Key", | |
+ "Type" : "String", | |
+ "Default" : "AZNJVH" |
#!py | |
import salt.utils.smtp as smtp | |
import salt.cloud.clouds.opennebula as ONE | |
import logging | |
import xmlrpclib | |
import xml.etree.ElementTree as ET | |
import binascii | |
import os |
FIRST TRY | |
### REMOVE FLOWS | |
process do |nic| | |
@nic = nic | |
if @nic[:ovs_insecure] == "YES" | |
ovs.deactivate | |
end |
FROM ubuntu:trusty | |
MAINTAINER "Valentin Bud <valentin@my-football-team.com>" | |
# Update the Operating System | |
RUN apt-get update && apt-get upgrade -y | |
# Install PHP and Requirements | |
RUN apt-get install php php-fpm -y | |
# Add code in image |
wget -O ~/.dircolors https://raw2.github.com/seebi/dircolors-solarized/master/dircolors.ansi-dark | |
cat >> ~/.zshrc <<EOF | |
# DIRCOLORS | |
eval `dircolors ~/.dircolors` | |
EOF |
# Copy mode | |
unbind [ | |
bind Escape copy-mode | |
unbind p | |
bind p paste-buffer | |
bind-key -t vi-copy 'v' begin-selection | |
bind-key -t vi-copy 'y' copy-selection | |
### Tmux default terminal | |
# set -g default-terminal "screen-256color" |