I hereby claim:
- I am jamesog on github.
- I am jamesog (https://keybase.io/jamesog) on keybase.
- I have a public key whose fingerprint is E9EB 3E24 C08C 0AE3 2A47 CA16 FF19 DF02 C0D7 49BD
To claim this, I am signing this object:
if tmux has 2>/dev/null; then | |
echo "tmux sessions found:" | |
tmux ls | |
echo | |
echo -n "Attaching to default tmux session in 5 seconds. Press Ctrl-C to abort" | |
for ((i=5; i>0; i--)) | |
do | |
printf "." | |
if read -s -t 1 -k ; then break; fi | |
done |
require 'facter' | |
Facter.add('zpools') do | |
setcode do | |
zpools = [] | |
if Facter::Util::Resolution.which('zpool') | |
Facter::Util::Resolution.exec('zpool list -Ho name').each_line do |line| | |
line.strip! | |
zpools << line | |
end |
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
# Use modules installed with cpanm -L | |
use lib 'extlib/lib/perl5'; | |
use DBI; | |
use POSIX qw(strftime); | |
use Spreadsheet::WriteExcel; |
I hereby claim:
To claim this, I am signing this object:
TarsnapArgs: | |
ExcludeFile: /root/crons/tarsnap.exclude | |
BackupDirs: | |
- /boot | |
- /etc | |
- /home | |
- /root | |
- /usr/local/etc | |
- /var/log | |
- /data/jail/boxbackup/etc |
Copyright (c) 1992-2014 The FreeBSD Project. | |
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 | |
The Regents of the University of California. All rights reserved. | |
FreeBSD is a registered trademark of The FreeBSD Foundation. | |
FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 | |
[email protected]:/usr/obj/usr/src/sys/GENERIC amd64 | |
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 | |
CPU: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz (2400.01-MHz K8-class CPU) | |
Origin = "GenuineIntel" Id = 0x306e4 Family = 0x6 Model = 0x3e Stepping = 4 | |
Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS> |
Copyright (c) 1992-2014 The FreeBSD Project. | |
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 | |
The Regents of the University of California. All rights reserved. | |
FreeBSD is a registered trademark of The FreeBSD Foundation. | |
FreeBSD 10.1-RELEASE-p10 #0: Wed May 13 06:54:13 UTC 2015 | |
[email protected]:/usr/obj/usr/src/sys/GENERIC amd64 | |
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 | |
CPU: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (2500.08-MHz K8-class CPU) | |
Origin = "GenuineIntel" Id = 0x306f2 Family = 0x6 Model = 0x3f Stepping = 2 | |
Features=0xf8bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,SS> |
#!/bin/sh | |
# siteadmin.sh | |
# Created 2005/01/07 by James O'Gorman <[email protected]> | |
# | |
# This script automatically creates directory structures and config file | |
# entries needed for a new website. | |
# It can also be used to clean up (remove) those entries when a website is | |
# no longer needed. | |
# |
package main | |
import ( | |
"context" | |
"database/sql" | |
"log" | |
"net/http" | |
_ "github.com/lib/pq" | |
) |
All other guides I've seen (https://github.com/drduh/YubiKey-Guide being the most prolific) tell you to use the Yubikey's smartcard (PKCS#11) features with GnuPG via gpg-agent.
STOP THE MADNESS!
OpenSSH has supported OpenSC since version 5.4. This means that all you need to do is install the OpenSC library and tell SSH to use that library as your identity.