Skip to content

Instantly share code, notes, and snippets.

View dukeofharen's full-sized avatar

Duco W dukeofharen

View GitHub Profile
@dukeofharen
dukeofharen / dazzamack-edm.txt
Created August 20, 2019 10:33
Dazzamack's original top 1000 favourite EDM tracks (originally from listology.com, but that site is down)
Massive Attack - Unfinished Sympathy [Paul Oakenfold Mix] (1991)
{Downtempo, Trip Hop}
In my opinion, the best electronic track I've heard. A "Massive" tune. From their debut album “Blue Lines”, this Bristol act fused Hip Hop elements & Electronica into a style which would later be known as Trip-Hop. Shara Nelson’s R&B vocals are simply awesome in this tune. Even the music video is superb, with Shara just walking through some crappy US streets singing away, oblivious to all the crap around her. This track was the first of many great tunes by Massive Attack. Tricky from Massive Attack went on to a great solo career and Massive Attack also influenced future trip hop artists like Portishead, DJ Shadow & Sneaker Pimps.
Age Of Love - The Age Of Love [Watch Out For Stella Mix] (1990, 1992)
{Trance}
Originally released in 1990, it is generally accepted, along with Dance 2 Trance’s “We Come In Peace” as the first "true" trance tracks. However, KLF’s 1988 track “What Time Is Love? (Pure Trance 1)” could be consider
@dukeofharen
dukeofharen / darktremor-trance.txt
Last active December 8, 2022 04:45
Darktremor's original top 400 favourite trance tracks (originally from listology.com, but that site is down)
_These are the rules for posting recommendations. If you break one, I will ignore you. Read them before making a suggestion:
1.If you suggest even one track that is already on the list, I will ignore all other tracks in your suggested list. Use edit/find (on this page), or hit control-f to search out tracks before recommending them. Don't just whip your playlist off into the comments, I want you to make sure it's a)better than some of the tracks on this list, and b)NOT ALREADY ON IT, before you suggest I add it. This list is massive, and the base of tracks it was selected out of is even bigger. I don't mean to be a jerk about it, but I don't have the time to sift through records that are already on the list. Plus, that tells me you didn't think about your suggestion.
2.If you've been listening to trance for less than 9 months, you have a DJ Mystik track on your computer anywhere, or you still (seriously) find tracks by typing "trance" or "techno" into a file sharing program, then please don't suggest anythi
@dukeofharen
dukeofharen / gist:e2c60b4478408b53d743
Last active June 18, 2023 19:20
WordPress like shortcode parser for PHP
<?php
//The content which should be parsed
$content = '<p>Hello, my name is John an my age is [calc-age day="4" month="10" year="1991"].</p>';
$content .= '<p>Hello, my name is Carol an my age is [calc-age day="26" month="11" year="1996"].</p>';
//The array with all the shortcode handlers. This is just a regular associative array with anonymous functions as values. A very cool new feature in PHP, just like callbacks in JavaScript or delegates in C#.
$shortcodes = array(
"calc-age" => function($data){
$content = "";
//Calculate the age