Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View originalhat's full-sized avatar
👾
L I M I T L E S S

Devin Brown originalhat

👾
L I M I T L E S S
View GitHub Profile
@originalhat
originalhat / brew-install-openssl-error-13.md
Last active March 27, 2022 00:38
make: *** [install_sw] Error 13, "brew install openssl"

Mo SSL, Mo Problems

Problem

$ brew install openssl
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic shared darwin64-x86_64-cc
==> make
@originalhat
originalhat / things-i-believe.md
Last active February 12, 2021 21:40
Things I believe

Things I Believe

Inspiration: Things I believe · GitHub

Fundamentals

  1. Make it simple, then make it even more simple.
  2. We're paid to think, not write code.
  3. Articulated your thoughts with others.
  4. Always retrospect on what could have gone better.
@originalhat
originalhat / git-basic.md
Created September 7, 2012 15:27
basic git commands for adding

see the status of shit

$ git status
# On branch develop
nothing to commit (working directory clean)

see branches

$ git branch

Keybase proof

I hereby claim:

  • I am originalhat on github.
  • I am circlehat (https://keybase.io/circlehat) on keybase.
  • I have a public key ASDTeyQ8U9v_bbtnkjsWyGNk-NV7PFr75Wzg8SPJDQT9nQo

To claim this, I am signing this object:

Hilarious DO TRY

osascript -e "set Volume 1" && wget "http://inception.davepedu.com/inception.mp3" && afplay inception.mp3
@originalhat
originalhat / gist:2855482
Created June 1, 2012 22:25
Installing Nagios on OSX (10.6.8)

Nagios Install - OSX (10.6.8)

Overview

Installing Nagios on linux is well documented and relativly straightforward. Installing Nagios on OSX however, can be a bit different, and in my case presented a number of unique issues that I hope this guide might address.

If you run into an odd error messages, check the Troubleshooting section below, it might have the answer you're looking for!

Requirements / Dependencies

#!/bin/bash
DOMAIN=$1
mkdir -p /tmp/appwatch-bbl
mkdir -p /tmp/certbot
gsutil cp gs://appwatch-bbl/my-app-config.json /tmp/appwatch-bbl/my-app-config.json
chmod 600 /tmp/appwatch-bbl/my-app-config.json
@originalhat
originalhat / nagios-install-error
Created May 31, 2012 13:41
Nagios Install Errors (OSX)
groundhog-mac:nagios Devinb$ ./configure --with-gd-lib=/opt/local/lib --with-gd-inc=/opt/local/include \
> --prefix=/usr/local/nagios --with-cgiurl=/cgi-bin --with-htmlurl=/ \
> --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagioscmd
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
@originalhat
originalhat / branch-diff.md
Created September 6, 2016 22:31
diff two branches SUH PRUTTY
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative master..branch-X
@originalhat
originalhat / fallacy-central.md
Created November 26, 2015 04:20
Fallacy Central

Hasty generalization

>Hasty generalization is an informal fallacy of faulty generalization by reaching an inductive generalization based on insufficient evidence—essentially making a hasty conclusion without considering all of the variables. In statistics, it may involve basing broad conclusions regarding the statistics of a survey from a small sample group that fails to sufficiently represent an entire population. Its opposite fallacy is called slothful induction, or denying a reasonable conclusion of an inductive argument (e.g. "it was just a coincidence").