Skip to content

Instantly share code, notes, and snippets.

View rakiru's full-sized avatar

Leagsaidh Gordon rakiru

View GitHub Profile
@rakiru
rakiru / bandcampvolumeslider.user.js
Last active October 14, 2019 16:16
Bandcamp Audio Slider Userscript
// ==UserScript==
// @name Bandcamp Audio Slider
// @description Add a volume slider to Bandcamp's audio player.
// @version 1.1.0
// @updateURL https://gist.githubusercontent.com/rakiru/b358f54915ef135a66ca30c915dd925c/raw
// @include https://*.bandcamp.com/*
// @include https://bandcamp.com/*
// @run-at document-end
// @grant GM_addStyle
// @icon https://s4.bcbits.com/img/bc_favicon.ico
@rakiru
rakiru / antiscrollfuck-filters.txt
Last active June 30, 2017 21:38
AntiScrollFuck - Block scripts that mess with native scrolling. Add https://gist.githubusercontent.com/rakiru/8b478c87ccf5926f4dbe2f2d3a191cf4/raw to your adblocker
! Title: AntiScrollFuck
! Version: 1.3
! Homepage: https://gist.github.com/rakiru/8b478c87ccf5926f4dbe2f2d3a191cf4
! Redirect: https://gist.githubusercontent.com/rakiru/8b478c87ccf5926f4dbe2f2d3a191cf4/raw
! Block scripts that mess with native scrolling.
! https://github.com/inuyaksa/jquery.nicescroll
*/jquery.nicescroll.js$script
*/jquery.nicescroll.min.js$script
*/jquery.nicescroll.plus.js$script
@rakiru
rakiru / colors.conf
Created December 28, 2015 20:07
HexChat mIRC Colours
color_0 = ffff ffff ffff
color_1 = 0000 0000 0000
color_2 = 0000 0000 7f7f
color_3 = 2a3d 8ccc 2a3d
color_4 = ffff 0000 0000
color_5 = 7f7f 0000 0000
color_6 = 9c9c 0000 9c9c
color_7 = fcfc 7f7f 0000
color_8 = ffff ffff 0000
color_9 = 0000 fcfc 0000
@rakiru
rakiru / keybase.md
Created November 7, 2014 18:52
keybase.io github proof

Keybase proof

I hereby claim:

  • I am rakiru on github.
  • I am rakiru (https://keybase.io/rakiru) on keybase.
  • I have a public key whose fingerprint is 215F 3605 C7D4 882C 409C 8B37 10DF 2E09 2DCA E338

To claim this, I am signing this object:

@rakiru
rakiru / vxl2png.py
Last active April 19, 2017 22:04
Render an isometric overview of a VXL (AoS 0.x) map to a PNG. Improved version available here: https://gist.github.com/learn-more/7592999
# vxl2png.py: renders a vxl map isometrically
# by rakiru, 2013 - public domain
# Based on vxl2tga.py by GreaseMonkey, 2013 - public domain
# https://gist.github.com/iamgreaser/4709760
import sys, struct
import Image
if len(sys.argv) != 3:
print "Usage: %s mapfile.vxl output.png" % sys.argv[0]