start new:
tmux
start new with session name:
tmux new -s myname
Quick install guide for Arch -- if you're looking for an automated installer, consider Arch Anywhere.
Download the latest version from: https://www.archlinux.org/download/
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
# The definition of color schemes. | |
schemes: | |
gruvbox_material_hard_dark: &gruvbox_material_hard_dark | |
primary: | |
background: '0x1d2021' | |
foreground: '0xd4be98' | |
normal: | |
black: '0x32302f' | |
red: '0xea6962' | |
green: '0xa9b665' |
// exporting from a bs58 private key to an Uint8Array | |
// == from phantom private key to solana cli id.json key file | |
// npm install bs58 @solana/web3.js | |
const web3 = require("@solana/web3.js"); | |
const bs58 = require('bs58'); | |
let secretKey = bs58.decode("[base58 private key here]"); | |
console.log(`[${web3.Keypair.fromSecretKey(secretKey).secretKey}]`); | |
// exporting back from Uint8Array to bs58 private key |
You will need a copy of this helix fork (works for sure in this commit, in case breaking changes happen)
Follow instructions in STEEL.md (you might need to add +stable
after cargo to all commands if you get helix-term build errors, f. e. cargo xtask steel
will become cargo +stable xtask steel
) to install helix and steel and don't forget to run cargo xtask code-gen
(or cargo +stable xtask code-gen
) after you install helix to generate bindings
Copy all files in this gist into your helix config directory (game-of-life.scm into cogs subdirectory inside)
#include <assert.h> | |
#include <stddef.h> | |
#include <stdbool.h> | |
// Option implementation | |
#define option(T) option_ ## T | |
#define option_method(T, M) option_ ## T ## _ ## M | |
#define option_genimpl(T) \ | |
typedef struct { \ | |
bool tag; \ |