Skip to content

Instantly share code, notes, and snippets.

@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 <chorn@chorn.com>"
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 <chorn@chorn.com>"
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 = chorn@chorn.com
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"
},
{
"version": "2.0.10",
"replacements": [
{
"repA": "President Trump",
"repB": "DOCTOR EVIL",
"type": "Simple",
"case": "Maintain",
"active": true
},
FROM ruby:2.3.1
MAINTAINER Chris Horn <chorn@chorn.com>
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
RUN apt-get update -yqq
RUN apt-get upgrade -yqq
RUN apt-get install -yqq sudo less net-tools imagemagick
RUN rm -rf /var/lib/apt/lists/*