Skip to content

Instantly share code, notes, and snippets.

@r4dian
r4dian / clean up MacOS crap.ps1
Last active February 14, 2017 11:12
Clean up MacOS shit off shared drives and stop it placing them (but only on Network volumes)
cmd /c "del /s /q /f /a ._.*"; cmd /c "del /s /q /f /a .DS_STORE"
# ^ is this unwise ? ¯\_(ツ)_/¯
# you can add /p to be prompted for each deletion
@r4dian
r4dian / taks.json
Last active September 25, 2016 19:53
Pico-8 task runner for VSCode
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "C:/Path/To/Your/pico8.exe",
"isShellCommand": false,
"echoCommand": true,
"args": ["-windowed", "1", "-run", "${file}"],
"showOutput": "always"
}
@r4dian
r4dian / mattermost-monokai.txt
Last active August 4, 2016 11:25 — forked from ojdon/mattermost-monokai.txt
A rough Monokai theme for Mattermost.
#333333,#fefefe,#f92672,#FFFFFF,#fff,#f92672,#66d9ef,#FFFFFF,#a6e22e,#f92672,#bfcde8,#272822,#444444,#fefefe,#66d9ef,#66d9ef,#272822,#f92672,#FEFEFE,#000000,monokai
@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