footer: 2017-08-24 · © RoleModel Software slidenumbers: true slidecount: false autoscale: true build-lists: true theme: Merriweather, 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use diagnostics; | |
use Data::Dumper; | |
use Text::Wrap qw/wrap 40 wrap/; | |
use XML::Simple; | |
my $nam = | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
#------------------------------------------------------------------------------ | |
# chorn _at_ chorn.com | |
# $Id: rpgrnd,v 1.17 2003/04/22 19:02:34 chorn Exp $ | |
#------------------------------------------------------------------------------ | |
%kinds = ( | |
'01' => "Farms and Markets ", | |
'02' => "Libraries, Scholars, and Mage Supply Stores", | |
'03' => "Smithies and Armories ", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Twitter Remove Promotions | |
// @description Remove Promoted Tweets | |
// @author chorn | |
// @match https://twitter.com/* | |
// @match https://x.com/* | |
// @include https://twitter.com/* | |
// @include https://x.com/* | |
// @run-at document-start | |
// @version 1.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def solve(*args) | |
return nil unless args.size == 6 | |
player_a = args.slice(0, 3) | |
player_b = args.slice(3, 3) | |
a_score = 0 | |
b_score = 0 | |
(0..2).each do |i| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM base/archlinux:latest | |
LABEL maintainer="Chris Horn <[email protected]>" | |
ARG user="chorn" | |
ARG timezone="/usr/share/zoneinfo/US/Eastern" | |
ARG locale="en_US.UTF-8" | |
ARG dotfiles_repo="https://github.com/chorn/dotfiles" | |
ARG packages="base-devel bash-completion bc cmake cscope ctags erlang-nox fzf gist git go go-tools htop imagemagick jq lua mosh neovim net-tools nmap openssh openssl pass p7zip phantomjs pv python-neovim python-pip rsync shellcheck socat the_silver_searcher tmux unzip vim wget whois yarn zip zsh zsh-completions" | |
ARG aur_packages="direnv fasd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM base/archlinux:latest | |
LABEL maintainer="Chris Horn <[email protected]>" | |
ARG user=chorn | |
ARG group=chorn | |
ENV TERM xterm-256color | |
RUN locale-gen en_US.UTF-8 && \ | |
ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime && \ | |
pacman -Syu -qq --noconfirm && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = chorn | |
email = [email protected] | |
signingKey = chorn | |
[commit] | |
gpgsign = true | |
template = ~/.default-commit | |
[core] | |
editor = vim | |
pager = less -r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.10", | |
"replacements": [ | |
{ | |
"active": true, | |
"case": "Maintain", | |
"repA": "Rex Tillerson", | |
"repB": "Voldemort's Attack Dog", | |
"type": "Simple" | |
}, |
NewerOlder