View twitch-vod.py
#!/usr/bin/env python3
# Twitch VOD viewer with terminal chat replay.
#
# Usage: twitch-vod.py https://www.twitch.tv/videos/1234567890 [360p]
#
# Requires mpv and Twitch Chat Downloader
# (https://github.com/PetterKraabol/Twitch-Chat-Downloader).
#
# My copy of Twitch Chat Downloader is modified to run outside of its
View gnote-unity.py3
#!/usr/bin/env python3
#
# gnote-unity.py3
#
# Shows a Tomboy-like list of recent notes when the Gnote launcher is right-clicked.
# Clicking on a note opens it.
# Notes are sorted by last modification time and update dynamically.
#
# To use, just run this at login time, e.g. set under Startup Applications.
View map-24.cpp.gcov
-: 0:Source:map.cpp
-: 0:Graph:obj/map.gcno
-: 0:Data:obj/map.gcda
-: 0:Runs:1
-: 0:Programs:1
-: 1:#include "field.h"
-: 2:#include "map.h"
-: 3:#include "rng.h"
-: 4:#include "globals.h"
-: 5:#include "monster.h"
View .nethackrc
# temporary
msgtype=hide "You are blasted by * power!"
###############################################################################
# $Id: stth.nh343rc,v 343.331 2014/04/12 17:54:45 st-th Exp $
#
# NetHack 3.4.3 configuration file for public servers. It is meant to be used
View graymsg-0.1.6.pl
#!/usr/bin/perl
#
# graymsg-0.1.6.pl - color messages from certain users gray
#
# Change the nicks array to customize.
use strict;
use warnings;
my @supernicks = (
View trac-diff-float.js
// Set to autorun on sourceforge\.net\/.*/trac/.*/changeset/
(function ($) {
var mods = $("#file-legend .mod + dd");
if (mods.length == 0) return;
var modsLen = parseInt(mods[0].textContent);
if (!modsLen) return;
// Cache diff dimensions.
var tops = new Array(modsLen);
View aimake output.txt
[tung@tung-901 ~/Install/nethack4-4.2.0/build/aimake]$ ../../aimake ../../
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
Use of "goto" to jump into a construct is deprecated at ../../aimake line 1057.
View check.py
#!/usr/bin/env python
# Print phoenix download URL if not already downloaded.
import urllib2
from BeautifulSoup import BeautifulSoup
import re
import glob
protocol = 'http'
View clean-youtube-front-page.css
/* Hide the homepage's sidebar. */
.guide-container { display: none !important; }
.guide-background { display: none !important; }
/* Hide recommended/promoted videos on the right. */
#video-sidebar { display: none !important; }
/* Widen the subscription feed for our newly-freed space. */
#feed {
margin-left: 0 !important;
View tag-list.php
<?php
/**
* Abstraction-breaking custom tag lister.
* This block lists all tags under the given taxonomy vocabulary,
* in order of frequency, and then name. The tags are hyperlinked.
*/
$vocabulary_id = 8;
$cutoff = 15; // don't show results that don't pass the threshold
$threshold = 5; // after cutoff, don't show tags with counts less than this
$tag_query = "SELECT td.tid, td.name, COUNT(DISTINCT tn.nid) as num " .