Skip to content

Instantly share code, notes, and snippets.

View JayKickliter's full-sized avatar
💭
Cache Rules Everything Around Me

Jay Kickliter JayKickliter

💭
Cache Rules Everything Around Me
View GitHub Profile
@JayKickliter
JayKickliter / brew-deps.md
Last active August 20, 2022 17:17
Building GNU Radio 3.10 on macOS 12
/opt/homebrew/bin/pip3 install packaging mako PyYAML
/Users/jay/forks/gr-lora/build (master *=) $ brew list
==> Formulae
abseil				fftw				hicolor-icon-theme		libtasn1			numpy				readline
adwaita-icon-theme		flac				hiredis				libtiff				oniguruma			ripgrep
aften				fmt				hub				libtool				open-mpi			scipy

Keybase proof

I hereby claim:

  • I am jaykickliter on github.
  • I am kickliter (https://keybase.io/kickliter) on keybase.
  • I have a public key ASAl309uF6BvENIx7WlC40Ywqh9Ot-ZsvU_LN9edh8yDwAo

To claim this, I am signing this object:

@JayKickliter
JayKickliter / steps.md
Last active June 9, 2022 16:36
Debugging enif_protobuf segfault

Steps

# The following three lines are from the erl wrapper, 
# which is usually called instead of erlexec itself
export ROOTDIR="/home/jay/.local/OTP-23.3.4.8-debug/lib/erlang"
export BINDIR=$ROOTDIR/erts-11.2.2.7/bin
export EMU=beam

cgdb ~/.local/OTP-23.3.4.8-debug/lib/erlang/erts-11.2.2.7/bin/erlexec

Functional

  • Haskell
  • Lisp
  • Erlang (underrated. Heavily used at Helium)

Concatative

  • APL/J/K/Q
  • FORTH
@JayKickliter
JayKickliter / jeep-mods.md
Last active December 31, 2024 23:07
My Jeep mods

DSCF7893-HDRDSCF1348-HDR

Suspension

  • 3" lift
  • Teraflex Falcon Nexus EF 2.2 Steering Stabilizer
  • Teraflex Falcon Shocks 3.3 Adjustable Piggyback front & rear. Rear has skid plate.
  • Metal cloak front and rear Control Arms
  • Metal cloak Rear Track Bar
  • Metal cloak Tie rod and Drag link
impl CurveAffine for G1Affine {
type Engine = Bls12;
type Scalar = Fr;
type Base = Fq;
type Prepared = G1Prepared;
type Projective = G1;
type Uncompressed = G1Uncompressed;
type Compressed = G1Compressed;
type Pair = G2Affine;
type PairingResult = Fq12;
@JayKickliter
JayKickliter / eu868_map.erl
Last active February 12, 2021 19:13
RSSIS to SNR curvefit
{
-7 => 7.6,
-8 => 7.8,
-9 => 7.8,
-10 => 7.9,
-11 => 8.0,
-12 => 8.0,
-13 => 8.0,
-14 => 8.0,
-15 => 8.0,
@JayKickliter
JayKickliter / main.rs
Created February 8, 2021 22:38
Remove line and block comments from a &str in Rust
fn main() {
let decommented = decomment(INPUT);
println!("{}", decommented);
}
/// Removes both c-style block comments and c++-style line comments from a str.
pub fn decomment(src: &str) -> String {
let mut in_line_comment = false;
let mut in_block_comment = false;
let mut decommented = String::with_capacity(src.len());
@JayKickliter
JayKickliter / .ccls
Created July 31, 2020 16:57
ccls file for arm cortex-m4 project
%compile_commands.json
--target=armv7m-none-eabi
--sysroot=/Users/jay/.local/gcc-arm-none-eabi-9-2019-q4-major/bin/../arm-none-eabi
-isystem/Users/jay/.local/gcc-arm-none-eabi-9-2019-q4-major/bin/../arm-none-eabi/include/c++/9.2.1
-isystem/Users/jay/.local/gcc-arm-none-eabi-9-2019-q4-major/arm-none-eabi/include/c++/9.2.1/arm-none-eabi/thumb/v7-m/nofp
-mfpu=none
@JayKickliter
JayKickliter / erlang-macos.md
Created June 27, 2020 21:54
How I compile Erlang from source on macOS

How I compile Erlang from source on macOS

CFLAGS="-Og -ggdb3 -fno-omit-frame-pointer" \
CXXFLAGS="-Og -ggdb3 -fno-omit-frame-pointer" \
./configure \
      --prefix=$HOME/.local \
      --disable-silent-rules \
      --enable-dynamic-ssl-lib \
 --with-ssl=/usr/local/opt/openssl \