This file contains hidden or 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
# TCL script for openMSX for easy testing of known machines and extensions. | |
# (c) 2012 Filip H.F. "FiXato" Slagter | |
# For inclusion with openMSX, GNU General Public License version 2 (GPLv2, http://www.gnu.org/licenses/gpl-2.0.html) applies. | |
# Otherwise you may use this work without restrictions, as long as this notice is included. | |
# The work is provided "as is" without warranty of any kind, neither express nor implied. | |
# | |
# History: | |
# Version 0.2: made it use a single new machine, defaulting to your current machine. It now removes the extension again after each test. | |
set_help_text test_all_machines "Test all known machines and report errors. Pass 'stderr' as channel argument to get the return values on the commandline." |
This file contains hidden or 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 ruby | |
# encoding: utf-8 | |
# (c) 2012, Filip H.F. "FiXato" Slagter | |
# For http://www.msx.org/forum/msx-talk/general-discussion/shame-you-dutch-collectors#comment-199093 | |
# Suggestions for more lists: http://en.wikipedia.org/wiki/Category:Video_game_lists_by_platform | |
require 'open-uri' | |
require 'nokogiri' | |
def look_for_table_title(node,count=0) | |
prev = node.previous_element || node.parent |
This file contains hidden or 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
# $Id: main.mk 12439 2012-03-24 11:01:12Z mthuurne $ | |
# | |
# openMSX Build System | |
# ==================== | |
# | |
# This is the home made build system for openMSX, which replaced the | |
# autoconf/automake combo. | |
# | |
# Used a lot of ideas from Peter Miller's excellent paper | |
# "Recursive Make Considered Harmful". |
This file contains hidden or 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;; weather underground for mIRC ;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;by eqrunner ;;v3.0;; | |
/* | |
-- COMMANDS -- | |
!w or !weather [zipcode|city,state|city,country|airport] = will return weather current conditions. | |
!current [zipcode|city,state|city,country|airport] = will return current conditions. | |
!forecast [zipcode|city,state|city,country|airport] = will give detailed 3 day forecast (for us) | |
!forecast5 [zipcode|city,state|city,country|airport] = will send 5 day forecast to $nick that requested. (to prevent chan flooding) |
This file contains hidden or 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
#!/bin/zsh | |
# Based on the 'colors' script I found online somewhere years ago. | |
# It looks like it is based on works posted at http://crunchbanglinux.org/forums/topic/13645/ansi-colorschemes-scripts/page/2/ | |
# I've basically just edited it a bit to work with IRC control codes as well. | |
# ~~Filip H.F. "FiXato" Slagter, 2012 | |
# ANSI Color -- use these variables to easily have different color | |
# and format output. Make sure to output the reset sequence after | |
# colors (f = foreground, b = background), and use the 'off' | |
# feature for anything you turn on. |
This file contains hidden or 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 ruby | |
require 'yaml' | |
LOG_PATH = File.expand_path("~/bopm/var/bopm.log") | |
#TODO: Grab these directly from the bopm.conf | |
BLACKLISTS = %w[ | |
dnsbl.dronebl.org | |
tor.dnsbl.sectoor.de | |
rbl.efnetrbl.org | |
dnsbl.swiftbl.org | |
amsuyu.dnsbl.sectoor.de |
This file contains hidden or 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 ruby | |
require 'yaml' | |
UNREAL_PATH = "~/UnrealIRCd/logs/spamfilter.log" | |
matches = Hash.new{|hash,key| hash[key] = 0} | |
`grep -o \\\'.\\\\+\\\': #{UNREAL_PATH} |sort`.split("\n").each do |match| | |
matches[match] += 1 | |
end | |
puts matches.sort_by{|k,v|v}.map{|k,v|'%s hits: %s' % [v,k[1..-3]]}.reverse |
This file contains hidden or 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 ruby | |
# encoding: UTF-8 | |
# | |
# A simple script that parses the Anope IRC Services services.conf for zbot and mysql variables. | |
# By: | |
# - Unknown_Entity aka o_o | |
# - Filip H.F. "FiXato" Slagter | |
# | |
# Now also compatible with 1.8.5 which seems to run on one of the archaic servers >< | |
require 'yaml' |
This file contains hidden or 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
// ==UserScript== | |
// @name MRC Forum User Ignore(MRC) | |
// @namespace FiXato | |
// @description Hides messages from users you want to ignore on the msx.org forum | |
// @include http://www.msx.org/forum/* | |
// @version 1.1 | |
// ==/UserScript== | |
// | |
// (c) 2011-2013, Filip H.F. "FiXato" Slagter, Licensed under MIT License. | |
// Tested with GreaseMonkey for Firefox 7 on Windows and on Chrome for Mac |
This file contains hidden or 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
// ==UserScript== | |
// @name G+ Nicks | |
// @namespace https://plus.google.com/ | |
// @description Proof of concept script to add nicknames to usernames on G+ | |
// @include https://plus.google.com/* | |
// ==/UserScript== | |
anchors = document.getElementsByClassName('yn'); | |
function add_nickname(oid, username) { |