Skip to content

Instantly share code, notes, and snippets.

View dylanbhughes's full-sized avatar

Dylan Hughes dylanbhughes

View GitHub Profile
# pretty sudo prompt
read -r -d '' SUDOPROMPT << EOM
πŸŒΊπŸŒ³πŸŒΈπŸŒ·πŸŒ·πŸŒΈπŸŒ»πŸŒ·πŸŒ·πŸŒΈπŸŒΈπŸŒΈπŸŒΈπŸŒ·πŸŒΌπŸŒ·πŸŒ³πŸŒΊπŸŒΌπŸŒΊπŸŒΈπŸŒ»πŸŒΌπŸŒΌπŸŒ³πŸŒ³πŸŒΌπŸŒΊπŸŒ»πŸŒ·πŸ›πŸŒ·πŸŒΌπŸŒ»πŸŒ³πŸŒΈπŸŒ·πŸŒ·πŸŒ»πŸŒΈ
πŸŒΈπŸ¦‰πŸŒ»πŸŒΈπŸŒ³πŸŒ·πŸŒΈπŸŒ·πŸŒΈπŸŒ³πŸŒΈπŸŒ»πŸŒ³πŸŒπŸŒ»πŸŒ·πŸŒ·πŸŒΌπŸŒ»πŸŒΊπŸŒΊπŸŒ»πŸŒΌπŸŒ»πŸŒ»πŸŒΌπŸŒΊπŸŒ»πŸŒ³πŸŒΌπŸŒ³πŸŒΊπŸŒ³πŸŒ·πŸŒ»πŸŒΌπŸŒ·πŸŒΌπŸŒ»πŸŒΈ
🌳🌸🌻🌺🌻🌳🌺🌺🌻🌺🌸🌻🌷🌷🌼🌻🌺🌼🌻🌻🌷🌳🌻🌸🌳🌷🌻🌳🌳🌳🌳🌼🌳🌳🌺🌷🌳🌺🌳🌺
πŸ¦‰πŸŒΈπŸŒ»πŸŒΊπŸŒΊπŸŒ³πŸŒΈπŸŒΈπŸŒΌπŸŒ»πŸŒΊπŸŒΌπŸŒ·πŸŒΈπŸŒ³πŸŒΌπŸŒΊπŸŒΈπŸŒΊπŸŒ·πŸŒ»πŸŒ·πŸŒΊπŸŒΊπŸŒ³πŸŒ·πŸŒ·πŸ°πŸŒΈπŸŒ»πŸŒ³πŸŒΈπŸŒΌπŸŒ·πŸŒΌπŸŒ³πŸŒ·πŸΉπŸŒΌπŸŒΊ
🌷🌳🌻🌸🌸🌼🐰🌷🌺🌷🌺🌻🌷🌸🌺🌻🌳🌻🌷🌻🌻🌺🌸🌸🌺🌻🌸🌻🌳🌳🌻🐦🌻🌼🌼🌻🌻🌺🌳🐰
πŸŒΌπŸ¦πŸŒ»πŸŒ³πŸŒΈπŸŒΈπŸŒ³πŸŒ·πŸŒΊπŸŒΌπŸŒ³πŸŒ·πŸŒΈπŸŒ»πŸŒΌπŸŒ»πŸ›πŸŒ»πŸŒΌπŸŒ·πŸŒΊπŸŒΌπŸŒΊπŸŒΈπŸŒΊπŸ¦”πŸŒ·πŸŒΈπŸŒ·πŸŒ»πŸŒ»πŸŒΊπŸŒΌπŸŒ·πŸŒπŸŒΈπŸŒ·πŸŒΌπŸŒΈπŸΉ
🌸🌳🌻🌼🌻🌳🌸🌷🌺🌷🌷🌼🌻🌷🌻🌺🌼🌼🌳🌸🌻🌻🌸🌼🌼🌸🌳🌺🌻🌻🌳🌺🌷🐰🌻🌼🐹🌷🌷🌳
🌼🌷🌻🌸🌼🌳🌻🌻🌳🌷🌼🌻🌺🌺🌺🌺🌺🌳🌻🌼🌷🌸🌸🌻🌺🌻🌳🌸🌷🌺🌺🌼🌸🌺🌻🌻🌷🌸🌻🌷
@mousetree
mousetree / build.py
Created October 15, 2020 19:58
Prefect CI Build Example
import uuid
from os import environ, path
import docker
from prefect.environments import KubernetesJobEnvironment
from prefect.environments.storage import Docker
from sable_batch.flows import (
flow1,
flow2,
@kislayverma
kislayverma / steve-yegge-google-platform-rant.md
Created December 26, 2019 07:11
A copy (for posterity) of Steve Yegge's internal memo in Google about what platforms are and how Amazon learnt to build them

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't really have SREs and they make engineers pretty much do everything,

@1Marc
1Marc / distribute-prepaid-codes.js
Created September 25, 2015 17:20
Distribute prepaid codes via mailgun
var fs = require('fs');
// npm install csv-parse
var parse = require('csv-parse');
// CSV with ONLY the codes you want to give away
var prepaid_codes_file = 'giveaway-codes.csv';
var emails_file = 'giveaway-emails.csv';
var Mailgun = require('mailgun').Mailgun;
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 11, 2025 17:09
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\