Skip to content

Instantly share code, notes, and snippets.

View amyreese's full-sized avatar
🐍
herding snakes

Amethyst Reese amyreese

🐍
herding snakes
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Let&#39;s Go Shopping</title>
<link rel="stylesheet" type="text/css" href="/media/style.css"/>
</head>
#!/bin/bash
usage='bootstrap.sh -- Bootstrap a profile installation
Options:
k A key name (Default: "id_dsa")
u User name directory (Default: "user")
o User home directory (Default: "/home/$u")
g Version of git to download (Default: 1.6.4.4)
c Profile clone path
@amyreese
amyreese / znc-query-buffering.patch
Created September 9, 2011 14:02
Query Buffering Patch for ZNC
This patch make ZNC query buffering behave the way I like, as I use
multiple clients and still want the query buffer to be filled and replayed
for the newly connecting client.
diff -rup znc-0.074/IRCSock.cpp znc/IRCSock.cpp
--- znc-0.074/IRCSock.cpp 2009-06-29 13:26:19 +0200
+++ znc/IRCSock.cpp 2009-08-26 11:30:56 +0200
@@ -724,21 +724,14 @@ bool CIRCSock::OnGeneralCTCP(CNick& Nick
bool CIRCSock::OnPrivNotice(CNick& Nick, CString& sMessage) {
MODULECALL(OnPrivNotice(Nick, sMessage), m_pUser, NULL, return true);
@amyreese
amyreese / jreese.theme
Created September 9, 2011 18:59
Irssi Theme
# default foreground color (%N) - -1 is the "default terminal color"
default_color = "-1";
# print timestamp/servertag at the end of line, not at beginning
info_eol = "false";
# these characters are automatically replaced with specified color
# (dark grey by default)
replaces = { "[]=" = "%K$*%n"; };
@amyreese
amyreese / config
Created September 9, 2011 19:05
Irssi Config
settings = {
core = {
real_name = "John Reese";
user_name = "jreese";
nick = "jreese";
quit_message = "kthxbye";
write_buffer_size = "15";
write_buffer_timeout = "30";
};
"fe-text" = {
jreese@liara ~/.znc/users/ea2d/moddata/log » grep "\*\*\* \(Joins\|Parts\|Quits\)" \#bor* | wc -l
2182
jreese@liara ~/.znc/users/ea2d/moddata/log » grep "\*\*\* \(Joins\|Parts\|Quits\)" \#bor* | grep -i nya | wc -l
695
jreese@liara ~/.znc/users/ea2d/moddata/log » grep "\*\*\* \(Joins\|Parts\|Quits\)" \#bor* | grep -i ivan | wc -l
465
jreese@liara ~/.znc/users/ea2d/moddata/log » grep "\*\*\* \(Joins\|Parts\|Quits\)" \#bor* | grep -i paul | wc -l
364
jreese@liara ~/.znc/users/ea2d/moddata/log » grep "\*\*\* \(Joins\|Parts\|Quits\)" \#bor* | grep -i ambient | wc -l
277
diff -urN '--exclude=CVS' '--exclude=.svn' '--exclude=.git*' '--exclude=*.swp' znc-1.0/src/Client.cpp znc-1.0-query-buffer/src/Client.cpp
--- znc-1.0/src/Client.cpp 2012-11-06 08:02:20.000000000 -0800
+++ znc-1.0-query-buffer/src/Client.cpp 2013-02-04 14:30:49.240504205 -0800
@@ -306,17 +306,29 @@
}
// Relay to the rest of the clients that may be connected to this user
- if (m_pNetwork->IsChan(sTarget)) {
+ //if (m_pNetwork->IsChan(sTarget)) {
vector<CClient*>& vClients = GetClients();
ERROR 2013-03-01T13:34:24 supybot Uncaught exception in ['quotegrabs', 'get'].
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/supybot/callbacks.py", line 1180, in _callCommand
self.callCommand(command, irc, msg, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/supybot/utils/python.py", line 86, in g
f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/supybot/callbacks.py", line 1166, in callCommand
method(irc, msg, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/supybot/commands.py", line 913, in newf
f(self, irc, msg, args, *state.args, **state.kwargs)
@amyreese
amyreese / .gitignore
Created April 10, 2013 17:07
Dotfile profile setup script and .gitignores
*.swp
*~
*.pyc
vim/.netrwhist
fluxbox/fbrun_history
fluxbox/init
fluxbox/lastwallpaper
fluxbox/log
fluxbox/menu.places
fluxbox/menu.quick
@amyreese
amyreese / .screenrc
Created April 12, 2013 17:45
Screenrc vs tmux.conf
autodetach on
crlf off
startup_message off
shell -zsh
defmonitor on
activity "<%n>"
caption always "%{= dd}%{+b ky}%{+ .b} $LOGNAME@%H %{-} %{.y}%-w%50>%{+ Kg} %n %t %{-}%+w%<%{-}"
# 256 color support
attrcolor b ".I"