Skip to content

Instantly share code, notes, and snippets.

View hgoscenski's full-sized avatar

Harrison Goscenski hgoscenski

View GitHub Profile
@hgoscenski
hgoscenski / gist:059ab6394b3c0520e37d34c448b69d98
Last active June 18, 2018 15:55
Timing for ripgrep vs. BSD grep vs. GNU grep
hgoscenski@hgoscenski-ltm:~/Downloads
λ grep --version 0
grep (BSD grep) 2.5.1-FreeBSD
hgoscenski@hgoscenski-ltm:~/Downloads
λ ggrep --version 0
ggrep (GNU grep) 3.1
Packaged by Homebrew
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
@hgoscenski
hgoscenski / gist:8d8a637e0661fa6a4ada59e3248b9a97
Created November 30, 2017 22:39
Install Script Bookstack Ubuntu 17.10
# This script will install a new BookStack instance on a fresh Ubuntu 16.04 server.
# This script is experimental and does not ensure any security.
echo ""
echo -n "Enter your the domain you want to host BookStack and press [ENTER]: "
read DOMAIN
myip=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1 -d'/')
export DEBIAN_FRONTEND=noninteractive

Keybase proof

I hereby claim:

  • I am hgoscenski on github.
  • I am boatmaker (https://keybase.io/boatmaker) on keybase.
  • I have a public key ASAkb7aiufVKMjgycBsf9WZ5jKcJdPb26SO7yHEzkBGiEAo

To claim this, I am signing this object: