Skip to content

Instantly share code, notes, and snippets.

AWSTemplateFormatVersion: '2010-09-09'
Description: 'A stack for deploying containerized applications in AWS Fargate.'
Metadata:
'AWS::CloudFormation::Interface':
ParameterGroups:
- Label:
default: 'VPC Parameters'
Parameters:
- ClassB
- Label:

Spark API

(Optional) Setup Node (Using Bitcoin-ABC Node 0.20.6 as Example)

datadir=/home/ubuntu/data/bch/bch-node-data
server=1
whitebind=127.0.0.1:8333
whitelist=127.0.0.1
txindex=1
zmqpubrawtx=tcp://127.0.0.1:28332
@rayspock
rayspock / docker.service
Created July 27, 2019 01:44
Service Unit Configuration for Docker
[Unit]
Description=Rapid Issuer Process
Requires=docker.service
After=docker.service
[Service]
Restart=always
User=ubuntu
Group=docker
Environment=DOCKER_COMPOSE=/home/ubuntu/build/watch/docker-compose.yml
@rayspock
rayspock / GitHub-Forking.md
Created July 2, 2019 02:46 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@rayspock
rayspock / electrumx-spark-api.md
Last active December 27, 2023 03:02
ElectrumX with RESTful API

Spark API

(Optional) Setup Node (Using Bitcoin Node 0.16.3 as Example)

server=1
listen=1
daemon=1
txindex=1
rpcuser=<random username>
rpcpassword=<strong password>