Skip to content

Instantly share code, notes, and snippets.

Verifying my Blockstack ID is secured with the address 17h6UBezGHVWVwLBZJwQC8tCzNm6YRk4u9 https://explorer.blockstack.org/address/17h6UBezGHVWVwLBZJwQC8tCzNm6YRk4u9
@craigiansmith
craigiansmith / Contract Killer 3.md
Created April 19, 2017 09:27
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@craigiansmith
craigiansmith / display-certificates-output.sh
Created January 31, 2017 01:54
It will show the various outputs of the certificates subsommand. Run in certbot directory. A local instance of boulder is needed.
#! /bin/sh
. ./tests/integration/_common.sh
cb() {
certbot_test \
--authenticator standalone \
--installer null \
"$@"
}
[
{
"Certificate Name": "le.wtf",
"Domains": [
"le.wtf",
"le1.wtf"
],
"Expiry Date": "2017-03-21 21:30:00+00:00 (VALID: 89 days)",
"Certificate Path": "/tmp/leitrRhB/conf/live/le.wtf/fullchain.pem",
"Private Key Path": "/tmp/leitrRhB/conf/live/le.wtf/privkey.pem",
@craigiansmith
craigiansmith / toMysql.pl
Created November 23, 2016 07:27
Change JasperSoft report file to mysql script
#!/usr/bin/perl
# Open file
$file = $ARGV[0];
open(FH, '<', $file);
@raw_data = <FH>;
close(FH);
# Create array to store all jasper vars found
@vars = ();
# Search for Jasper vars like $P{word} or $P!{word}