Skip to content

Instantly share code, notes, and snippets.

View bitjockey42's full-sized avatar
🤓
Forever a nerd.

Al Julian bitjockey42

🤓
Forever a nerd.
View GitHub Profile
@bitjockey42
bitjockey42 / mopidy.md
Created April 20, 2014 16:39
An installation and setup guide for mopidy on Arch Linux.

Mopidy on Arch Linux

mopidy

Installation

Install from the AUR.

@bitjockey42
bitjockey42 / PKGBUILD
Last active April 9, 2017 20:44
Working PKGBUILD and patch for broadcom-wl on kernel 3.14.2
# Maintainer: Armin K. <krejzi at email dot com>
# Contributor: Austin ( doorknob60 [at] gmail [dot] com )
# Contributor: Gaetan Bisson <bisson@archlinux.org>
pkgname=broadcom-wl
pkgver=6.30.223.141
pkgrel=7
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('i686' 'x86_64')
@bitjockey42
bitjockey42 / .Xmodmap
Last active August 29, 2015 14:07
settings on chromebook
! Natural Scrolling
pointer = 1 2 3 5 4 7 6 8 9 10 11 12
clear control
clear mod4
clear mod1
keycode 64 = Alt_L
keycode 108 = Alt_R
keycode 133 = Super_L
keycode 113 = Control_R
@bitjockey42
bitjockey42 / .latexmkrc
Last active August 29, 2015 14:07
latexmkrc to use with zathura
$pdf_mode = 1; # Create PDFs always
$pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %O %S && cp "%D" "%R.pdf"';
$pdf_viewer = 'zathura';
$clean_ext = 'acn acr alg aux bbl bcf blg brf fdb_latexmk glg glo gls idx ilg ind ist lof log lot out run.xml toc dvi bbl rel %R-blx.bib %R.synctex.gz';
$out_dir = './output';
$aux_dir = './tmp';
@bitjockey42
bitjockey42 / how-to.md
Created June 14, 2015 09:03
xf86-input-mtrack suspend fix

This is a workaround for the xf86-input-mtrack driver, which fails to load when you resume from suspend. Basically just adds a systemd service

The key is to reload the bcm5974 module on system resume.

Put touchpad_resume.sh into /opt/custom_scripts/touchpad_resume.sh. Make executable: chmod +x /opt/custom_scripts/touchpad_resume.sh.

Put reload-touchpad.service file in /etc/systemd/system/. Then enable it: systemctl enable reload-touchpad.service.

# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: AJ <astrohckr@gmail.com>
# Credit: based on .screenrc-main-example by Christian Wills - cwills.sys@gmail.com
# Auto-detach on hangup
autodetach on
# Allow bold colors - necessary for some reason
attrcolor b ".I"
@bitjockey42
bitjockey42 / setup_emacs.sh
Last active August 29, 2015 14:24
crouton chroot
# For a pure cli install, no X11 requirement
sudo apt-get install gcc automake ncurses-dev libgnutls-dev libdbus-1-dev libgif-dev
@bitjockey42
bitjockey42 / 00_before.png
Last active August 29, 2015 14:25
Vertex GTK theme fix for cinnamon windows
00_before.png
@bitjockey42
bitjockey42 / install.md
Created August 7, 2015 19:40
Install SIP and PyQT4 (pyenv, pyenv-virtualenv)

Download

pyenv virtualenv

Switch to the Python version you want to use: