Skip to content

Instantly share code, notes, and snippets.

View Naozumi520's full-sized avatar

Naozumi Naozumi520

  • Student
  • Hong Kong
  • 16:34 (UTC +08:00)
View GitHub Profile
@Naozumi520
Naozumi520 / asound.conf
Created July 4, 2022 11:22 — forked from chadmed/asound.conf
j314s-alsa-notes
# File written by chadmed <[email protected]>
# This file is organised from top to bottom as sound enters ALSA from user space.
# Set up device and set default for Pulse, PipeWire, JACK, etc.
# XXX: doesn't work reliably with PipeWire for some reason.
pcm.!default {
type plug
slave.pcm pass6
}
@chadmed
chadmed / asound.conf
Last active July 4, 2022 11:22
j314s-alsa-notes
# File written by chadmed <[email protected]>
# This file is organised from top to bottom as sound enters ALSA from user space.
# Set up device and set default for Pulse, PipeWire, JACK, etc.
# XXX: doesn't work reliably with PipeWire for some reason.
pcm.!default {
type plug
slave.pcm pass6
}
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active November 19, 2024 13:31
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2024-09-25

@liamr
liamr / autovst.py
Last active July 2, 2021 10:16
.aupreset to .fxp.
/*
From: https://forum.juce.com/t/script-to-convert-aupreset-to-fxp/7919
Author: https://forum.juce.com/u/yairadix
I made a small Python script to convert .aupreset files to .fxp format (VST presets).
Hopefully others may find it useful too.
Our use case for it was creating our factory presets for SurferEQ once in Logic and then converting them to other formats.
This script could be easily adapted to convert the other way around. (it uses the Construct library to describe the fxb format declaratively for both parsing and building)
*/
@tegansnyder
tegansnyder / Preventing-Puppeteer-Detection.md
Created February 23, 2018 02:41
Preventing Puppeteer Detection

I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:

Set my args as follows:

const run = (async () => {

    const args = [
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-infobars',
@pookjw
pookjw / seedutil.md
Last active July 6, 2023 02:47
Enroll macOS Beta Seed without profile installation

seedutil

Enroll macOS Beta Seed without profile installation

Usage

$ sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/A/Resources/seedutil 
usage: seedutil enroll SEED_PROGRAM
    seedutil unenroll

seedutil current

@kellyegan
kellyegan / Zoetrope.ino
Created October 8, 2014 12:41
3D Zoetrope Arduino Code
// Zoetrope
// Copyright 2014 Kelly Egan
//
// 3D Strobescopic Zoetrope for Makerfaire 2014
#define BUTTON_PIN 12 //Button to turn zoetrope on and off
#define POT_PIN 0 //Potentiometer used to set speed of motor
#define INDICATOR_PIN 13 //Indicator LED
#define HALL_PIN 3 //Hall effect sensor to determine motor speed