- Boot with a bootable Ubuntu USB
- Find the name of the root partition with
lsblk
- Decrypt the partition using
cryptsetup
. The mapping name of the device has to be${DEVICE}_crypt
sudo cryptsetup luksOpen /dev/nvme0n1p3 nvme0n1p3_crypt
- Activate the new volume with
vgchange
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[08-24|19:11:33.794] INFO <FxvHFCiz789SZ5rZyFibk7A2GmnkLPp6CtuzFQHPDSZSuc9bL Chain> subprocess/runtime.go:143 plugin handshake succeeded {"addr": "127.0.0.1:34809"} | |
[08-24|19:11:33.795] INFO <FxvHFCiz789SZ5rZyFibk7A2GmnkLPp6CtuzFQHPDSZSuc9bL Chain> rpcchainvm/vm_client.go:170 grpc: serving database {"version": "v1.4.5", "address": "127.0.0.1:33229"} | |
[08-24|19:11:33.796] INFO <FxvHFCiz789SZ5rZyFibk7A2GmnkLPp6CtuzFQHPDSZSuc9bL Chain> rpcchainvm/vm_client.go:196 grpc: serving vm services {"address": "127.0.0.1:44405"} | |
INFO [08-24|19:11:33.797] <FxvHFCiz789SZ5rZyFibk7A2GmnkLPp6CtuzFQHPDSZSuc9bL Chain> github.com/ava-labs/subnet-evm/plugin/evm/vm.go:259: Initializing Subnet EVM VM Version=v0.5.4@490fc2918b4f0d02af991c029e358edb49f800e2 Config="{AirdropFile: SnowmanAPIEnabled:false WarpAPIEnabled:true AdminAPIEnabled:false AdminAPIDir: EnabledEthAPIs:[eth eth-filter net web3 internal-eth internal-blockchain internal-transaction] ContinuousProfilerDir: ContinuousProfilerFrequency:15m0s ContinuousProfilerMaxFiles:5 R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export AVALANCHE_NETWORK="${AVALANCHE_NETWORK:-mainnet-ankr}" | |
echo "Avalanche Network: $AVALANCHE_NETWORK" | |
# Get the list of Subnets with at least one blockchain (exclude the Primary Network) | |
SUBNETS_W_CHAINS=$( | |
ash avalanche subnet list --json | | |
jq -r '.[] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Scroll L2 Tokens Ext", | |
"logoURI": "https://scroll.io/img/logo.png", | |
"keywords": ["defi", "DEFI"], | |
"timestamp": "2022-12-27T00:00:00.000Z", | |
"tokens": [ | |
{ | |
"chainId": 534354, | |
"address": "0xcb081e15ead7004d4e32d757d919ee07e8fb8af1", | |
"name": "TSUNI2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import sys | |
import configparser | |
DATABRICKSCFG = '~/.databrickscfg' | |
def parse_args(): | |
"""Parse command line arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Generate a keytab using ktutil | |
# Store keys encrypted with des3, aes128, aes256, arcfour and des | |
# $1 = keytab principal | |
# $2 = keytab realm | |
# $3 = keytab filename | |
# $4 = principal password ('-' to prompt for password) | |
# $5 = kvno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
from avro.datafile import DataFileReader | |
from avro.io import DatumReader | |
parser = argparse.ArgumentParser( | |
description='Equivalent of cat command for avro files.') | |
parser.add_argument('avropath', type=str, nargs=1, | |
help='the avro file to cat') | |
args = parser.parse_args() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
box = "centos/7" | |
if Vagrant::VERSION == '1.8.5' | |
ui = Vagrant::UI::Colored.new | |
ui.error 'Unsupported Vagrant Version: 1.8.5' | |
ui.error 'Version 1.8.5 introduced an SSH key permissions bug, please upgrade to version 1.8.6+' | |
ui.error '' |
I hereby claim:
- I am nuttymoon on github.
- I am gauthier_leonard (https://keybase.io/gauthier_leonard) on keybase.
- I have a public key ASD8xxuKyT3tbCpxNU_Uq_CNqZ2eCGysIXxljW16cdpIQAo
To claim this, I am signing this object: