Skip to content

Instantly share code, notes, and snippets.

View Naozumi520's full-sized avatar

Naozumi Naozumi520

  • Student
  • Hong Kong
  • 16:24 (UTC +08:00)
View GitHub Profile
@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
@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

@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',
@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)
*/
@LukeZGD
LukeZGD / ios-downgrade-dualboot.md
Last active July 21, 2024 07:17
Downgrade and dualboot status of almost all iOS devices

Downgrade and dualboot status of almost all iOS devices

UPDATED: 2024-06-22

@chadmed
chadmed / asound.conf
Last active July 4, 2022 11:22
j314s-alsa-notes
# File written by chadmed <jcalligeros99@gmail.com>
# 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
}
@Naozumi520
Naozumi520 / asound.conf
Created July 4, 2022 11:22 — forked from chadmed/asound.conf
j314s-alsa-notes
# File written by chadmed <jcalligeros99@gmail.com>
# 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
}