Skip to content

Instantly share code, notes, and snippets.

View rreinold's full-sized avatar

Rob Reinold rreinold

View GitHub Profile
@rreinold
rreinold / recipe_human.json
Created October 20, 2025 15:07
recipe_human.json
[
{
"Continent": "North America",
"Country_State": "US",
"cuisine": "Southern Recipes",
"title": "Sweet Potato Pie",
"URL": "https://www.allrecipes.com/recipe/12142/sweet-potato-pie-i/",
"rating": 4.8,
"total_time": "1h55min",
"prep_time": "15min",
@rreinold
rreinold / routes
Last active March 14, 2023 00:57
DXB>TPE
route_id,total_dist
DXB-->DEL-->TPE,4073.480536895432
DXB-->KMG-->TPE,4102.3176646352285
DXB-->KMG-->KWL-->TPE,4102.496933059054
DXB-->KTM-->KMG-->TPE,4103.766356861911
DXB-->KMG-->XMN-->TPE,4109.437183165344
DXB-->KMG-->FOC-->TPE,4116.570198996252
DXB-->KTM-->CTU-->TPE,4117.167003783368
DXB-->KHI-->DEL-->TPE,4118.277077854797
DXB-->KMG-->KWE-->TPE,4121.163520942973
#!/bin/bash
extension=".txt"
rootDir=$SC/scripts/rman_entries/
file=${rootDir}${2}${extension}
fn () { rman cat $2 | grep -i $3 | less; }
subcommand=$1
entryExists=false
if [ -f $file ]; then
entryExists=true
import sys
"""
Set up a unix fifo queue into the depth measurement device
$ mkfifo queue
$ cat > queue &
$ mypid=$!
$ python day1.py < queue
@rreinold
rreinold / MeasurePerformance.js
Created May 3, 2019 20:32
MeasurePerformance code service snippet
PERF_TOPIC = "performance"
function MeasurePerformance(req, resp) {
// Run upon LRS code service invocation
ClearBlade.init({request:req})
// Run this upon receiving each request
var start = +new Date()
// Perform Task
function BigQuery(key){
validateKey()
function validateKey(){
console.log("validated: " + key)
}
function helperMethod(){
console.log("helped")
}
@rreinold
rreinold / empty_collection.json
Created April 19, 2017 18:38
Import Collection Syntax
{
"items": [],
"schema": [],
"permissions": {}
}