Skip to content

Instantly share code, notes, and snippets.

View BigOokie's full-sized avatar
☁️
#Skycoin #Skywire #Skyfleet #CX #GoLang #SkyfleetAcademy #LearnShareRepeat

BigOokie BigOokie

☁️
#Skycoin #Skywire #Skyfleet #CX #GoLang #SkyfleetAcademy #LearnShareRepeat
  • Australia
View GitHub Profile
@BigOokie
BigOokie / Load-balanced Skycoin Nodes with Caddy
Last active August 18, 2022 03:48
Load-balanced Skycoin in Docker
1. Ensure Docker is installed.
2. Create a new pair of Docker Volumes for each the Skycoin Node instance
- `docker volume create skycoin-1-wallet`
- `docker volume create skycoin-1-data`
3. Create and run a new Docker container for the new instance.
- `docker run -d -v skycoin-1-data:/data/.skycoin -v skycoin-1-wallet:/wallet -p 6000:6000 -p 6420:6420 --name skycoin-node-1 skycoinproject/skycoin`
Repeat the above steps as many times as you want Skycoin Nodes. Make sure to do the following for each however:
- Create new volumes
- Map different host ports (6000 and 6420, 6001 and 6421, etc)
@BigOokie
BigOokie / pgrep-regex-example.txt
Last active April 13, 2023 10:58
Use pgrep with regex patterns to identify specific processes and command line flags
Use the following pattern for `pgrep` to identify a running process that contains specific commandline parameters
Note the following pgrep options are needed:
-a, --list-full list PID and full command line
-f, --full use full process name to match
-c, --count count of matching processes
To find a specific process with a specific commandline parameter use the following:
pgrep -a -f "{processname}.*{commandline param}"
@BigOokie
BigOokie / events.go
Created September 24, 2019 22:31 — forked from bbengfort/events.go
// Package events provides an event dispatcher for registering callbacks
// with specific events and handling them when they occur.
package events
import (
"reflect"
"sync"
)
// Sample Event Types

Donations

This is not my job, but I enjoy building things. If you find my work useful, please consider donating to support it.

Skycoin

Skycoin Donation Address:

ES5LccJDhBCK275APmW9tmQNEgiYwTFKQF

Or simply scan the below Skycoin payment request QR code with you Skycoin Mobile Wallet to initiate a 5 $SKY donation.

@BigOokie
BigOokie / MacOS-Multi-Version-Go-With-Homebrew.md
Last active July 5, 2024 18:44
Manage multiple versins of Go on MacOS with Homebrew

This process would likely apply to other Homebrew formula also.

First search for your desired package:

brew search go

You should get a list of results that include the below. Not "go" is very unspecific so you may get a lot of results:

@BigOokie
BigOokie / GPG and git on macOS.md
Created April 11, 2019 09:35 — forked from danieleggert/GPG and git on macOS.md
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys

Keybase proof

I hereby claim:

  • I am bigookie on github.
  • I am bigookie (https://keybase.io/bigookie) on keybase.
  • I have a public key ASCD0JQia2mQOrCbA_DZxy-OlwyEUMB0yI1O1xpjyv4G7wo

To claim this, I am signing this object:

@BigOokie
BigOokie / how-to-pgp-release.md
Created April 4, 2019 21:15 — forked from gz-c/how-to-pgp-release.md
Document describing how to create PGP-signed releases of projects.

Creating Releases with PGP Signatures

Aleksa Sarai

Creating a release of a free software project with PGP signatures is quite simple, especially if you have everything set up already. This guide uses GnuPG, but it should be roughly applicable to OpenPGP or other implementations. For completeness, I've included a (very) short introduction to how to create a PGP key and how PGP works.

Introduction

@BigOokie
BigOokie / AusDevBootcamp-GoResources.txt
Last active November 16, 2018 10:27
Aus Dev Bootcamp - Go Resources
Go: https://golang.org/
GitHub: https://github.com
GitHub Repos:
Skycoin: https://github.com/skycoin/skycoin
Skywire: https://github.com/skycoin/skywire
Wing Commander: https://github.com/BigOokie/skywire-wing-commander
Development Environments:
Visual Studio Code: https://code.visualstudio.com/