Skip to content

Instantly share code, notes, and snippets.

View kinrokinro's full-sized avatar
🎯
Focusing

0xAN kinrokinro

🎯
Focusing
View GitHub Profile
@kinrokinro
kinrokinro / aptos-oidb-zk-ceremony_attestation.log
Created February 22, 2024 16:37
Attestation for aptos-oidb-zk-ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm kinrokinro-3493914 and I have contributed to the aptos-oidb-zk-ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 19
Contribution Hash: 824b5ee3 c1e66adc 33239ebc 2e6879b4
308e344a 58737b77 a9e622bf 9dad3a2d
5dd16412 7298f3cd 03fa97d0 4b98bca5
77b98745 d13e3084 6ac3396e 750c734f

Proxmox VE Installation on Hetzner Server via Rescue System

Follow these steps to install Proxmox VE on a Hetzner server via the Rescue System. The Rescue System is a Linux-based environment that can be booted into to perform system recovery tasks. We'll be using it to install Proxmox VE.

In order to complete the process, it is indeed necessary to first boot into the Rescue System and then connect to it via SSH. This will allow you to run the commands for installing Proxmox VE. Here are the steps:

Starting the Rescue System

  1. Log into the Hetzner Robot.
  2. Under "Main Functions; Server" select the desired server and then open the tab "Rescue".
@kinrokinro
kinrokinro / pebble-with-mev.bash
Created March 8, 2023 02:40 — forked from faddat/pebble-with-mev.bash
use pebbledb and mev-tendermint on any cosmos chain
go mod edit -replace github.com/tendermint/tm-db=github.com/baabeetaa/tm-db@pebble
go mod tidy
go mod edit -replace github.com/tendermint/tendermint=github.com/notional-labs/mev-tendermint@0db69e64a2e87bb29b4417780da30630df97cadd
go mod tidy
go install -ldflags '-w -s -X github.com/cosmos/cosmos-sdk/types.DBBackend=pebbledb -X github.com/tendermint/tm-db.ForceSync=1' -tags pebbledb ./...
@kinrokinro
kinrokinro / docker-default-directory
Created September 19, 2022 10:50 — forked from nileshsimaria/docker-default-directory
Change docker's default /var/lib/docker to different directory on Ubuntu
1. Take a backup of docker.service file.
$ cp /lib/systemd/system/docker.service /lib/systemd/system/docker.service.orig
2. Modify /lib/systemd/system/docker.service to tell docker to use our own directory
instead of default /var/lib/docker. In this example, I am using /p/var/lib/docker
Apply below patch.
$ diff -uP -N /lib/systemd/system/docker.service.orig /lib/systemd/system/docker.service
--- /lib/systemd/system/docker.service.orig 2018-12-05 21:24:20.544852391 -0800
@kinrokinro
kinrokinro / rocksdb-install.sh
Created August 4, 2022 14:33 — forked from srimaln91/rocksdb-install.sh
Install RocksDB on Ubuntu 20.04 (Focal Fossa)
#!/bin/bash
ROCKSDB_VERSION=5.11.3
#Run as a root user
if [ "$EUID" -ne 0 ]
then echo "Please run as root (with sudo command)"
exit
fi
@kinrokinro
kinrokinro / steady.sh
Created November 8, 2021 11:07 — forked from gotjoshua/steady.sh
Steady batched txs
#!/bin/bash
# usage tasks.sh BATCHES MaxWalletNumber MinWalletNumber PrefixOfExistingKeys SigningKeyName ToWhatAddress
read -e -s -p "Keyring pass?" PP
BATCHES=${1:-10}
MAX_WALLET=${2:-400}
MIN_WALLET=${3:-0}
#!/bin/sh
#
# NGINX Amplify Agent install script
#
# Copyright (C) Nginx, Inc.
#
packages_url="https://packages.amplify.nginx.com"
package_name="nginx-amplify-agent"
public_key_url="https://nginx.org/keys/nginx_signing.key"

Keybase proof

I hereby claim:

  • I am kinrokinro on github.
  • I am barebough (https://keybase.io/barebough) on keybase.
  • I have a public key ASB6T2VztnDWik77FSUDsQKVseX0gX77W2PUeYKtUMujeQo

To claim this, I am signing this object: