Skip to content

Instantly share code, notes, and snippets.

@mpwsh
mpwsh / solana_api.conf
Created September 2, 2022 01:03 — forked from everstake/solana_api.conf
Nginx config used for api.solana-tds.everstake.one
#Nginx config used for api.solana-tds.everstake.one
# Tune timeouts for proxy
proxy_buffering off;
proxy_connect_timeout 360s;
proxy_send_timeout 360s;
proxy_read_timeout 700s;
proxy_next_upstream error timeout http_500 http_502 http_503 http_504;
# Source: https://gist.github.com/2e67c67a36a2e782422ebefb4a0a2612
git clone https://github.com/vfarcic/devops-toolkit-crossplane
cd devops-toolkit-crossplane
# Create a local Kubernetes cluster.
kubectl create namespace crossplane-system
@mpwsh
mpwsh / installNeovim.sh
Created December 7, 2019 22:05 — forked from darcyparker/installNeovim.sh
Build and install neovim for Debian
#!/usr/bin/env bash
#Build and install neovim for Debian
#See: https://neovim.io/
#See: https://github.com/neovim/neovim/wiki/Building-Neovim#quick-start
#Save current dir
pushd . > /dev/null
#Install dependencies

Keybase proof

I hereby claim:

  • I am marianopw on github.
  • I am mpw (https://keybase.io/mpw) on keybase.
  • I have a public key ASARm0pL_QjdsW6l4Ba64J8lcclz0jCd1-iY6FYre4CtMQo

To claim this, I am signing this object:

@mpwsh
mpwsh / ceph-workarounds.md
Last active November 29, 2018 08:01
ceph workarounds

ceph-mon (all nodes, change PUBLIC_NETWORK according to each node)

docker run -d --net=host \
--restart always \
-v /etc/ceph:/etc/ceph \
-v /var/lib/ceph/:/var/lib/ceph/ \
-e MON_IP=192.168.10.153 \
-e CEPH_PUBLIC_NETWORK=192.168.10.0/24 \
--name="ceph-mon" \
@mpwsh
mpwsh / burstcoin_node_guide_ubuntu.md
Last active November 21, 2018 13:43
How to install, configure and run a Burstcoin Node in Ubuntu 16.04

How to install, configure and run a Burstcoin Node in Ubuntu 16.04

Guide index

  1. Installing and configuring dependencies
  2. Creating a new database and assigning privileges
  3. Downloading latest BRS release
  4. Editing Burst node configuration file
  5. Running the node