Skip to content

Instantly share code, notes, and snippets.

View keegoid's full-sized avatar

Keegan Mullaney keegoid

View GitHub Profile
@keegoid
keegoid / Distraction Free.sublime-settings
Last active December 21, 2019 22:16
Sublime Text distraction-free settings
{
"indent_subsequent_lines": false,
"rulers": [],
"spell_check": true,
"wrap_width": 100
}
@keegoid
keegoid / zlua.conf
Last active May 4, 2020 23:57
z.lua config for .bashrc
# z.lua will print the new directory after cd
export _ZL_ECHO=1
# z.lua enhanced matching with fzf tab completion
eval "$(lua ~/bin/z.lua --init bash enhanced once fzf)"
# don't break Prompt Command
export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND;}history -a"
@keegoid
keegoid / 40-libinput.conf
Last active November 26, 2019 19:58
My ThinkPad T420 trackpoint settings for libinput on Ubuntu 18.04.3
# located at /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "AccelSpeed" "0"
EndSection
@keegoid
keegoid / 10-trackpoint.rules
Last active December 7, 2019 02:38
My ThinkPad T420 trackpoint settings for 10-trackpoint.rules on Ubuntu 18.04.3
# Located in /etc/udev/rules.d/10-trackpoint.rules
ACTION=="add",
SUBSYSTEM=="input",
ATTR{name}=="TPPS/2 IBM TrackPoint",
ATTR{device/sensitivity}="255",
ATTR{device/speed}="75",
ATTR{device/inertia}="0",
ATTR{device/press_to_select}="0"
Verifying my Blockstack ID is secured with the address 1HPkz1YAkA8CDpEZxgWANPjFEC7ny4M65R https://explorer.blockstack.org/address/1HPkz1YAkA8CDpEZxgWANPjFEC7ny4M65R
@keegoid
keegoid / terminal-true-color-check.sh
Created July 2, 2017 20:24
Check if your terminal supports Truecolor. From goo.gl/7kMbqv
printf "\x1b[38;2;40;177;249mTRUECOLOR\x1b[0m\n"
@keegoid
keegoid / Preferences.sublime-settings
Last active December 28, 2019 21:26
Sublime Text 3 User Settings
{
"Seti_bold_slctdfile_labels": true,
"Seti_seablue_scrollbar": true,
"Seti_seablue_statusbar": true,
"Seti_seablue_tab": true,
"Seti_sidebar_font_Ubuntu": true,
"Seti_sidebar_font_size_12": true,
"Seti_tab_font_12": true,
"Seti_tabs_med": true,
"added_words":
@keegoid
keegoid / centos-setup.sh
Last active February 13, 2021 19:37
CentOS 7.3.1611 setup
#!/bin/bash
# --------------------------------------------
# Configure CentOS as host for VMware
#
# Author : Keegan Mullaney
# Website: keegoid.com
# Email : [email protected]
# License: keegoid.mit-license.org
# --------------------------------------------
@keegoid
keegoid / cyclepro.md
Last active November 18, 2016 23:53
Description of my childhood Cycle Pro for sale on eBay

Original owner selling his childhood blue Cycle Pro Shot Gun. This bike was the pride of my childhood. It has been in storage since the late 80's. All original parts except for the tires and brake lines. The seat cover had never been off until today when I took the photos. The bike is in good condition and wasn't abused. I always took care of my stuff as a kid. It has some wear on the pedals and hand grips. The decals are all still on and original. I've always loved the blue color with blue rims and blue tires with tan sidewalls.

Many parts on this bike are pretty rare:

  • Blue Sugino GT crank with matching blue pedals and the all chrome frame.
  • This style of Dia Compe brakes with aluminum pad holders
  • The crank lever says 8 170 GC 5. Not sure what that means, but maybe you do.
  • The main crank gear says BMX 44.
  • The pedals say HTI Taiwan.

The serial number on the rear dropout is 2831600.

@keegoid
keegoid / centos7-hpofficejet6600-setup.sh
Last active October 1, 2016 04:47
How to get the HP OfficeJet 6600 working on CentOS 7
# From hplipopensource.com/hplip-web/install/manual/distros/centos.html
# install Development Tools
yum -y groupinstall 'Development Tools'
# install HPLIP dependencies
yum -y install cups cups-devel gcc-c++ ghostscript libjpeg-devel
# pre-installation steps
yum -y install libsane-hpaio hplip-gui hplip hpijs