Skip to content

Instantly share code, notes, and snippets.

View Xe's full-sized avatar
😂
h

Xe Iaso Xe

😂
h
View GitHub Profile

General or Things PonyChat Can Fix

  • RFC 1459 (plus IRCv3 caps) gateway (allow existing IRC clients/bots to be seamlessly connect to Matrix instead of elemental-ircd)
    • Underway as Project Morpheus
    • Client scripts to use some of the newer features
    • Have it emulate unrealircd
  • Comprehensive migration documentation for people wanting to use the new thing
    • Blogposts!
  • How common irc-isms translate to Matrix-isms
@Xe
Xe / tor
Created January 21, 2014 14:46
#! /bin/bash
### BEGIN INIT INFO
# Provides: tor
# Required-Start: $local_fs $remote_fs $network $named $time
# Required-Stop: $local_fs $remote_fs $network $named $time
# Should-Start: $syslog
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
all:
zsh bin/indexgen.sh
sw site
cp site.static/* -rf /var/www/localhost/htdocs
clean:
rm -rf site.static
@Xe
Xe / cpuinfo
Created January 20, 2014 02:28
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) D CPU 3.00GHz
stepping : 4
microcode : 0x6
cpu MHz : 2992.408
cache size : 1024 KB
physical id : 0
@Xe
Xe / -
Created November 27, 2013 22:17
20130403.log:[23:32:12],High:
20130404.log:[23:35:49],High:
20130405.log:[02:13:56],High:
20130405.log:[18:22:21],High:
20130408.log:[23:22:45],High:
20130409.log:[12:37:06],High:
20130409.log:[15:08:09],High:
20130410.log:[08:12:18],High:
20130410.log:[08:19:54],High:
20130410.log:[11:31:56],High:
@Xe
Xe / -
Created November 27, 2013 22:17
20130403.log:[23:32:12],147.00
20130404.log:[23:35:49],142.12
20130405.log:[02:13:56],142.12
20130405.log:[18:22:21],144.94
20130408.log:[23:22:45],194.90
20130409.log:[12:37:06],240.11
20130409.log:[15:08:09],240.11
20130410.log:[08:12:18],266.00
20130410.log:[08:19:54],266.00
20130410.log:[11:31:56],266.00
@Xe
Xe / -
Created November 15, 2013 06:49
diff --git a/pcfpd.c b/pcfpd.c
index 729cfb4..97c61ab 100644
--- a/pcfpd.c
+++ b/pcfpd.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
+#include <netdb.h>
@Xe
Xe / -
Created October 30, 2013 20:21
Looking up: 88.150.203.198 (please wait)
--- DNSBL Report for 88.150.203.198 ---
@Xe
Xe / hysterical.py
Last active December 26, 2015 15:19
"""
Copyright (c) 2013, Sam Dodrill
All rights reserved.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
excluding commercial applications, but not to alter it and redistribute it
def main(score, op_score):
score = int(input("How many points have you scored:"))
op_score = int(input("How many points has your opponent scored:"))
print ("The score is:", yourscore(score),"-", theirscore(score))
def yourscore(score):
if score == 0:
score = ("Love")
elif score == 1:
score = ("Fifteen")