Skip to content

Instantly share code, notes, and snippets.

View channprj's full-sized avatar

Park Hee Chan channprj

View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active May 11, 2026 18:53
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@levelsio
levelsio / gist:5bc87fd1b1ffbf4a705047bebd9b4790
Last active May 4, 2026 14:08
Secret of Monkey Island: Amsterdam (by @levelsio) or how to create your own ChatGPT image+text-based adventure game
# 2023-11-27 MIT LICENSE
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com.
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town.
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same!
Send me your ChatGPT text adventure game on X, I'd love to try it!
@amw
amw / pillow-vs-vips.py
Last active September 19, 2023 10:48
Performance comparison of image resizing methods in Pillow and PyVIPS
#!/usr/bin/env python
# Script for comparing Pillow vs PyVIPS used for this issue:
# https://github.com/libvips/pyvips/issues/148
import sys
import timeit
import pyvips
@0xdevalias
0xdevalias / debugging-electron-apps.md
Last active November 13, 2025 05:31
Debugging Electron Apps (and related memory issues)
@narate
narate / docker-compose.yml
Created November 22, 2022 09:23
Docker compose file for PostgreSQL with tuning config example
version: '3'
services:
db:
restart: always
image: postgres:14-alpine
shm_size: 256mb
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
volumes:
- ./postgres14:/var/lib/postgresql/data
@smontanaro
smontanaro / dusort.sh
Created November 7, 2022 11:01
I got this du postprocessing script from "the net" in the dark ages (probably from Usenet in the 80s or 90s). I have no idea who the original author was. I've never modified it **at all**. It has always just worked.
#!/bin/sh
#
# sort a "du" listing by directory size
# usage: du | dusort
FILES=
TFORM=0
while test $# -ge 1; do
case $1 in
-t) TFORM=1; ;;
@EdgarOrtegaRamirez
EdgarOrtegaRamirez / payload.json
Created May 10, 2022 18:52
Github Actions Context Payload for Push Event
{
"payload":{
"after":"65aeff1fc085e1e369533de9f59b2754c5bb20b1",
"base_ref":null,
"before":"77a9bae00f0d6996e0883ce6d23f2778c6a2ee25",
"commits":[
{
"author":{
"email":"email@gmail.com",
"name":"First Last",
@tatsuyasusukida
tatsuyasusukida / !README-javascript-media-audio.md
Last active September 5, 2023 12:22
🎤 How to record audio using the MediaStream Recording API in JavaScript

🎤 How to record audio using the MediaStream Recording API in JavaScript

@tatsuyasusukida
tatsuyasusukida / !README-javascript-audio.md
Last active April 7, 2026 12:35
🎵 How to record audio using the Web Audio API in JavaScript

🎵 How to record audio using the Web Audio API in JavaScript

Demo video: How to record audio using the Web Audio API in JavaScript

About this article

This article describes how to record audio using the Web Audio API in JavaScript. The related resources are shown below.