Skip to content

Instantly share code, notes, and snippets.

@bentglasstube
bentglasstube / Makefile
Last active August 29, 2015 13:57
Makefile for making certificates with openssl
BITSIZE=4096
FILE=server
$(FILE).crt: $(FILE).csr
@echo "Copy and paste the following into your CA:"
@cat $(FILE).csr
@echo "Paste the certificate from your CA here (^D to finish):"
@cat >$(FILE).crt
rm $(FILE).csr
@bentglasstube
bentglasstube / pwm.sh
Created March 30, 2014 15:04
Password manager written in bash.
#!/bin/sh
FILE="$HOME/Dropbox/passwords.gpg"
quiet=""
output=""
while getopts hqo opt
do
case $opt in
q) quiet="y" ;;
BITSIZE=4096
FILE=eatabrick.org
all: $(FILE).pem $(FILE).key dhparam.pem
chown http:http $(FILE).*
chmod 600 $(FILE).key
$(FILE).pem: $(FILE).csr intermediate.pem
@echo "Copy and paste the following into your CA:"
@cat $(FILE).csr
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use MIDI::Simple;
our $notes_per_phrase = 8;
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use DigitalOcean;
my $IP = '107.170.222.172';

Keybase proof

I hereby claim:

  • I am bentglasstube on github.
  • I am bentglasstube (https://keybase.io/bentglasstube) on keybase.
  • I have a public key whose fingerprint is A81F EB89 3949 D5BC 3769 1966 905C 32EA 94FD 72A0

To claim this, I am signing this object:

" Defines functions for moving windows or forwarding the move on to bspwm
if exists("g:loaded_bspwm_nav") || &cp || v:version < 700
finish
endif
let g:loaded_bspwm_nav = 1
function! s:InBspwmSession()
" TODO check return of bspc query -M
cng : create base class for your forms, and set
widget_name_space there.
cng : Don't forget field_name_space while you're at it. You may
well want to customize (or create new) field types as well
bentglasstube : ah yeah that makes sense, I've been at it too long today
and not thinking of the obvious solution
cng : :-D
cng : I went through same process late last year ;-)
bentglasstube : one problem I will have with that is that some of my
forms use HTML::FormHandler and some use
@bentglasstube
bentglasstube / PKGBUILD
Created September 19, 2014 18:30
bluejeans PKGBUILD 2.7.215.8-1
# Maintainer: Wijnand Modderman-Lenstra <maze@maze.io>
pkgname=bluejeans
pkgver=2.7.215.8
pkgrel=1
pkgdesc="BlueJeans browser plugin"
arch=('x86_64')
url="http://www.bluejeans.com/"
license=('Proprietary')
groups=()
conflicts=(bjnplugin)