Skip to content

Instantly share code, notes, and snippets.

View seanmcelroy's full-sized avatar
🔒
Protect people.

Sean M. seanmcelroy

🔒
Protect people.
  • Dallas, Texas
View GitHub Profile
@seanmcelroy
seanmcelroy / openpgp.md
Created November 1, 2022 01:47
keyoxide

[Verifying my cryptographic key: openpgp4fpr:c5891239b026364f35ee1d8b5ab5c91e1957dfb7]

WhiteSpace: [\s\n\t ]+;
Comment: '/*' (!'*/' .)* '*/';
(?<Literal>): "'" [^']* "'";
S: (WhiteSpace / Comment)*;Integer: [0-9]+;
Digit: Integer('.'Integer)?;
Identifier: [a-zA-Z][a-zA-Z0-9]*;
(?<Operator>): ('+' / '-' / '*' / '/' / '%');
(?<AliasName>): Identifier;
Alias: '['? AliasName ']'?;
### Keybase proof
I hereby claim:
* I am seanmcelroy on github.
* I am seanmcelroy (https://keybase.io/seanmcelroy) on keybase.
* I have a public key whose fingerprint is C589 1239 B026 364F 35EE 1D8B 5AB5 C91E 1957 DFB7
To claim this, I am signing this object:
@seanmcelroy
seanmcelroy / untrusted-lvl20-solution.js
Last active August 29, 2015 13:58
untrusted-lvl20-solution.js
/*****************
* bossFight.js *
*****************
*
* NO FARTHER, DR. EVAL!!!!
* YOU WILL NOT GET OUT OF HERE ALIVE!!!!
* IT'S TIME YOU SEE MY TRUE FORM!!!!
* FACE MY ROBOT WRATH!!!!!
*/
@seanmcelroy
seanmcelroy / untrusted-lvl18-solution.js
Created April 8, 2014 03:30
untrusted-lvl18-solution.js
/**********************
* superDrEvalBros.js *
**********************
*
* You're still here?! Well, Dr. Eval, let's see
* how well you can operate with one less dimension.
*
* Give up now. Unless you have a magic mushroom
* up your sleeve, it's all over.
*/
@seanmcelroy
seanmcelroy / untrusted-lvl17-solution.js
Created April 8, 2014 03:19
untrusted-lvl17-solution.js
/***************
* pointers.js *
***************
*
* You! How are you still alive?
*
* Well, no matter. Good luck getting through this
* maze of rooms - you'll never see me or the Algorithm again!
*/
@seanmcelroy
seanmcelroy / untrusted-lvl16-solution.js
Last active August 29, 2015 13:58
untrusted-lvl16-solution.js
/*************
* lasers.js *
*************
*
* Time to unleash the killer lasers! Each laser will kill you
* unless you have the appropriate color. Too bad you can't
* see which color corresponds to which laser!
*/
function getRandomInt(min, max) {
@seanmcelroy
seanmcelroy / untrusted-lvl15-solution.js
Created April 8, 2014 02:27
untrusted-lvl15-solution.js
/**************************
* exceptionalCrossing.js *
**************************
*
* Sorry, old friend, but I'm afraid I can't share
* co-authorship on this paper. You've done a very
* good job getting this Algorithm for me. The bit
* with the keys was especially clever! I wouldn't
* have thought of it myself. But then, of course,
* that's why you were here in the first place.
@seanmcelroy
seanmcelroy / untrusted-lvl14-solution.js
Created April 8, 2014 02:25
untrusted-lvl14-solution.js
/********************
* crispsContest.js *
********************
*
* The Algorithm is almost in our grasp!
* At long last, we will definitively establish
* that 3SAT is solvable in polynomial time. It's
* been a long, strange journey, but it will all be
* worth it.
*
@seanmcelroy
seanmcelroy / untrusted-lvl13-solution.js
Created April 8, 2014 02:14
untrusted-lvl13-solution.js
/*
* robotMaze.js
*
* The blue key is inside a labyrinth, and extracting
* it will not be easy.
*
* It's a good thing that you're a AI expert, or
* we would have to leave empty-handed.
*/