Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcus Ramberg marcusramberg

View GitHub Profile
@sm-Fifteen
sm-Fifteen / whats_a_yubikey.md
Last active Apr 25, 2022
"What the heck is a Yubikey and why did I buy one?": A user guide
View whats_a_yubikey.md

"What the heck is a Yubikey and why did I buy one?": A user guide

(EDIT: Besides Reddit, I've also put this up on Github Gist)

So while looking for information on security keys before getting one myself, I got very confused reading about all the different modes and advertised features of Yubikeys and other similar dongles. The official documentation tends to be surprisingly convoluted at times, weirdly organized and oddly shy about a few of the limitations of these keys (which I'm making a point of putting front and center). Now that I have one, I decided to write down everything I figured out in order to help myself (and hopefully some other people reading this) make sense of all this.

Since I'm partly writing these notes for myself, there might be some back and forth between "exp

@philips
philips / users.md
Last active Jan 28, 2021
Kubernetes Third-Party Resource Users
View users.md
@lacymorrow
lacymorrow / setup.md
Last active Nov 17, 2017 — forked from lazd/Sony Super HAD HS1177 Camera Setup.md
HS1177 Sony Super HAD Camera Setup.md
View setup.md

Cam settings

Before you do anything, perform a factory reset.

##Exposure

Shutter: Auto

Brightness: 55

View alarm_clock.pl
#!/usr/bin/env perl
use 5.014;
use warnings;
use Mojo::UserAgent;
use Data::Printer;
my $ha = 'http://dockserv:8123/api';
my $target_light = 'light.master_bedroom';
@marcusramberg
marcusramberg / .cvimrc
Last active Feb 17, 2019 — forked from calorie/.cvimrc
My cvimrc
View .cvimrc
set autoupdategist
set noautofocus
set nocncpcompletion
set smoothscroll
set hud
set noregex
set noinsertmappings
set typelinkhints
set defaultnewtabpage
let scrollduration = 10
@oroce
oroce / nginx.conf
Created Jan 31, 2014
nginx config for using grafana, elasticsearch and graphite with authentication.
View nginx.conf
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
sendfile on;
@jordelver
jordelver / gist:3073101
Created Jul 8, 2012
Set the Mac OS X SOCKS proxy on the command line
View gist:3073101

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

Set the SOCKS proxy to local SSH tunnel

networksetup -setsocksfirewallproxy "Ethernet" localhost 8080

To clear the domain and port

View cocoabots-uncrustify.cfg
# Uncrustify 0.59
#
# General options
#
# The type of line endings
newlines = auto # auto/lf/crlf/cr
# The original size of tabs in the input
View cpanfile.pod

NAME

cpanfile - A format for describing CPAN dependencies for Perl applications

SYNOPSIS

requires 'Catalyst', '5.8000';
requires 'CatalystX::Singleton', '>= 1.1000, < 2.000';

recommends 'JSON::XS', '2.0';