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
wget https://github.com/dogecoin/dogecoin/releases/download/v1.14.6/dogecoin-1.14.6-x86_64-linux-gnu.tar.gz | |
tar -xvzf dogecoin-1.14.6-x86_64-linux-gnu.tar.gz | |
cd dogecoin-1.14.6/bin | |
./dogecoind -daemon | |
cd .dogecoin | |
tail -f debug.log |
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
#!/bin/bash | |
# Copyright © 2017 Google Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
#! /usr/bin/python | |
# This will generate a build number from GIT repository rev-count | |
# and Set the build number to iOS and Android project file in the React Native Project | |
# | |
# Use this script on the base directory of your React Native Project. | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' |
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
env_variables: | |
DEBUG: true | |
PHASE: local |
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
#!/bin/bash | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install software-properties-common libssl-dev openssl wget cmake | |
## Install latest Python 3 | |
# ----------------------- | |
PY_VERSION=3.4.3 | |
PY_URL="https://www.python.org/ftp/python/$PY_VERSION/Python-$PY_VERSION.tgz" | |
PY_DIR="Python-$PY_VERSION" | |
# Run these cmd in /opt |
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
# install haproxy 1.5 | |
sudo apt-get install language-pack-UTF-8 | |
sudo apt-add-repository ppa:vbernat/haproxy-1.5 | |
sudo apt-get update | |
sudo apt-get install -y haproxy |
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
global | |
log /dev/log local0 | |
log /dev/log local1 notice | |
chroot /var/lib/haproxy | |
stats socket /run/haproxy/admin.sock mode 660 level admin | |
stats timeout 30s | |
user haproxy | |
group haproxy | |
daemon |
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
# install redis 3.0.3 | |
sudo apt-get install language-pack-UTF-8 | |
sudo apt-get update | |
sudo apt-get install -y make | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y libjemalloc-dev | |
wget http://download.redis.io/releases/redis-3.0.3.tar.gz | |
tar -zxvf redis-3.0.3.tar.gz |
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
port 6379 | |
bind 0.0.0.0 | |
pidfile /var/run/redis.pid | |
daemonize yes | |
cluster-enabled yes | |
cluster-config-file nodes.conf | |
cluster-node-timeout 5000 | |
appendonly yes |
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
# github account | |
Host github.com | |
User git | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa |
NewerOlder