Skip to content

Instantly share code, notes, and snippets.

View perigrin's full-sized avatar

Chris Prather perigrin

View GitHub Profile
@perigrin
perigrin / bash_strict_mode.md
Created June 7, 2023 02:12 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@perigrin
perigrin / .gitignore
Created March 6, 2019 18:05 — forked from ctsrc/.gitignore
Random dungeon generator from https://news.ycombinator.com/item?id=19309378, deobfuscated, refactored and commented
/.idea/
/cmake-build-debug/
/dungeon
@perigrin
perigrin / generate.c
Created March 6, 2019 18:05 — forked from munificent/generate.c
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u

Some concerns about the future of YAPC::NA were recently brought to my attention on IRC. The ensuing discussion revealed some people had valid concerns about the future of Perl conferences and particularly concerning to me, YAPC::NA.

Most of these concerns stem from a lack of supervision of the various organizing groups, and a lack of overall policy direction from the TPF level. Policy decisions (such as Codes Of Conduct) are left to the individual organizers or organizing groups, who are already overwhelming with organizing a conference, let alone dealing with all aspects of gender politics in the modern American IT industry. Additionally I've personally witnessed the inefficient transfer of institutional knowledge when organizing YAPC::NA 2011.

Some concerns about the future of YAPC::NA were recently brought to my attention on IRC. The ensuing discussion revealed some people had valid concerns about the future of Perl conferences and YAPC::NA itself. Most of these concerns stem from a lack of supervision of the various organizing groups, and a lack of overall direction and "steering". Policy decisions (such as Codes of Conduct) are left to the individual organizers, who already have an entire conference let alone having to wade into gender politics in the modern American IT industry. Additionally I've personally witnessed the, inefficient, transfer of institutional knowledge when organizing YAPC::NA 2011.

@perigrin
perigrin / update_files.pl
Created February 11, 2012 04:05
Updating data files for my Twitter interactions
#!/usr/bin/perl
use strict;
use warnings FATAL => qw( all );
use Net::Twitter::Lite;
use Lingua::EN::Inflect qw(NO NUMWORDS);
use HTML::Entities qw(encode_entities_numeric);
use lib '../files/perl/lib';
use Base::Roots qw(get_data data_directory);
Ach Quiorvoo 1
Aegloegga 8
Aes Kniondoo Eamb 4
Aes Kniondoo Eamb 8
Aesphizz 5
An Knessee Iopr 2
Blagl 1
Blou Omeu 6
Blou Omeu 7
Clui Oapa 6
#!/usr/bin/env python
REPOPATH="/home/andersg/xmms2-mergetest"
OUTPUTFILE="/var/www/git.xmms.se/merge/index.html"
#OUTPUTFILE="/tmp/merge.html"
BASEREMOTE="origin"
BASEBRANCH=BASEREMOTE + "/master"
import os
import os
PATCHIDCACHE={}
def getpatchid(commit):
if commit in PATCHIDCACHE:
return PATCHIDCACHE[commit]
r = os.popen("git-diff-tree -p %s | git-patch-id" % commit).read().strip().split()
if r:
PATCHIDCACHE[commit] = r
return r
New branching layout for Moose/Class-MOP
main branches:
master
stable
branches
topics
people: