Skip to content

Instantly share code, notes, and snippets.

View yupyupp's full-sized avatar

Stephen Haffner yupyupp

View GitHub Profile

Keybase proof

I hereby claim:

  • I am yupyupp on github.
  • I am yupyupp (https://keybase.io/yupyupp) on keybase.
  • I have a public key whose fingerprint is B2C5 AB3E 65A8 7455 E48B F89D 3258 3651 0512 D37E

To claim this, I am signing this object:

@yupyupp
yupyupp / 20-weekly_rankmirrors.sh
Created August 8, 2016 19:25
cron script to rank the Arch Linux mirrors
#!/bin/sh
# Place in /etc/cron.weekly
/usr/bin/sed -e 's/^#//' /etc/pacman.d/mirrorlist.pacnew > /etc/pacman.d/mirrorlist.nocomment
/usr/bin/rankmirrors -n 25 /etc/pacman.d/mirrorlist.nocomment > /etc/pacman.d/mirrorlist
/usr/bin/pacman -Syy
@yupyupp
yupyupp / gtkfix.userstyle
Created August 8, 2016 19:18
Fixes text-areas in firefox when using a dark GTK+ theme
input {
border: 2px inset white;
background-color: white;
color: black;
-moz-appearance: none !important;
}
textarea {
border: 2px inset white;
@yupyupp
yupyupp / WiFi@OSU-profile
Last active September 20, 2016 12:41
netctl profile for wifi networks at OSU
Description='WiFi@OSU public network'
Interface=your-wireless-device
Connection=wireless
Security=none
ESSID=WiFi@OSU
IP=dhcp
ExculdeAuto=yes # Don't auto-connect with netctl-auto
@yupyupp
yupyupp / vimrc
Last active January 29, 2016 01:02
Basic Vimrc without extra plugins
" .vimrc
" Stephen Haffner
" Updated: 2016.01.29
"General vim
set loadplugins
syntax on
filetype plugin indent on
set ai si