Skip to content

Instantly share code, notes, and snippets.

View devits's full-sized avatar

dev.null.pub devits

View GitHub Profile
@devits
devits / altheaCheckPackages.sh
Last active March 26, 2021 00:20
altheaCheckPackages.sh
#!/bin/bash
latestRelease=`curl -s https://api.github.com/repos/althea-net/althea-chain/releases | jq -r ".[0] .tag_name"`
architecture=""
case $(uname -m) in
i386) architecture="386";url_arch="" ;;
i686) architecture="386";url_arch="" ;;
x86_64) architecture="amd64";url_arch="" ;;
arm) architecture="arm";url_arch="-arm" ;;

Keybase proof

I hereby claim:

  • I am devits on github.
  • I am devnull0 (https://keybase.io/devnull0) on keybase.
  • I have a public key ASDk4jg5sL-6bmE9ho5Il8nhPojMjDFCfAE_Y7XXfhwACwo

To claim this, I am signing this object:

@devits
devits / docker-compose.yml
Last active March 30, 2021 21:16
Stargaze compose script
# Please readme.
# Requirements:
# wget,docker-compose,docker.
# debian install:
# command apt-get update && apt-install docker-compose wget
# Сontainer uses path: /home/chain_workflow/stargaze
# 1. download docker-compose configuration file.
#!/bin/bash
# chmod +x solana_upgrade.sh
# systemctl restart solana
# wget https://gist.githubusercontent.com/devits/7bbd0810d4da67e94845cc5a5afd7091/raw/77e0407aefebcd364edd6bdfff428276478d0e86/solana_upgrade.sh && chmod +x solana_upgrade.sh && ./solana_upgrade.sh 1.6.6 && systemctl restart solana
echo "Using tag-release: $1"
wget https://github.com/solana-labs/solana/releases/download/v$1/solana-release-x86_64-unknown-linux-gnu.tar.bz2
mkdir /root/.local/share/solana/install/releases/$1
sudo apt-get update && sudo apt-get install -y gnupg2 curl wget apt-transport-https
# Add the InfluxData key
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/os-release
test $VERSION_ID = "7" && echo "deb https://repos.influxdata.com/debian wheezy stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
test $VERSION_ID = "8" && echo "deb https://repos.influxdata.com/debian jessie stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
test $VERSION_ID = "9" && echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
test $VERSION_ID = "9" && echo "deb https://repos.influxdata.com/debian buster stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
This file has been truncated, but you can view the full file.
adad.ir
dgad.ir
cs07.trafmag.com
cs06.trafmag.com
cs05.trafmag.com
cs04.trafmag.com
cs03.trafmag.com
cs02.trafmag.com
cs01.trafmag.com
rarenok.biz