This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/** | |
* Firefox 89 Proton-to-Photon square-style tab adaptation. | |
* | |
* Set browser.compactmode.show = true in about:config, since I only tested this with it on. | |
* | |
* This will probably break at some point, but we'll worry about that when the time comes. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# A script to download chat from a Twitch VOD and print it to a terminal. | |
# Chat will be downloaded all the way until it ends. | |
# | |
# Usage: TWITCH_CLIENT_ID=0123456789abcdef0123456789abcde twitch-vod-chat.py [video_id] [start] | |
# | |
# This script could break at any time, because Twitch's chat API is | |
# undocumented and likes to change at any time; in fact, this script was |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Twitch VOD viewer with terminal chat replay. | |
# | |
# Usage: TWITCH_CLIENT_ID=0123456789abcdef0123456789abcde twitch-vod.py https://www.twitch.tv/videos/1234567890 [360p] | |
# | |
# Requires mpv and twitch-vod-chat.py - https://gist.github.com/tung/20de3e992ca3a6629843e8169dc0398e | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-: 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 = ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Print phoenix download URL if not already downloaded. | |
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
import re | |
import glob | |
protocol = 'http' |
NewerOlder