Skip to content

Instantly share code, notes, and snippets.

View dfischer's full-sized avatar
🔥
cooking

0x44 0x46 dfischer

🔥
cooking
View GitHub Profile

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|
@dfischer
dfischer / static-files-dynamic-compressor.sc
Created June 2, 2022 06:50 — forked from ckmahoney/static-files-dynamic-compressor.sc
Creating a dynamic compressor applied from two standard audio files in SuperCollider.
/**
Here we create a "sidechain compressor" effect.
Given two audio files, we are able to have one of the files change its volume in response to the other.
This is an extremely useful and versatile effect: All professional music mastering involves dynamic compression
at many scales.
In contemporary and art music, it is applied lightly. In dance music and popular styles, it is often heavy.
This is a heavy example, for drastic effect. Here we are:
@dfischer
dfischer / support-for-harmonic-theory.sc
Created June 2, 2022 06:50 — forked from ckmahoney/support-for-harmonic-theory.sc
An empirical example demonstrating the use of harmonics to generate music from noise
/**
How to Emperically measure the Quality of Music,
or Applying Harmonics to Non-Musical Source to Produce a Musical Signal
When people ask for empirical evidence that Harmonic Theory works,
we must first agree on a method to measure the "musicality" of a signal.
Generally we can agree that a pure White Noise signal (even distribution of frequencies across the given range in Hertz) is not musical. In the domain of sound, it is the antithesis of music because there is no discrete rhythmic structure and no discrete harmonic structure (example 1)
@dfischer
dfischer / six_step_reframe.py
Created May 16, 2022 04:03 — forked from calroc/six_step_reframe.py
This is Python pseudocode for the deprecated Six Step Reframe pattern.
from nlp import unconscious_connection
behavior = 'some behaviour you want to change'
urmind = unconscious_connection()
G = urmind.get_generative_part()
I = urmind.intention_of(behavior)
@dfischer
dfischer / socat_caesar_dpi.md
Created February 27, 2022 22:03 — forked from gmurdocca/socat_caesar_dpi.md
Circumventing Deep Packet Inspection with Socat and rot13

Circumventing Deep Packet Inspection with Socat and rot13

I have a Linux virtual machine inside a customer's private network. For security, this VM is reachable only via VPN + Citrix + Windows + a Windows SSH client (eg PuTTY). I am tasked to ensure this Citrix design is secure, and users can not access their Linux VM's or other resources on the internal private network in any way outside of using Citrix.

The VM can access the internet. This task should be easy. The VM's internet gateway allows it to connect anywhere on the internet to TCP ports 80, 443, and 8090 only. Connecting to an internet bastion box on one of these ports works and I can send and receive clear text data using netcat. I plan to use good old SSH, listening on tcp/8090 on the bastion, with a reverse port forward configured to expose sshd on the VM to the public, to show their Citrix gateway can be circumvented.

Rejected by Deep Packet Inspection

I hit an immediate snag. the moment I try to establish an SSH or SSL connection over o

@dfischer
dfischer / uaf_to_prevsize.c
Created September 18, 2021 17:56 — forked from ignis-sec/uaf_to_prevsize.c
If this is turns out to be a new method, i nominate "House of Flames"
int main(){
unsigned long* a = malloc(0x508);
unsigned long* b = malloc(0x508);
memset(a,'A',0x508);
memset(b,'B',0x508);
printf("################ A: %lx\n",a);
printf("################ B: %lx\n",b);
printf("################ A->size: %llx\n",*(a-1));
#https://twitter.com/officialmcafee/status/1397568860082122752
#https://twitter.com/ahakcil/status/1397888724936105987
import random
import copy
RST = '\033[0m'
def rand_data(size):
d = []