Skip to content

Instantly share code, notes, and snippets.

View folkengine's full-sized avatar
😈
Living in interesting times.

Christoph folkengine

😈
Living in interesting times.
View GitHub Profile
@folkengine
folkengine / fizzbuzz.py
Last active July 28, 2016 13:52
FizzBuzz Python
import sys
def fb(f, b, count):
fizz = int(f)
buzz = int(b)
c = int(count)
for x in range(1, c + 1):
if x != 1:
print(' ', end="")
@folkengine
folkengine / plotting_earthquakes.pl
Last active July 28, 2016 13:51
Plotting Earthquakes
%matplotlib inline
import csv
from urllib.request import urlopen
# Based on http://introtopython.org/visualization_earthquakes.html
lats, lons = [], []
magnitudes = []
@folkengine
folkengine / Building_lilypond_on_osx.md
Last active October 27, 2021 09:32
Building Lilypond on OSX
@folkengine
folkengine / clojure_and_virtuoso_notes.md
Last active July 28, 2016 13:50
Clojure and Virtuoso Notes

Virtuoso Docker

Virtuoso Clojure JDBC example

docker run --name my-virtuoso \
  -p 8890:8890 -p 1111:1111 \
  -e DBA_PASSWORD=myDbaPassword \
  -e SPARQL_UPDATE=true \
  -e DEFAULT_GRAPH=http://localhost:8890/DAV \

-v /my/path/to/the/virtuoso/db:/var/lib/virtuoso/db \

@folkengine
folkengine / programming_music_notes.md
Last active July 28, 2016 13:49
Programming Music Notes
@folkengine
folkengine / Bach-bass.md
Last active July 28, 2016 15:25
Bach Bass Arias
  • BWV 20, 4 - Recitativa: Gesetzt, es dau'rte der Verdammten Qual
  • BWV 20, 5 - Gott ist gerecht in seinen Werken
  • BWV 20, 8 - Wacht auf, wacht auf, verlornen Schafe
  • BWV 162, 1 - Ach! ich sehe, itzt, da ich zur Hochzeit gehe