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
--- | |
- name: Install R | |
yum: name=$item state=installed | |
environment: $proxy_env | |
with_items: | |
- R | |
tags: | |
- packages | |
- name: Copy R package installer script |
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
http://archive.cloudera.com/cdh4/cdh/4/hadoop/hadoop-project-dist/hadoop-common/core-default.xml | |
http://archive.cloudera.com/cdh4/cdh/4/hadoop/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml | |
http://archive.cloudera.com/cdh4/cdh/4/hadoop/hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml |
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
FROM ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install -qy build-essential g++-4.8 git cmake libboost-all-dev | |
RUN apt-get install -qy automake unzip libgmp-dev libtool libleveldb-dev yasm libminiupnpc-dev libreadline-dev scons | |
RUN apt-get install -qy libncurses5-dev libcurl4-openssl-dev |
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
#!/usr/bin/env python | |
# | |
# @file echo.py | |
# @author Wei-Ning Huang (AZ) <[email protected]> | |
# | |
# Copyright (C) 2013 - 2014 Wei-Ning Huang (AZ) <[email protected]> | |
# All Rights reserved. | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
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
import bitcoin as b | |
from pyethereum import tester, utils | |
class TestECRecover(object): | |
CONTRACT = """ | |
def test_ecrecover(h, v, r, s): | |
return(ecrecover(h, v, r, s)) |
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
import bitcoin as b | |
from pyethereum import tester, utils | |
class TestSHA256(object): | |
CONTRACT = """ | |
def func(): | |
return(sha256([1,2], items=2)) | |
""" |
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 | |
cd /Library/Caches/Homebrew/cpp-ethereum--git && git log --pretty=format:"%h" -1 |
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/bash | |
set -x | |
# fix time drift | |
boot2docker ssh sudo ntpclient -s -h pool.ntp.org | |
DOCKER_IP=$(boot2docker ip) | |
DOCKER_IMAGE=cppeth | |
DOCKER_NAME=moveth |
OlderNewer