Skip to content

Instantly share code, notes, and snippets.

@maride
maride / copilot_music.py
Created April 14, 2014 13:34
Python. Randomly plays music files off a directory, randomly. Awesome im combination with a Raspberry Pi and a car :)
import os,random,time,sys
mp3s = []
mediapath = "/media/Music"
for path,directory,element in os.walk(mediapath,False):
print("Loading music from" + path + "...")
tmparray = element
for i in range(0,len(tmparray)-1):
@maride
maride / Nitro Patcher.cpp
Last active August 29, 2015 14:08
Nitro Patcher for Redline
//
// Nitro Patcher.cpp
// Nitro Patcher, patching Redline 1.0.5
//
// Created by codezeb on 25.10.14.
//
// Simply NOOP-ing 0x359E2 0...+4
//
// Compile:
// $ g++ "Nitro Patcher.cpp" -p "Nitro Patcher"
@maride
maride / keybase.md
Created April 1, 2016 13:42
Keybase proof for @maride on [GitHub|Keybase]

Keybase proof

I hereby claim:

  • I am maride on github.
  • I am maride (https://keybase.io/maride) on keybase.
  • I have a public key ASCq50Bs4al8tNTxalSvZ5CqILpl4RU23AXmKwqR5lB-9Ao

To claim this, I am signing this object: