Skip to content

Instantly share code, notes, and snippets.

View TrevorVonSeggern's full-sized avatar

Trevor Von Seggern TrevorVonSeggern

  • Johnstown Colorado, USA
View GitHub Profile
@ianhattendorf
ianhattendorf / arch-brother-dcp-j4120dw-installation.md
Created April 20, 2019 10:14 — forked from sieste/arch-brother-dcp-j4120dw-installation.md
Minimal instructions to install Printer/Scanner combo "Brother DCP-J4120DW" under Arch Linux

General

  • Power up the printer, install cartridges
  • Settings -> Wi-Fi -> Setup-Wizard to connect printer to your network
  • Settings -> Wi-Fi -> TCP/IP, note IP address (mine is 192.168.1.8)
  • check if printer is reachable on the network: ping 192.168.1.8
  • create new user "lp" in group "lp": sudo useradd -s /bin/false -g lp lp

Install printer

  • install driver from AUR: yaourt brother-dcpj4120dw
@robin92
robin92 / README.md
Last active December 9, 2021 22:06
Pokemon breeding probability calculator

Pokemon breeding probability calculator

What is this?

This is a simple command line program written in Python for calculating probability of hatching an egg with fixed number of perfect IVs.

The mechanism of IV inheritance in Pokemon (up to 7th gen) is quite simple. Parnets can pass 3 or 5 (if one holds destiny knot) of their IVs to the offspring. IVs to be passed are selected randomly, with equal probability, and do not overlap (eg. passing Attack from both parents is impossible).

@lwickline
lwickline / gist:8c061def750833c544034a66199dc23f
Created February 8, 2018 02:21
Install vim 8 on a Raspberry Pi 3
Modified from the gist @https://gist.github.com/odiumediae/3b22d09b62e9acb7788baf6fdbb77cf8
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
@alexellis
alexellis / k8s-pi.md
Last active April 11, 2024 14:17
K8s on Raspbian
@dkasak
dkasak / xdg.vim
Last active May 4, 2024 05:45 — forked from kaleb/XDG.vim
vim XDG Base Directory support
" XDG Environment For VIM
" =======================
"
" References
" ----------
"
" - http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables
" - http://tlvince.com/vim-respect-xdg
" - https://gist.github.com/kaleb/3885679 (the original version)
"