Skip to content

Instantly share code, notes, and snippets.

View alecmerdler's full-sized avatar

Alec Merdler alecmerdler

View GitHub Profile
@alecmerdler
alecmerdler / sse-repo-tags.md
Created April 6, 2020 02:47
Realtime Tag Events

Description

Adds endpoints for receiving updates to repository tag (add/modify/delete).

@alecmerdler
alecmerdler / nginx-ingress-controller.yaml
Created March 27, 2020 16:52
Single Namespace NGINX Ingress Controller Deployment
apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
labels:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
---
@alecmerdler
alecmerdler / issue-1690.md
Created February 13, 2020 04:22
Refactor reducers/compiledProjects

Description

Switches reducers/compiledProjects to use handleActions(). Also adds tests.

Partially addresses #1690

@alecmerdler
alecmerdler / epic-win.md
Last active January 14, 2020 05:31
Download fonts for epic win
  1. Go to https://vj-type.com/product/dida/
  2. Open Chrome Devtools (Ctrl+Shift+I Linux / Cmd+Shift+I MacOS)
  3. Select Network tab and Font subtab and refresh page
  4. Should see 3 entries, one starts with data:application/x-font-woff: suspicious...
  5. Click the suspected entry row and click the Preview tab
  6. Hey, that's our font!
  7. Click the Headers tab
  8. Copy all text after Request URL: data:application/x-font-woff;charset=utf-8;base64,
  9. Paste text into https://www.opinionatedgeek.com/codecs/base64decoder
  10. Download Base64Decoded.bin (I promise it's safe)
@alecmerdler
alecmerdler / issue-100.md
Last active November 22, 2019 20:43
Browser etcd client
@alecmerdler
alecmerdler / coreos-slack.txt
Created October 15, 2019 17:46
CoreOS Slack Theme
#53A3DA,#A0C4DB,#F1606D,#FFFFFF,#a0c4db,#ffffff,#00fc37,#EB4D5C
@alecmerdler
alecmerdler / elm-prototype.md
Created October 7, 2019 14:49
Experimenting adding Elm to Quay

Description

@alecmerdler
alecmerdler / console-1624.md
Created July 19, 2019 18:18
Choose Namespace for Global Operator Install
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: only-etcd
spec:
sourceType: grpc
image: quay.io/alecmerdler/upstream-community-operators@sha256:532500777738110d8841b2c0e4c5365cb9d2c6641428dff2cf6ab1ce37c53964
displayName: Only etcd
publisher: CoreOS, Inc
@alecmerdler
alecmerdler / kill-masthead.js
Created June 5, 2019 14:50
Reclaim the screen space!
document.querySelector('header').remove();
document.querySelector('.pf-c-page__sidebar').style.position = 'unset';
document.querySelector('.pf-c-page__main').style.top = '0';