Skip to content

Instantly share code, notes, and snippets.

View blackthornedk's full-sized avatar

Jacob V. Rasmussen blackthornedk

View GitHub Profile

Keybase proof

I hereby claim:

  • I am blackthornedk on github.
  • I am blackthornedk (https://keybase.io/blackthornedk) on keybase.
  • I have a public key ASAo3V35V4PkzXxJZLzAvfPEFkualpmxnJCkaef5l8T3bAo

To claim this, I am signing this object:

@blackthornedk
blackthornedk / crypt_test.php
Last active April 19, 2018 14:01
PHP crypt test
<?php
echo crypt('1234ABCD5678EFGH', 'SA') . '<br />';
echo crypt('1234ABCD', 'SA') . '<br />';
echo '<br />';
echo crypt('1234ABCD5678EFGH', base64_encode('1234ABCD5678EFGH')) . '<br />';
echo crypt('1234ABCD', base64_encode('1234ABCD')) . '<br />';
echo '<br />';
@blackthornedk
blackthornedk / .gitconfig
Created January 27, 2018 23:54
Git Log Alias
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"