Skip to content

Instantly share code, notes, and snippets.

@Zer0t3ch
Zer0t3ch / rant.js
Last active August 29, 2015 14:11 — forked from lukes/rant.js
// <rant> to actual rant
// (requires modern browsers)
var rants = document.getElementsByTagName('rant');
for (i=0;i<rants.length;i++) {
var rant = new SpeechSynthesisUtterance(rants[i].innerHTML);
window.speechSynthesis.speak(rant);
}
@Zer0t3ch
Zer0t3ch / .conkyrc
Created November 15, 2014 01:27
Conky Configuration File
#####
#
# Zer0t3ch's .conkyrc
#
#####
update_interval 0.3
double_buffer yes
@Zer0t3ch
Zer0t3ch / README.md
Created November 14, 2014 13:51
Move 'n Link

Move 'n Link

This program will move a file to a new folder, and then create a symbolic link to it in the old folder


Usage

@Zer0t3ch
Zer0t3ch / switch.py
Last active August 29, 2015 14:09
Audio Device Switcher
#!/usr/bin/python2
import subprocess as sp
import sys
devhdmi = '5'
devheadset = '8'
storedir = "/home/chaos/bin/"
filename = storedir + ".currentdevice"
@Zer0t3ch
Zer0t3ch / voronoi-generator.js
Last active August 2, 2017 20:48
Point/Line Manager for my Voronoi diagram generator
/**=- VERSION 1.2 -=**/
var canvas, c;
var dots = [ ];
var lines = [ ];
var count = 0;
var m = {
mousePos : function(canvas, evt) {
var rect = canvas.getBoundingClientRect();