Skip to content

Instantly share code, notes, and snippets.

{
$schema: "https://infrared.turbolightsolutions.com/infrared-profile-2026-10-02.schema.json",
type: "certificate",
name: "isrg-subscriber-server-certificate",
version: "0.1.0",
description: "Domain Validated TLS server certificates and precertificates issued by ISRG (Let's Encrypt) Subordinate CAs under the ISRG CP/CPS",
org: "isrg",
spec: "cp-cps",
$defs: {
@mcpherrinm
mcpherrinm / ascii2pem.sh
Created February 11, 2016 04:55
pem support wrappers for der2ascii
#!/bin/bash
while [[ $# > 0 ]]; do
case $1 in
-i|-in|--in) input="-i $2"
shift 2
;;
-o|-out|--out) output="-out $2"
shift 2
;;
*) echo "Usage of ascii2pem:"
set nocompatible
let g:no_rust_conceal = 1
syntax on " syntax highlighting
set background=dark
" Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
set -g prefix2 C-s
bind-key b send-prefix
bind-key s send-prefix -2
set -g status-bg black
set -g status-fg white
set-window-option -g window-status-current-bg blue
set-window-option -g window-status-current-fg white
set -g base-index 1
set -s escape-time 0
set -g history-limit 1000000
@mcpherrinm
mcpherrinm / keybase.md
Created May 14, 2015 00:23
Keybase github proof

Keybase proof

I hereby claim:

  • I am mcpherrinm on github.
  • I am mcpherrinm (https://keybase.io/mcpherrinm) on keybase.
  • I have a public key whose fingerprint is 9CB0 EADC 9F72 685C 0657 401B 30CF 8EFF 1324 4DAC

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am mcpherrinm on github.
  • I am mcpherrinm (https://keybase.io/mcpherrinm) on keybase.
  • I have a public key whose fingerprint is 9CB0 EADC 9F72 685C 0657 401B 30CF 8EFF 1324 4DAC

To claim this, I am signing this object:

@mcpherrinm
mcpherrinm / Makefile
Created December 10, 2014 01:00
Name resolution works in 4.5, not 4.7 & clang
main: declare.o main.o
declare.o: declare.cc
main.o: main.cc
@mcpherrinm
mcpherrinm / hello.rs
Created October 10, 2014 03:34
Hello World
fn main() { println!("Hello, World!") }
@mcpherrinm
mcpherrinm / gist:0116cef42d27583bdcde
Created June 13, 2014 20:31
calling rust from python
mm@cereal:~/dytest$ rustc -C prefer-dynamic --crate-type=dylib fooz.rs
mm@cereal:~/dytest$ cat fooz.rs
#[no_mangle]
pub extern "C" fn foo(x: int) {
println!("Cowabunga, {}", x);
}
mm@cereal:~/dytest$ cat test.py
import ctypes
fooz = ctypes.CDLL("/home/mm/dytest/libfooz-afaf02c9-0.0.so")