Skip to content

Instantly share code, notes, and snippets.

View FiXato's full-sized avatar

Filip H.F. "FiXato" Slagter FiXato

View GitHub Profile
@FiXato
FiXato / en.yml
Last active August 29, 2015 13:59 — forked from henrik/en.yml
# config/locales/en.yml
en:
i18n:
language:
name: 'English'
@FiXato
FiXato / bash_prompt_with_git_and_rbenv.sh
Last active August 29, 2015 13:57 — forked from kyanny/gist:1668822
Updated original bash prompt with git and rbenv example with a check for the __git_ps1 function instead of existence of a git bash-completion file.
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
source ~/.rbenv/completions/rbenv.bash
# prompt with ruby version
# rbenv version | sed -e 's/ .*//'
__rbenv_ps1 ()
{
rbenv_ruby_version=`rbenv version | sed -e 's/ .*//'`

Chatmosphere hosts and the IPs they resolve to

app1.chatmosphere.org has address 69.41.179.202
app2.chatmosphere.org has address 69.41.179.203
app3.chatmosphere.org has address 69.41.179.204
app4.chatmosphere.org has address 69.41.179.205
app5.chatmosphere.org has address 69.41.179.206
app6.chatmosphere.org has address 69.41.165.98
app7.chatmosphere.org has address 69.41.165.99

app8.chatmosphere.org has address 69.41.165.100

@FiXato
FiXato / gamehelp.md
Last active December 18, 2015 07:18
Game Help page for Esper.net IRC network, guiding lost souls to the right channels, instead of bugging non-help channels.

EsperNet Game Help

Hello! You appear to be asking for help with a game in a channel that is not associated with any game whatsoever and thus you have been directed to this page. This page will guide you to the right place.

To join one of the channels suggested below, please use /join #channel, replacing #channel with the name of the channel you want to join. Don't forget the include the # though, as it is part of the name.

If you are new to IRC, there is a great article on workaround.org about asking for help on IRC.

Known Channels

@FiXato
FiXato / weebots.rb
Last active December 16, 2015 09:48 — forked from UnknownEntity634/weebots.rb
WeeChat script to parse BotServ Botlists to find out which bots are no longer in use.
#!/usr/bin/env ruby
# encoding: utf-8
#
# A WeeChat script to parse Anope's BotServ BOTLIST into a sorted list,
# so you can more easily find unassigned BotServ bots.
#
# Code by Unknown Entity (aka o_o aka Flaming Nutmeg) and Filip H.F. "FiXato" Slagter
# Based on the code by Unknown Entity
#
# Type /parsebotlist and go get some noms depending on bot list length while it collects info.
@FiXato
FiXato / Scripts.rvdata2-exporter.rb
Last active February 16, 2024 13:47 — forked from hirataya/rvdata2_dump.rb
Script to export the scripts inside the Scripts.rvdata2 data file to Data/exported_scripts as plain text Ruby files. If you run this script from inside RPG Maker VX Ace, I would suggest creating the Data/exported_scripts folder yourself as RGSS3 doesn't seem to support requiring FileUtils. Based on HIRATA Yasuyuki / 平田 泰行's rvdata2_dump.rb script:
#! /usr/bin/env ruby
# encoding: utf-8
#
# Script to export the scripts inside the Scripts.rvdata2 data file to Data/exported_scripts as plain text Ruby files.
# If you run this script from inside RPG Maker VX Ace, I would suggest creating the Data/exported_scripts folder yourself
# as RGSS3 doesn't seem to support requiring FileUtils.
# Based on HIRATA Yasuyuki / 平田 泰行's rvdata2_dump.rb script: https://gist.github.com/hirataya/1853033
begin
require 'fileutils'
rescue LoadError
@FiXato
FiXato / wunderground.mrc
Created May 27, 2012 21:17 — forked from anonymous/gist:2815875
wunderground.mrc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;; 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)
@FiXato
FiXato / checkconfig.rb
Created January 5, 2012 02:37 — forked from UnknownEntity634/checkconfig.rb
Anope <= 1.8.x Deploy Script Cross-Section
#!/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'
@FiXato
FiXato / nzbmatrix_watchlist_mail2rss.rb
Created November 3, 2010 20:09 — forked from anonymous/nzbmatrix_watchlist_mail2rss.rb
Simple IMAP parser script that looks for NZBMatrix Watchlist mails and converts them to an RSS feed and downloads the NZBs.
#!/usr/bin/env ruby
# Simple IMAP parser script that looks for NZBMatrix Watchlist mails and converts them to an RSS feed and downloads the NZBs.
# Created by request of third party.
#
# LICENSE:
# Copyright 2010 Filip H.F. 'FiXato' Slagter
# 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.
require 'net/imap'
require 'rss/maker'
@FiXato
FiXato / gist:232808
Created November 12, 2009 10:57 — forked from Jonnotie/gist:225016
# Install kicker on osx: sudo gem install kicker --source http://gemcutter.org\
#
# Place a `.kick' file with this code in the root of your project, which contains the file to watch.
# Then start running kicker from the project root: $ kicker
FILE_TO_WATCH = 'mockup-1.psd'
counter = nil
if File.exist?('output')