Skip to content

Instantly share code, notes, and snippets.

@chorn
chorn / twitter-remove-promotions.user.js
Last active June 21, 2021 18:40
Remove Promoted Tweets - RunAt: document-start
// ==UserScript==
// @name Twitter Remove Promotions
// @description Remove Promoted Tweets
// @author chorn
// @match https://twitter.com/*
// @include https://twitter.com/*
// @run-at document-start
// @version 1.0.4
// ==/UserScript==
<response><info><statusCode>0</statusCode><messages/><copyright><imageUrl>http://api.mqcdn.com/res/mqlogo.gif</imageUrl><imageAltText>© 2013 MapQuest, Inc.</imageAltText><text>© 2013 MapQuest, Inc.</text></copyright></info><route><sessionId>52a40dc1-0205-000c-02b7-04a6-d485645ba5f2</sessionId><options><shapeFormat>raw</shapeFormat><generalize>-1.0</generalize><maxLinkId>0</maxLinkId><narrativeType>text</narrativeType><stateBoundaryDisplay>true</stateBoundaryDisplay><countryBoundaryDisplay>true</countryBoundaryDisplay><sideOfStreetDisplay>true</sideOfStreetDisplay><destinationManeuverDisplay>true</destinationManeuverDisplay><avoidTimedConditions>false</avoidTimedConditions><enhancedNarrative>false</enhancedNarrative><returnLinkDirections>false</returnLinkDirections><timeType>0</timeType><routeType>FASTEST</routeType><locale>en_US</locale><unit>M</unit><tryAvoidLinkIds></tryAvoidLinkIds><mustAvoidLinkIds></mustAvoidLinkIds><manmaps>true</manmaps><drivingStyle>2</drivingStyle><highwayEfficiency>22.0</highwayEffi
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
},