Skip to content

Instantly share code, notes, and snippets.

View frankh's full-sized avatar
🚀
Making the world a better place through Paxos algorithms for consensus protocols

Frank Hamand frankh

🚀
Making the world a better place through Paxos algorithms for consensus protocols
View GitHub Profile
@frankh
frankh / gist:423c97183ceae41a526b
Created April 27, 2015 10:37
sassc-rails stacktrace
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
-- Control frame information -----------------------------------------------
c:0084 p:---- s:0404 e:000403 CFUNC :compile_data_context
@frankh
frankh / gist:0909b338e8a071847602
Created April 27, 2015 10:43
sassc-rails stacktrace
/Users/username/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/sassc-1.0.0/lib/sassc/engine.rb:30: [BUG] Segmentation fault at 0x00000102fae000
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin13]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Collecting django==1.11
1 location(s) to search for versions of django:
* https://pypi.python.org/pypi/django/
Getting page https://pypi.python.org/pypi/django/
Starting new HTTPS connection (1): pypi.python.org
"GET /pypi/django/ HTTP/1.1" 301 0
"GET /pypi/Django HTTP/1.1" 200 35452
Analyzing links from page https://pypi.python.org/pypi/Django
Skipping link http://www.python.org (from https://pypi.python.org/pypi/Django); not a file
Skipping link https://pypi.python.org/pypi/Django#left-hand-navigation (from https://pypi.python.org/pypi/Django); not a file
@frankh
frankh / gist:1503683ca335cd1ad5247f2c95e60e85
Last active November 17, 2017 17:06 — forked from hay/gist:1351230
Arachnify your workflow model names!
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: white;
text-align: center;
padding: 20px;
font-family: Georgia, serif;

Keybase proof

I hereby claim:

  • I am frankh on github.
  • I am shawabawa (https://keybase.io/shawabawa) on keybase.
  • I have a public key ASBrX_c2YXGurPkn9Yq3KQzS6t7-rNtNBwP2GI8kLThmKAo

To claim this, I am signing this object:

apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: hpa-downscale-limiter
namespace: kube-system
spec:
schedule: "*/3 * * * *"
concurrencyPolicy: Forbid
jobTemplate:
spec:
@frankh
frankh / stats
Created July 24, 2018 16:14
envoy admin stats for issue
cluster.service_primary.bind_errors: 0
cluster.service_primary.external.upstream_rq_200: 7713
cluster.service_primary.external.upstream_rq_2xx: 7713
cluster.service_primary.external.upstream_rq_304: 21
cluster.service_primary.external.upstream_rq_3xx: 21
cluster.service_primary.external.upstream_rq_403: 746
cluster.service_primary.external.upstream_rq_404: 734
cluster.service_primary.external.upstream_rq_4xx: 1480
cluster.service_primary.external.upstream_rq_500: 2573
cluster.service_primary.external.upstream_rq_5xx: 2573
@frankh
frankh / sg-diff
Last active November 26, 2019 14:54 — forked from greglook/sg-diff
Render Terraform AWS security group diffs for humans
class SgDiff
SGR_ANSI = "\e[%sm"
SGR_CODES = {
none: 0,
bold: 1,
black: 30,
red: 31,
green: 32,
yellow: 33,