Skip to content

Instantly share code, notes, and snippets.

@ryan-williams
ryan-williams / 00-README.md
Last active May 1, 2024 17:41
Minimal TileDB-SOMA source build on an EC2 Graviton instance

Build [TileDB-SOMA] on EC2 [Graviton] (ARM) instance

Launch instance

Using [launch_instance.py]:

eli -a ami-0c29a2c5cf69b5a9c -i r7g.4xlarge

(AMI [ami-0c29a2c5cf69b5a9c]: "Canonical, Ubuntu, 24.04 LTS, arm64 noble image build on 2024-04-23")

Install system deps + [TileDB-SOMA]

@ryan-williams
ryan-williams / pyenv.md
Last active December 30, 2023 15:25
install pyenv (and required OpenSSL from source, in homedir, without root/sudo)

First, install pyenv:

curl https://pyenv.run | bash

(docs)

Follow its parting instructions to make sure you have pyenv in your $PATH:

# Load pyenv automatically by adding
# the following to ~/.bashrc:
@ryan-williams
ryan-williams / parquet2json-install-error.md
Created October 22, 2023 19:33
`cargo install parquet2json` error

From jupiter/parquet2json#19:

  Installing parquet2json v2.0.2 (/home/ubuntu/c/parquet2json)
    Updating crates.io index
   Compiling libc v0.2.149
   Compiling proc-macro2 v1.0.69
   Compiling unicode-ident v1.0.12
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryan-williams
ryan-williams / pt189-fqs
Created November 2, 2015 15:40
PT189 Fastqs
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_001.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_002.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_003.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_004.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_005.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_006.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13/Raw/DNA.IlluminaHiSeq2500.WES/PT189_11_13_AGAGTCAA_L006_R1_007.C6G1RANXX.fastq
/datasets/martignetti_ovarian/189/Illumina_DNA/PT189_11_13
@ryan-williams
ryan-williams / office-supplies.md
Last active January 23, 2022 18:04
Desk/office/computer equipment I like+use

Some desk/office/computer equipment I like:

Basic laptop + large external monitor setup

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryan-williams
ryan-williams / brompton-nitto-rack-install.md
Last active September 30, 2021 16:10
Brompton Electric / Nitto rack install

I hit some issues installing a Nitto BM-5R rack (1, 2) on my Brompton Electric:

Brompton Nitto rack partial install

Having fastened 3 of the 4 rack/stay mount points (as well as 2 stay-frame points and the rack/fender/frame and rack/fender points), the 4th rack/stay mount is misaligned beyond my ability to force it into place.

I'm not sure if I've installed it incorrectly, or what. The light cable is also ≈½" too short to reach the light-mount points on the back of the rack.

Here are some close-ups:

@ryan-williams
ryan-williams / git.md
Last active December 7, 2020 16:09
installing git from source (optionally in home directory / with prefix)

Install libpcre2

In some situations, I've observed make below to fail for lack of a locatable libpcre2:

v=10.36
wget https://downloads.sourceforge.net/pcre/pcre2-$v.tar.bz2
tar -xvjf pcre2-$v.tar.bz2
pushd pcre2-$v
./configure --prefix="$HOME"
make
make install