Skip to content

Instantly share code, notes, and snippets.

View TheRealCodeBeard's full-sized avatar
🖖

Phil TheRealCodeBeard

🖖
View GitHub Profile
@TheRealCodeBeard
TheRealCodeBeard / FSharpAutocomplete.py
Created January 6, 2014 20:50
Hi. Having run out of time/momentum to work on this I wanted to 'get it out there' in the hope that someone can finish it. This python file is for Sublime Text 3. When installed as a plugin it parses an fsharp file when loaded and post save and then calls for auto complete options. I was a little inspired by this: http://www.eladyarkoni.com/2012…
import sublime, sublime_plugin
import sys,os,re
#script should go in Pacakges/FSharpAutocomplete/FSharpAutocomplete.py
#pexpect should go in Packages/FSharpAutocomplete/lib
#to make it load 'everything' from the lib folder.
def installpath(path):
if path not in sys.path:
sys.path.insert(0, path)
__file__ = os.path.normpath(os.path.abspath(__file__))
@TheRealCodeBeard
TheRealCodeBeard / Lesson.fsx
Created January 10, 2014 15:36
FSharp Lesson
open System
(*Version 1
let rec handle (command:string) =
match command.ToLower() with
| "quit" -> printfn "Bye Bye!"//exit condition first!
| _ ->
printfn "I don't understand %s" command
Console.ReadLine() |> handle
@TheRealCodeBeard
TheRealCodeBeard / phil1.txt
Created October 14, 2014 01:33
Chord Sequence 1
-Chord Voicings Used-
E.A.D.G.B.e
D6(no5) (v1): x.5.4.4.3.x (ii of A ~ inversion of Bm7)
D6(no5) (v2): x.x.12.11.12.10 (ii of A ~ inversion of Bm7)
Bbm7/Ab : x.x.6.6.6.6 (ii of A ~ passing chord)
Bm7/A : x.x.7.7.7.7 (ii of A )
E7(no5) : x.7.6.7.5.x (V of A )
A6(no5) : x.x.7.6.7.5 (I of A )
Em7(b5)/Bb : x.x.8.9.8.10 (ii of Dm)
Eb7/Bb : x.x.8.8.8.9 (V of Dm ~ tritone substitution)
@TheRealCodeBeard
TheRealCodeBeard / Links.txt
Created June 24, 2019 12:05
ManfredMaxNeef