Skip to content

Instantly share code, notes, and snippets.

@vreemt
vreemt / openssl.md
Last active January 21, 2020 17:28
OpenSSL certs with CA signing
@vreemt
vreemt / openssl.php
Last active February 28, 2020 12:29
Generating SSL certificates with SANs in PHP with OpenSSL - see also https://gist.github.com/vreemt/d79a7ad0b5cb53242237b2c760eda8c7
<?php
//src on: https://gist.github.com/dol/e0b7f084e2e7158efc87
// see also https://gist.github.com/Soarez/9688998
// __DIR__ . '/tests/Helpers/openssl.cnf'
/*
[ req ]
distinguished_name = req_distinguished_name
req_extensions = v3_req
x509_extensions = v3_ca
@vreemt
vreemt / conferences.md
Last active January 13, 2020 16:25
Tech conferences and hackercamps
@vreemt
vreemt / regexes_notes.cs
Created October 3, 2016 21:42
Notes on using regexes in C#
https://regex101.com/r/3v4pjk/1
new Regex(@"^([A-Za-z]{2}(\d)(|\-))([A-Za-z]{3})-(\d)(\d)(\d)$)")
new Regex(@"^([A-Za-z]{2}(\d)(|\-))([A-Za-z]{3})-(\d)(\d)(\d)$)")
new Regex(@"
^ # start of line
[A-Za-z]{2} # two letters
\d # one digit

Keybase proof

I hereby claim:

  • I am vreemt on github.
  • I am vreemt (https://keybase.io/vreemt) on keybase.
  • I have a public key ASBbHnXKHE-knobdp9fQA_GBPS1xTC34DqwBqkvQQrwz9Ao

To claim this, I am signing this object:

@vreemt
vreemt / code_scout_stickers.txt
Last active October 4, 2015 10:21
Be a good code scout stickers
======================================
Be a good code scout
======================================
* phpnw15
* phpnw16
* drupal
* wordpress
* zend
* symfony