Skip to content

Instantly share code, notes, and snippets.

View dfischer's full-sized avatar

0x44 0x46 dfischer

View GitHub Profile
@dfischer
dfischer / TextEditor.cs
Created January 7, 2024 22:52 — forked from JotaRata/TextEditor.cs
A really really simple text editor for Unity
/*
This is a really simple text editor to be used within Unity
It's useful to write memos, notes or ideas inside your Unity Editor window
Kinda like Blender's Text Editor
*/
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
wC4.....wC4..................................
.04T2073.04T1101.............................
.aV2.....eV1.................................
.............................................
....Ve....Ve....Ve...........................
.02X1..02X1..02X1............................
3I4...4I5...0I6..............................
.3Ad...4A7...3A1.............................
..g11Q..b11Q..411Q#0244902#..................
.....7....A8....a7#0357853#..................
@dfischer
dfischer / 2022-05-02.orca
Created August 22, 2023 05:10 — forked from moxuse/2022-05-02.orca
2022-05-02.orca
.wC8.............1C8.....................................................
..64T4422.........78T12535143.....wC4....................................
..aV2.bV3...........3..............24T5555...............................
..........Va......VaJ.....Va.......8V5...................................
...Va.....2A1.....2A3.....2A3.......0....................................
.sA2pA.VbkA3hA.VbcA59A.Vb4A51A.Vb..s.....................................
..u4OpA3..n4OhA3..h4O9A3..94O1A3.........................................
....0As.....2Ak.....5Ac.....5A4..........................................
.....s1O.....m1O.....h1O.....91O.........................................
.....cVD.....dVE.....eVG.....fVG.#CcDdEFfGgAaBCcDd#......................
@dfischer
dfischer / 2022-05-01.orca
Created August 22, 2023 05:10 — forked from moxuse/2022-05-01.orca
2022-05-01.orca
.gC8.............1C8..............wC4............................................
..68T44226611.....38T21134212......34T2122.......................................
..aV1.bV2...........3..............lV2...........................................
........3Ka.l.....VaJ.....Va.....................................................
...Va.....1A2.....1A3.....1A4....................................................
.sA1pA.VbkA3hA.VbcA49A.Vb4A51A.Vb................................................
..t4OpA2..n4OhA2..g4O9A2..94O1A2.................................................
....0Ar.....3Aj.....5Ab.....7A3..................................................
.....r1O.....m1O.....g1O.....a1O.................................................
.....cVc.....dVE.....eVf.....fVg.#CcDdEFfGgAaBCcDd#..............................

// Control Effects MIDI Guy sound module // https://github.com/kinoshita-lab/MIDI-guy/

// Orca code

.......................................... ....4Uw..R....6Uq..Rt...2Uq..Rt........... ......:022cf....:112af....:731af.......... .......................................... ..........................................

@dfischer
dfischer / Orca custom operator
Created August 22, 2023 05:09 — forked from hsitz/Orca custom operator
custom operator for javascript Orca
/* this gist is javascript and goes in the library.js file */
/* that's part of Orca install. I had it between the */
/* 'OperatorMidi' and 'OperatorCC' functions, though that order */
/* is just for organization, not necessary. */
library['~'] = function OperatorMidiWithTranspose (orca, x, y, passive) {
Operator.call(this, orca, x, y, '~', true)
this.name = 'midiwithtranspose'
this.info = 'Sends MIDI note with note transpose'

A Hacker's Guide to learning rhythm and lead guitar FAST!

I've been playing guitar for over 30 years. I never took formal lessons - only ocassional ones targeted to a specific topic. I love the discovery process and the relationship I've created with the instrument.

Five years ago or so, I had an a-ha moment, which fundamentaly changed the way I approach my learning of the guitar. After internalizing all the content I consumed, I thing I've come up with a formula for learning both rhythm and lead guitar in a very streamlined and systematic fashion. This method will teach you how to find chords across the entire fretboard so you can create chord progresssions for your own songs, or to make it easier to figure out the chords of your favorite songs.

However, what I like the most about it is that it gets you ready to play lead guitar, without putting too much emphasis on the pentatonic scale. Also, it teaches the guitar from the standpoint of understanding its symetry, and dare I say, the mathematics

program dither
integer :: status,unit,readwrite,blocksize,naxes(2),nfound
integer :: group,npixels,bitpix,naxis,i,j,fpixel,un
real :: nullval,diff_mat(3,2),perr
real, allocatable :: image(:,:), error(:,:)
integer, allocatable :: seed(:)
logical :: anynull,simple,extend
character(len=80) :: filename
call random_seed(size=Nrand)
@dfischer
dfischer / harden
Created August 7, 2022 08:53 — forked from jahil/harden
FreeBSD System Hardening Script
#!/bin/sh
##################################################################
##################################################################
#
# The FreeBSD System Hardening Script
# David Childers - 15 February, 2010
#
# This software is released under the Attribution-ShareAlike version 3.0 Licence.
# www.creativecommons.org/licenses/by-sa/3.0/
#
@dfischer
dfischer / sclang-dynamic-effects.sc
Created June 2, 2022 06:50 — forked from ckmahoney/sclang-dynamic-effects.sc
Demonstrating a method to route effects dynamically in SuperCollider.
/**
Routing dynamic effects for any Synth
The issue was that a list of arguments can not be passed in as args for SynthDef.
For examle say you want to apply both a reverb and delay to a hat sound.
One way is to write explicit args for each effect :
SynthDef(\hat, {|out=0, reverbChannel =4, delayChannel = 6|