Skip to content

Instantly share code, notes, and snippets.

$dir = $env:USERPROFILE + "\Music\Podcasts"
$episodes = 5
$urls = @( "http://theblacktapes.libsyn.com/rss",
"http://www.theblackdogma.com/tbd/?feed=podcast",
"http://impulseproject.info/feed/podcast/",
"http://spkmdl.libsyn.com/rss",
"http://www.ultimathule.info/xml/Ultima_Thule_Ambient_Music_Radio.xml",
"http://rwm.macba.cat/api/en/all_podcast/80.xml",
"http://alifewellwasted.com/feed/atom/",
"http://nightvale.libsyn.com/rss",
@r4dian
r4dian / Tinyfont.py
Last active February 21, 2017 14:29
tinyfont = lambda s: s.lower().translate("".maketrans("abcdefghijklmnopqrstuvwxyz", "ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖᶲʳˢᵗᵘᵛʷˣʸᶻ"))
@r4dian
r4dian / Unfavinator.py
Last active October 16, 2017 12:05
Delete all your (visible) twitter favs
#!/usr/bin/env python
import sys, os, time
# add the path for virtual env for running via cron
os.chdir(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/lib/python3.4/site-packages/')
import tweepy
#visit http://dev.twitter.com to create an application and get your keys
@r4dian
r4dian / music.c
Last active August 29, 2015 14:24 — forked from scazon/music.c
/* Here's a look at how I created a quick music player for use with GBDK.
It basically defines how to play a note, and then stores an array of notes
to be played as a timer interates through the beats */
//Define note names
typedef enum {
C3, Cd3, D3, Dd3, E3, F3, Fd3, G3, Gd3, A3, Ad3, B3,
C4, Cd4, D4, Dd4, E4, F4, Fd4, G4, Gd4, A4, Ad4, B4,
C5, Cd5, D5, Dd5, E5, F5, Fd5, G5, Gd5, A5, Ad5, B5,
C6, Cd6, D6, Dd6, E6, F6, Fd6, G6, Gd6, A6, Ad6, B6,
@r4dian
r4dian / config-highlight.cfg
Last active August 29, 2015 14:12 — forked from jaimergp/config-highlight.cfg
Monokai for idle
# Place this file inside your .idlerc folder
# or paste its contents inside config-highlight.def
# Use 'locate' to find their locations
# Adapted from SublimeText's Monokai
[monokai]
normal-foreground= #F8F8F2
normal-background= #272822
keyword-foreground= #F92672
keyword-background= #272822
@r4dian
r4dian / monokai.ini
Created September 15, 2014 18:11
Monokai style theme for adiIRC
#AdiIRC Theme
#v1.0
CONF_color_1=255,255,255
CONF_color_2=0,0,0
CONF_color_3=0,0,127
CONF_color_4=0,147,0
CONF_color_5=255,0,0
CONF_color_6=127,0,0
CONF_color_7=156,0,156