Skip to content

Instantly share code, notes, and snippets.

@Erni
Erni / ES_MissingFilterWithNestedObjects
Last active March 15, 2017 12:09
Elasticsearch missing filter with nested objects
Elasticsearch missing filter with nested objects
@Erni
Erni / search.sh
Created December 19, 2013 10:03
Bash script that mimics the find command taking a directory and filename as arguments. It searches for that filename within that directory and its subdirectories (using BFS algorithm). Usage: search.sh DIR FILENAME
#!/bin/bash
# initialization of dirstack with the first argument (directory)
dirstack=$1
nametofind=$2
# First set bash option to avoid
# unmatched patterns expand as result values
#shopt -s nullglob
# store matching file names into array
@Erni
Erni / BinaryTrees
Last active January 2, 2016 02:39
Binary Trees
Series of practice problems with solution code in Java. Binary trees have an elegant recursive pointer structure, so they are a good way to learn recursive pointer algorithms.
@Erni
Erni / keybase.md
Created June 11, 2020 07:16
keybase

Keybase proof

I hereby claim:

  • I am erni on github.
  • I am ernestoreig (https://keybase.io/ernestoreig) on keybase.
  • I have a public key ASA6ZWNesh9iN8T3P7veVa-UNoGSVW3NmV5xCNusDjdwCQo

To claim this, I am signing this object: