Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/perl
use strict;
use diagnostics;
use Data::Dumper;
use Text::Wrap qw/wrap 40 wrap/;
use XML::Simple;
my $nam =
{
#!/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 ",
@chorn
chorn / twitter-remove-promotions.user.js
Last active September 6, 2024 11:54
Remove Promoted Tweets - RunAt: document-start
// ==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
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|
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"
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 && \

footer: 2017-08-24 · © RoleModel Software slidenumbers: true slidecount: false autoscale: true build-lists: true theme: Merriweather, 8

Remote Professionalism

CoRT Rock 2017-Q3

footer: @chorn · 2017-06-15 · © RoleModel Software slidenumbers: true slidecount: false autoscale: true build-lists: false theme: Merriweather, 8

Fake News

^

[user]
name = chorn
email = [email protected]
signingKey = chorn
[commit]
gpgsign = true
template = ~/.default-commit
[core]
editor = vim
pager = less -r
{
"version": "2.0.10",
"replacements": [
{
"active": true,
"case": "Maintain",
"repA": "Rex Tillerson",
"repB": "Voldemort's Attack Dog",
"type": "Simple"
},