Skip to content

Instantly share code, notes, and snippets.

View DanielOaks's full-sized avatar

Daniel Oaks DanielOaks

View GitHub Profile
@DanielOaks
DanielOaks / gist:4754185
Last active December 12, 2015 09:49
Bitbucket issue conversion, fix for new everything
#!usr/bin/env python2
# -*- coding: utf-8 -*-
## And this is the modified Bitbucket library I use. I have to bundle this, because the actual one is broken
# -*- coding: utf-8 -*-
# git+git://github.com/Sheeprider/Py-BitBucket.git
__all__ = ['Bitbucket', ]
@DanielOaks
DanielOaks / .tmux.conf
Last active December 13, 2015 21:19
My tmux config file, might be useful to some other people
# COLOURS
set -g default-terminal "screen-256color"
# Status bar can have utf-8~
set-option -g status-utf8 on
# Status bar has a dim gray background
set-option -g status-bg "#303030"
set-option -g status-fg "#f0f0f0"
@DanielOaks
DanielOaks / m_fuzz.c
Last active December 17, 2015 19:39
ircfuzz for Plexus3, mostly for fun
/************************************************************************
* IRC - Internet Relay Chat,
* Copyright (C) 2001 Hybrid Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 1, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
@DanielOaks
DanielOaks / particles.cpp
Last active December 18, 2015 02:48
OpenGL 2/3d particle test. First time doing anything in C/C++ for years, beware
// First (proper) try at OpenGL programming, and first bit of C-like stuff
// for years, besides a quick dabble in C# ; caveat emptor
//
// Daniel Oaks 2013, public domain etc
//
// g++ -Wall -L/usr/lib -lGL -lGLU -lglut --std=c++11 particles.cpp -o particles
#include <stdio.h>
#include <stdlib.h>
#include <random>
#include <functional>
@DanielOaks
DanielOaks / dashpipe.pl
Last active December 22, 2015 01:29
Like Ponypipe, but faster
#!/usr/bin/env perl
# Dashpipe -- Hopefully a kinda faster, less fully-featured ponypipe.
# Copyright (c) 2013, Daniel Oaks, under 2-clause BSD license.
# the base regex list is from Ponypipe:
# https://github.com/maandree/ponypipe
use strict ;
use utf8 ; # we like utf8
use constant { true => 1, false => 0 } ; # I think these make sense, syntactically
@DanielOaks
DanielOaks / unify_znc_logs.py
Last active January 1, 2016 02:49
unifies znc logs
#!/usr/bin/env python3
# ZNC log unifier
# assumes all the logs are in folder 'log'
# and all files are output to folder 'outlog'
# This basically changes all the logs like:
# log/danneh_rizon_#chan_20142304.log
# log/danneh_rizon_#chan_20142305.log
# log/danneh_rizon_#chan_20142306.log
# to:

IRCv3 Security Council Proposal

I propose that a group known as the "IRCv3 Security Council" is created.

This group is a separate part of the IRCv3 effort, will have their own section on the website just as the IRCv3 Working Group page is being split off from the landing page, and for most intents and purposes act independently of the IRCv3 Working Group.

Rationale: The traditional CA model has, widely, not worked with IRC today. Large portions of IRC networks out there today use self-signed certificates, and disabling certificate verification or otherwise working around the certificates not validating using traditional methods is fairly common.

This proposal would allow the creation of certificate bundles and revocation lists controlled by the IRCv3 Security Council, which when used by clients (instead of the traditional CA roots provided by operating systems) should solve the majority of these issues for IRC users and network operators.

@DanielOaks
DanielOaks / readtags.py
Created July 21, 2016 09:08
Example tag thing
import nfc
nfc.ContactlessFrontend('usb')
print 'Reader opened:', clf
def connected(tag):
print 'TAG ID IS:', tag.identifier
var = clf.connect(rdwr={'on-connect': connected})
class DataStore:
def __init__():
self.store = {}
def set(key, value):
self.store[key] = value
def delete(key):
try:
del self.store[key]
@DanielOaks
DanielOaks / rotated-headers.diff
Created November 20, 2016 05:34
rotated headers patch for the IRCv3 site from @dequis, applies onto 6f92921038d7252be204848a8ab938fb866fd83b
diff --git a/_includes/software_list.html b/_includes/software_list.html
index bc5a4c1..add5006 100644
--- a/_includes/software_list.html
+++ b/_includes/software_list.html
@@ -2,6 +2,4 @@
{% if type.note %}{{ type.note | markdownify }}{% endif %}
-{% for support in site.data.irc_versions %}
{% include support_list.html %}