Skip to content

Instantly share code, notes, and snippets.

View thrifus's full-sized avatar

Patrick Hart thrifus

View GitHub Profile
@thrifus
thrifus / openpgp.txt
Created August 18, 2016 02:11
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b39a8dba49a58da0b4ef0e91a7cd53ef1ead718f]

Keybase proof

I hereby claim:

  • I am thrifus on github.
  • I am thrifus (https://keybase.io/thrifus) on keybase.
  • I have a public key whose fingerprint is B39A 8DBA 49A5 8DA0 B4EF 0E91 A7CD 53EF 1EAD 718F

To claim this, I am signing this object:

@thrifus
thrifus / openpgp.txt
Created August 8, 2016 19:16
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:f41f4a182c2ca674b815a7e5486de274ebe2ee5e]
@thrifus
thrifus / openpgp.txt
Created August 8, 2016 19:16
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:f41f4a182c2ca674b815a7e5486de274ebe2ee5e]
@thrifus
thrifus / openpgp.txt
Created August 8, 2016 19:16
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:f41f4a182c2ca674b815a7e5486de274ebe2ee5e]
@thrifus
thrifus / USB
Created July 22, 2016 19:46
SETUP
for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
(
syspath="${sysdevpath%/dev}"
devname="$(udevadm info -q name -p $syspath)"
[[ "$devname" == "bus/"* ]] && continue
eval "$(udevadm info -q property --export -p $syspath)"
[[ -z "$ID_SERIAL" ]] && continue
echo "/dev/$devname - $ID_SERIAL"
)
done
@thrifus
thrifus / LockBackground.html
Created July 10, 2015 04:10
Materio GroovyLock Theme
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Materio</title>
<meta name="viewport" content="initial-scale=0.7, maximum-scale=0.7, user-scalable=no, width=device-width">
<link rel="stylesheet" type="text/css" href="css/style-light.css" />
<style type="text/css">
.batteryBar {
@thrifus
thrifus / Silly-face-loader-with-CSS.markdown
Created March 28, 2015 03:13
Silly face loader with CSS

Silly face loader with CSS

I don't know why I made it have a face. I guess I thought it would be funny. Ha ha? • — •

A Pen by Patrick Hart on CodePen.

License.

@thrifus
thrifus / Helpers.css
Last active November 8, 2015 18:00
CSS Helpers
/* Vertically and horizontally aligns things in the center. */
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate( -50%, -50% );
}
/* Makes a flat shadow going to the right */
.shadow {
@thrifus
thrifus / FlatUIColorsMarkups.js
Created March 6, 2015 00:25
A redesigned Flat UI Colors
function colorToTurquoise() {
document.getElementById("mockup").style.backgroundColor = "#1abc9c";
var ColorName = document.getElementById("colorName");
ColorName.innerHTML = "Turquoise";
ColorName.style.color = "white";
var ColorText = document.getElementById("colorText");
ColorText.style.color = "white";
ColorText.innerHTML = "#1abc9c";
}