Skip to content

Instantly share code, notes, and snippets.

View sarahhodne's full-sized avatar
🏳️‍⚧️

Sarah Hodne sarahhodne

🏳️‍⚧️
View GitHub Profile
class Foo < Bar
@foobar = :foobar.to_s
def foobar
@foobar
end
end
Short Answers:
1) Which Cluenet servers do you plan on using primarily?
I would like to run on the server Scalar if that's possible.
2) What kind of system and network resources will you need?
I want to run psybnc (an irc bouncer), which shouldn't use too many system resources.
3) If you could describe yourself in 3 words, what would those 3 words be?
Honest, serious and punctual.
Dvyjones couldn't get ZNC running so he is using davenull's which is running as davenull
16:03 -!- Dvyjones [[email protected]] has joined #cbapi
16:03 [Users #cbapi]
16:03 [@Crispy] [ CobiBot] [ Dvyjones]
16:03 -!- Irssi: #cbapi: Total of 3 nicks [1 ops, 0 halfops, 0 voices, 2 normal]
16:03 -!- Channel #cbapi created Wed Mar 18 16:02:38 2009
16:03 -!- mode/#cbapi []
16:03 -!- Channel #cbapi created Wed Mar 18 16:02:38 2009
16:03 -!- Irssi: Join to #cbapi was synced in 1 secs
16:03 < Dvyjones> =D
16:03 -!- grawity [[email protected]] has joined #cbapi
require "pavarotti"
privmsg /^&who/ do
`who`
end
privmsg /^&uptime/ do
`uptime`
end
AuthType Kerberos
AuthName "ClueNet account shell"
KrbAuthRealms CLUENET.ORG
KrbServiceName HTTP
KrbMethodNegotiate on
KrbMethodK5Passwd on
Krb5Keytab /etc/apache2/http.sine.cluenet.org.keytab
KrbSaveCredentials On
# The rest is really in the VHost, but I'm putting it here for easy reading...
require "mkmf"
dir_config("ldap")
have_library("ldap", "ldap_open")
create_makefile("ldap_bindings")
#include <ldap.h>
#include "ruby.h"
#include "rldap.h"
#include "connection.h"
#include "errors.h"
static void ldap_c_free (RB_LDAP_DATA * ldapdata)
{
if (ldapdata->ldap && ldapdata->bind)
ErrorDocument 404 "/index.php"
DirectoryIndex "index.php"
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# blah blah redistribution blah warranty blah
use Irssi;
use strict;
use vars qw($VERSION %IRSSI);
$VERSION='0.1';
%IRSSI=(
authors => 'grawity',