Skip to content

Instantly share code, notes, and snippets.

@jasonwryan
jasonwryan / Install
Last active April 29, 2021 09:26
Arch Linux installation procedure for LVM on LUKS: UEFI EFISTUB boot with gumiboot on a Samsung Series 9 laptop.
# Notes for installing on Samsung Series 9
# UEFI boot: LVM on LUKS
#
# See the full blog post:
# http://jasonwryan.com/blog/2013/01/25/uefi/
# check you are booted in uefi
modprobe efivars
ls /sys/firmware/efi/vars
@jasonwryan
jasonwryan / PKGBUILD
Last active December 18, 2015 14:08
PKGBUILD for rtorrent-colour on the Pi
# Based on rtorrent [community]
pkgname=rtorrent-color
_pkgname="rtorrent"
pkgver=0.9.3
pkgrel=2
pkgdesc='Ncurses BitTorrent client based on libTorrent'
url='http://libtorrent.rakshasa.no/'
license=('GPL')
arch=('any')
@jasonwryan
jasonwryan / PKGBUILD
Last active December 20, 2015 21:39
imlibsetroot PKGBUILD for 1.6
# Maintainer: Alex Puterbaugh <[email protected]>
pkgname=imlibsetroot
pkgver=1.6
pkgrel=1
pkgdesc="A root background (wallpaper) setter with support for image scaling and xinerama."
arch=('x86_64' 'i686')
url="http://robotmonkeys.net/2012/12/30/imlibsetroot-1-6/"
license=('GPL')
depends=('xproto' 'libx11' 'imlib2' 'libxinerama')
source=("http://robotmonkeys.net/wp-content/uploads/2012/12/imlibsetroot-16.tar.gz")
@jasonwryan
jasonwryan / PKGBUILD
Created April 17, 2014 02:49
PKGBUILD for vdir branch of khal-git
# vdir branch
pkgname=khal-vdir-git
_gitname=khal
pkgver=f7146d2
pkgrel=1
pkgdesc="Command line CalDav client: vdirsyncher branch"
arch=('any')
license=("MIT")
url="http://lostpackets.de/khal/"
@jasonwryan
jasonwryan / tunnels
Last active August 29, 2015 14:01
Manage SSH proxy tunnels to a number of hosts
#!/usr/bin/env bash
# tunnel browser to another box
# Copyright (c) 2013 Jason W Ryan
# The MIT License (MIT) http://opensource.org/licenses/MIT
user="<your_name>"
exip="XXX.XXX.XXX.XXX"
tunnel_id="$HOME/.local/tmp/tunnel_id"
@jasonwryan
jasonwryan / PKGBUILD
Last active August 29, 2015 14:01
Syncthing PKGBUILD for various architectures...
# run `updpkgsums` before `makepkg`
pkgname=syncthing
pkgver=0.8.5
pkgrel=1
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
url="http://syncthing.net/"
license=('MIT')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
install=${pkgname}.install
@jasonwryan
jasonwryan / todo.diff
Created September 6, 2014 21:40
Florian Pritz's changes to reminder script
todo | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/todo b/todo
old mode 100644
new mode 100755
index 2169665..78dc94f
--- a/todo
+++ b/todo
@@ -1,6 +1,9 @@
@jasonwryan
jasonwryan / keybase.md
Created October 16, 2014 22:44
keybase.md

Keybase proof

I hereby claim:

  • I am jasonwryan on github.
  • I am jasonwryan (https://keybase.io/jasonwryan) on keybase.
  • I have a public key whose fingerprint is 7817 E3FF 578E EEE1 9F64 D40C 445E 52EA B1BD 4E40

To claim this, I am signing this object:

@jasonwryan
jasonwryan / upmusic
Created January 18, 2015 00:53
Repopulate symlinks from udev rule
#!/usr/bin/env bash
# repopulate music links when drive plugged in
shopt -s nullglob
export DISPLAY=:0
export XAUTHORITY=/home/jason/.Xauthority
music=(/media/Apollo/Music/*)
find /home/jason/Music -type l -exec rm {} \;
@jasonwryan
jasonwryan / PKGBUILD
Created July 7, 2015 22:04
CryptX PKGBUILD
# CPAN Name : CryptX
# Contributor: Drathir <[email protected]>
# Generator : CPANPLUS::Dist::Arch 1.30
pkgname='perl-cryptx'
_cpanname='CryptX'
pkgver='0.024'
pkgrel='1'
pkgdesc="Crypto toolkit (self-contained no external libraries needed)"
arch=('i686' 'x86_64')