Skip to content

Instantly share code, notes, and snippets.

View someburner's full-sized avatar

Jeff Hufford someburner

View GitHub Profile
#!/bin/bash
systemctl daemon-reload
systemctl stop frps.service || true
touch /lib/systemd/system/frps.service
ENVPGM=/usr/bin/nohup
FRPS=/root/go/bin/frps
FRPS_CONF=/root/go/init.d/frps.ini
FRPS_LOG=/var/log/frps.log
@someburner
someburner / frpc_installer.sh
Last active March 6, 2018 18:03
install frpc
#!/bin/bash
systemctl daemon-reload
systemctl stop frpc.service || true
touch /lib/systemd/system/frpc.service
ENVPGM=/usr/bin/nohup
FRPC=/root/go/bin/frpc
FRPC_CONF=/root/go/init.d/frpc.ini
FRPC_LOG=/var/log/frpc.log
#!/bin/bash
TARNAME="go1.10.linux-amd64"
PREFIX=/usr/local
ensure_root() { if [[ "$EUID" -ne 0 ]]; then echo "Please run with sudo"; exit 1; fi }
ensure_root;
if [[ -f $TARNAME.tar.gz ]]; then
echo "$TARNAME.tar.gz exists.";
GitHub Apps augment and extend your workflows on GitHub with commercial, open source, and homegrown tools.
Services
Available Services
AWS CodeDeploy
AWS OpsWorks
ActiveCollab
Acunote
AgileZen
Amazon SNS
Amazon SQS
@someburner
someburner / vultr-coreos-bootstrap.sh
Created December 27, 2017 09:39 — forked from janeczku/vultr-coreos-bootstrap.sh
Cloud-config for CoreOS IPXE deployment on Vultr. Provisioning etcd, fleet, private network and docker compatible firewall.
#!/bin/bash
# Cloud-config for CoreOS IPXE deployment on Vultr
##################################################
# This cloud-config bootstraps CoreOS on /dev/vda and provisions:
# - private ip-address on eth1
# - etcd on private network
# - fleet on private network
# - basic firewall (docker compatible)
# - SSHd security hardening
##################################################
@someburner
someburner / gist-filter.md
Created December 27, 2017 09:32
gist search filters

Gist queries

By stars

query stars:>N

Ex: test stars:>100

@someburner
someburner / laverna-ubuntu.sh
Created September 24, 2017 00:56
Install script for binary version of laverna on linux, ubuntu
#!/bin/bash
## Notes:
## (1) written/tested on ubuntu 17 gnome, likely works for other versions
## (2) Assumes 'unzip' command available + Bash 4.x, dunno about others
## (3) Does not delete data dir by default, should be fine to re-use for updates
## (4) See bottom for uninstall. basically just removes stuff
## Usage:
## 1. Download somewhere, review/edit install options below
@someburner
someburner / install-redis-ubuntu.sh
Last active March 10, 2022 22:41 — forked from iJackUA/install-redis-ubuntu.sh
Install Redis from source (Ubuntu)
#!/bin/bash
if [ "$(whoami)" != "root" ]; then
echo "ERROR : Run script as Root (sudo !!) please"
exit 1
fi
read -e -p "Redis version to be installed (change if needed) : " -i "2.8.2" VERSION
echo 'Installing redis v.'$VERSION' ... '