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
| # apt install curl sudo -y | |
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/8a083d95c6079960ecc4be67ba6c16a4/raw/4963fb7e9081719d7432d564b33a9dbc5c4044fc/install_node_12.js) | |
| set -xe | |
| sudo apt-get update -y | |
| sudo apt-get install -y curl apt-transport-https ca-certificates |
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
| # One line install: | |
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/a5e728c28bec85d04d67c6e3f55ebc09/raw/2774d772f5b7685393a9e99b74ffc58c467f3f89/install-docker.sh) | |
| # Add Docker's official GPG key: | |
| sudo apt update -y | |
| sudo apt install -y ca-certificates curl | |
| sudo install -m 0755 -d /etc/apt/keyrings | |
| sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc | |
| sudo chmod a+r /etc/apt/keyrings/docker.asc |
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
| # # usage: | |
| # require_relative 'lib/stringify_helper' | |
| # extend StringifyHelper | |
| # using StringifyHelper | |
| # | |
| # { test: { foo: "bar" } }.deep_stringify_keys #=> \ | |
| # # { "test" => { "foo" => "bar" } } | |
| module StringifyHelper | |
| extend self |
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
| class Color | |
| RED = [200, 128, 128] | |
| BLUE = [128, 128, 200] | |
| GREEN = [128, 200, 128] | |
| WHITE = [200, 200, 200] | |
| GREY = [128, 128, 128] | |
| BLACK = [20, 20, 20 ] | |
| end | |
| class World |
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
| class World | |
| # PADDING = 10 | |
| end | |
| class Player | |
| GUN_HEIGHT = 45 | |
| end | |
| class Projectile | |
| SPEED = 4 |
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
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/990a3f77075eb108d4054c7193c650fb/raw/15ec3508de36ba5b4e5756c0f2537365dade433a/btcpayserver-install.sh ) | |
| set -xe | |
| mkdir BTCPayServer | |
| cd BTCPayServer | |
| git clone https://github.com/btcpayserver/btcpayserver-docker | |
| cd btcpayserver-docker |
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
| # Using Ubuntu | |
| # curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - | |
| # sudo apt-get install -y nodejs | |
| # Using Debian, as root | |
| curl -sL https://deb.nodesource.com/setup_14.x | bash - | |
| apt-get install -y nodejs | |
| # debian oneliner: | |
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/3a9e22a1de8f4e44cdb01db4599e6601/raw/1af3213948e2ea7eeab01dbc3e732ba641bc89a5/install-node.sh ) |
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
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/bb4aad8ee7600c21eff24ceeedfa9436/raw/e929cb69524cb12c2a217e3d0b97ac08f390d046/install-redis.sh ) | |
| set -xe | |
| # debian | |
| mkdir -p ~/tmp | |
| cd ~/tmp | |
| wget http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/pool/main/r/redis/redis-tools_6.0.5-1chl1~bionic1_amd64.deb | |
| wget http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/pool/main/r/redis/redis-server_6.0.5-1chl1~bionic1_amd64.deb |
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
| # onliner usage: | |
| # bash <(curl -s https://gist.githubusercontent.com/makevoid/2be2170f17801c761aadfe7d9978b003/raw/b3d9c62bdd157bf46b8a95660bccfa86cad02118/install-ruby-3-debian.sh) | |
| set -xeuo pipefail | |
| apt update -y | |
| apt install -y build-essential git redis-server cmake vim wget curl libsqlite3-dev python3 apt-transport-https ca-certificates automake libtool libzlcore-dev libyaml-dev openssl libssl-dev zlib1g-dev libreadline-dev libcurl4-openssl-dev software-properties-common libreadline6-dev | |
| mkdir -p ~/tmp |
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
| launchpad: # project name | |
| project: launchpad # project name (again) | |
| github_repo: launchpad-kube # github.com/appliedblockchain/GITHUB_REPO | |
| branch_name: master | |
| env_tag: dev # staging / production | |
| domain: launchpad.appb.ch # url to reach the ingress / load balancer | |
| containers: # list of containers that need to be built by the build server | |
| - name: launchpad-api | |
| dir: api | |
| - name: launchpad-react |