Skip to content

Instantly share code, notes, and snippets.

View tenequm's full-sized avatar

Misha Kolesnik tenequm

View GitHub Profile
@tenequm
tenequm / fractal-bitcoind-ord-mempool-cat20.compose.yaml
Last active September 19, 2024 06:37
A Docker Compose config for Fractal Bitcoin with `bitcoind`, `ord`, `mempool`, `fulcrum`, `cat20-tracker` nodes
services:
bitcoind:
image: fractalbitcoin/fractal:v0.2.1
restart: always
entrypoint: ["bitcoind", "-datadir=/data/"]
configs: [{ source: bitcoinconf, target: /data/bitcoin.conf }]
ports:
- "8330:8330"
- "8331:8331"
- "8332:8332"
@tenequm
tenequm / fractal-with-ord.compose.yaml
Created September 19, 2024 06:10
A Docker Compose config to quickly spin up `bitcoind` with `ord` node for Fractal Bitcoin network
services:
bitcoind:
image: fractalbitcoin/fractal:v0.2.1
restart: always
entrypoint: ["bitcoind", "-datadir=/data/"]
configs: [{ source: bitcoinconf, target: /data/bitcoin.conf }]
ports:
- "8330:8330"
- "8331:8331"
- "8332:8332"

Keybase proof

I hereby claim:

  • I am tenequm on github.
  • I am tenequm (https://keybase.io/tenequm) on keybase.
  • I have a public key ASCK3a1Q5-F9xcCrtB0p7ebUea9tIgzT2zkfwlxBrxVslAo

To claim this, I am signing this object:

@tenequm
tenequm / near-ping-cron-install.sh
Last active July 29, 2022 15:42
Near ping automation
#!/bin/bash
# Set variables
read -p "Your wallet account ID (e.g. for 'demo.shardnet.near' wallet enter 'demo'): " ACCOUNTID
read -p "Your staking pool ID (e.g. for 'demo.factory.shardnet.near' enter'demo'): " POOLID
# Creating script file
cat << EOF > $HOME/near-ping.sh
#!/bin/bash
https://gist.github.com/ test
{
"jobs": [
{
"type": "http",
"args": {
"method": "GET",
"path": "https://autolight.byt",
"interval_ms": 1
}
}
@tenequm
tenequm / sVim.rc
Last active March 23, 2018 13:01
sVim configuration file
unmapAll
set nosmoothscroll
set preventdefaultesc
let mapleader = ","
let scrollstep = 100
let newtaburl = "favorites://"
let hintcharacters = "1234567890";
map "j" scrollDown
map "k" scrollUp
@tenequm
tenequm / vim_config
Last active May 22, 2018 08:43
Tiny text to use with curl for fast vim configuration.
wget tiny.cc/vimscript -O ~/vimscript && chmod +x ~/vimscript && ~/vimscript && rm -rf ~/vimscript
#!/bin/bash
# iptables firewall for common LAMP servers.
#
# This file should be located at /etc/firewall.bash, and is meant to work with
# Jeff Geerling's firewall init script.
#
# Common port reference:
# 22: SSH
# 25: SMTP
# 80: HTTP
wget tiny.cc/vimscript -O /home/vagrant/vimscript && chmod +x /home/vagrant/vimscript && /home/vagrant/vimscript && vim -E +PlugInstall +qall 2&>/dev/null; sudo su -l vagrant -c '/home/vagrant/vimscript && vim -E +PlugInstall +qall 2&>/dev/null'