Skip to content

Instantly share code, notes, and snippets.

View OGoodness's full-sized avatar
:octocat:
Doing my best

Noah OGoodness

:octocat:
Doing my best
View GitHub Profile
@OGoodness
OGoodness / gremlin-cheat-sheet.md
Created June 7, 2022 21:07 — forked from jeremysears/gremlin-cheat-sheet.md
Gremlin Cheat Sheet in Groovy

Gremlin Cheat Sheet in Groovy

Gremin traversal examples taken from the excellent DS330: DataStax Enterprise Graph course.

Creating Vertices and Vertex Properties

Add a Vertex

Vertex u = graph.addVertex("user");
       u.property("userId","u2016");
 u.property("age",36);
@OGoodness
OGoodness / web-servers.md
Created May 26, 2022 17:17 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@OGoodness
OGoodness / MorseCodeListener.html
Last active January 5, 2021 19:27
A simple PoC to convert mouse clicks into dots and dashes.
<!DOCTYPE html>
<html>
<body>
<input type="button" value="CLICK HERE" id="telegraph" onmousedown="mouseDown()" onmouseup="mouseUp()">
<h3 id="output_morse"></h3>
<h3 id="output_plain"></h3>