Skip to content

Instantly share code, notes, and snippets.

@NathanielWroblewski
NathanielWroblewski / selch
Last active May 21, 2022 23:10
View k8s selector chains from ingress -> service -> pod
#!/usr/local/bin/bash
#title :selch
#desc :Summarizes k8s selector chains from ingress to service to pod
#author :Nathaniel Wroblewski (nathanielwroblewski)
#created :2022-05-21
#version :0.0.1
#usage :bash ./selch
#environment :GNU bash, version 5.1.16(1)-release
#dependencies :kubectl (v1.22.5), jq-1.6, sed, xargs, column
#===============================================================================
@NathanielWroblewski
NathanielWroblewski / ncaam_teams.json
Created February 12, 2022 02:52
NCAAM Team names
[
"Bellarmine Knights",
"Central Arkansas Bears",
"Eastern Kentucky Colonels",
"Florida Gulf Coast Eagles",
"Jacksonville Dolphins",
"Jacksonville State Gamecocks",
"Kennesaw State Owls",
"Liberty Flames",
"Lipscomb Bisons",
@NathanielWroblewski
NathanielWroblewski / readme.md
Created December 21, 2017 14:54
Blockstack verification
@NathanielWroblewski
NathanielWroblewski / readme.md
Created November 19, 2016 18:12
Running Kali Linux via Crouton on a 2015 Toshiba Chromebook 2 (Intel i3)

Keybase proof

I hereby claim:

  • I am nathanielwroblewski on github.
  • I am natew (https://keybase.io/natew) on keybase.
  • I have a public key whose fingerprint is 7BCB 7A4B FEB8 865E C168 64D9 FA0A 3949 7D28 2083

To claim this, I am signing this object:

@NathanielWroblewski
NathanielWroblewski / overview.md
Last active August 29, 2015 14:10
Pocket Mice Notes

Notes on Backbone and Everything Else

Backbone

Todo app

I've included a link to a simple Todo application built in backbone with a detailed commit history. I would recommend going through the repo from the first commit to the last. It should be clear what

@NathanielWroblewski
NathanielWroblewski / burrito.json
Created November 9, 2014 05:34
Burrito Bracket
{
"name": "La Taqueria",
"round": 4,
"children": [
{
"name": "La Taqueria",
"round": 3,
"children": [
{
"name": "La Taqueria",
@NathanielWroblewski
NathanielWroblewski / burrito.csv
Created November 9, 2014 04:39
Burrito Bracket
Restaurant Name VORB Round 1 Round 2 Finals Quadrant
El Farolito 20.7 86 Habanero
Chando’s Tacos 9.1 91 Habanero
HRD Coffee Shop 15.4 84 Habanero
Taqueria Cancún 14.0 94 92 Habanero
Garbo’s Grill 13.1 77 Habanero
Mr. Taco Mexican Food 1.3 60 Habanero
Little Donkey 3.5 80 86 Habanero
Pedro & Vinny’s 12.0 60 Habanero
Delicious Mexican Eatery 2.7 92 94 95 Habanero
@NathanielWroblewski
NathanielWroblewski / code.js
Created November 4, 2014 21:57
Ajax Post on Form Submit
// execute code once the page has loaded
$(document).ready(function() {
// listen for the form being submitted
$('form').on('submit', function(e) {
// prevent the actual form submission
e.preventDefault()
// redirect the form data ($(this).serialize) through AJAX to some api endpoint (/some-api-endpoint)
$.post('/some-api-endpoint', $(this).serialize(), function(response) {
// log the JSON response to your console after you drop a BOOM
@NathanielWroblewski
NathanielWroblewski / readme.md
Created November 3, 2014 20:32
Positive and Negative Regex Lookahead and Lookbehind

Positive Lookahead

Match any "q" followed by a "u"

string.match(/q(?=u)/)

Negative Lookahead

Match any "q" not followed by a "u"