Skip to content

Instantly share code, notes, and snippets.

View zph's full-sized avatar

Zander Hill zph

View GitHub Profile

Human User Guide (HUG) 🤖

![photo]

✨ About me ✨

🔴🟠🟢🔵 What are some honest, unfiltered things about you?

Tell us about things that others may not easily discern about you.

import mysql.connector
import re
slow_log_files = ['file1','file2']
table = "slow_log"
connection = mysql.connector.connect(
host="127.0.0.1",
@adtac
adtac / README.md
Last active July 9, 2025 18:44
Using your Kindle as an e-ink monitor

3.5 fps, Paperwhite 3
@adtac_

step 1: jailbreak your Kindle

mobileread.com is your best resource here, follow the instructions from the LanguageBreak thread

I didn't really follow the LanguageBreak instructions because I didn't care about most of the features + I was curious to do it myself, but the LanguageBreak github repo was invaluable for debugging

@oxc
oxc / node-execv.ts
Last active July 30, 2024 01:05
Call execv (works similar for execvp, execve) on Node 20
import ref from "ref-napi";
import ffi from "ffi-napi";
import ref_array_di from "ref-array-di";
const ArrayType = ref_array_di(ref);
const StringArray = ArrayType("string");
// from fcntl.h
const F_GETFD = 1; /* get close_on_exec */
@NeKzor
NeKzor / libc_ffi.ts
Last active July 30, 2024 02:32
Deno FFI feat. libc.
export const libc = Deno.dlopen(
"libc.so.6",
{
dl_iterate_phdr: {
parameters: ["function", "pointer"],
result: "i32",
},
readlink: {
parameters: ["buffer", "buffer", "isize"],
result: "isize",
@shanness
shanness / jira-search
Created November 5, 2023 03:44
jira CLI search with fzf and caching
@bergie
bergie / windvswater.ipynb
Last active May 9, 2025 06:00
Wind vs water
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ashleymcnamara
ashleymcnamara / gettoknowyou.md
Last active July 10, 2025 10:00
Get to know you survey

TELL ME ABOUT YOURSELF

You can fill this form out on your own or we can do it together, conversation style. If you prefer to have a conversation then please let me know so we can extend our 1:1

  • What are your pronouns?
  • What's your personality type? (example: I'm an ENPF Take the quiz)
  • What motivates you?
  • What keeps you up at night?
  • What's your learning style? (example: I'm an Auditory-ISFP, but keep in mind that people can be between learning styles or identify with more than one. Don't let it define you. It's simply information Take the quiz)
    • Visual (spatial)
  • Aural (auditory)
@ctsrc
ctsrc / README.md
Last active July 2, 2025 14:28 — forked from niw/README.en.md
Guide: Run FreeBSD 13.1-RELEASE for ARM64 in QEMU on Apple Silicon Mac (MacBook Pro M1, etc) with HVF acceleration (Hypervisor.framework)
@asoorm
asoorm / docker-compose-mongo-replicaset.yml
Created September 14, 2018 19:00
Mongo Replica Set docker compose
version: "3"
services:
mongo1:
hostname: mongo1
container_name: localmongo1
image: mongo:4.0-xenial
expose:
- 27017
ports:
- 27011:27017