Skip to content

Instantly share code, notes, and snippets.

View rhoegg's full-sized avatar

Ryan Hoegg rhoegg

View GitHub Profile

Expecting Professionalism

In this talk, Uncle Bob transports you into an alternate reality where he is your new CTO. This is what he expects from you. As you listen, notice how reasonable these expectations are to customers and users. Notice also how impossible they appear to programmers.

The talk: 📽️ https://www.youtube.com/watch?v=BSaAMQVq01E
Author: Robert C. Martin aka Uncle Bob

(Items contain direct links into the relevant section of the video.)

  1. We Will Not Ship Shit
output application/json
import fromBinary from dw::core::Numbers
var inputData = readUrl("classpath://inputs/day3.txt", "text/plain")
then (result) -> result splitBy "\n"
var lines = inputData map flatten($ scan /./)
var columns = sizeOf(lines[0]) - 1
@jdecode
jdecode / uncle-bob-expecting-professionalism.md
Last active March 31, 2024 16:45
Uncle Bob - Expecting professionalism
@jeffbowman
jeffbowman / input.xml
Last active August 22, 2018 15:57
DW Rudimentary unit testing example
<words>
<word>123</word>
<word>mom</word>
<word>12321</word>
<word>madam im adam</word>
<word>Mom</word>
<word>Madam I'm Adam</word>
<word>FooBar</word>
<word>Eva, Can I Stab Bats In A Cave?</word>
</words>
@dzuelke
dzuelke / gist:2587006
Created May 3, 2012 16:28
Add bandwidth limit, latency or packet loss to localhost connections on OS X
# First add a rule for all local traffic to port 80 to go into pipe 1
# 100 is the rule number which will be used for referencing the rule later
sudo ipfw add 100 pipe 1 ip from 127.0.0.1 to 127.0.0.1 dst-port http
# To display the rule use
# sudo ipfw show 100
# configure the settings of the pipe as you please
# 50kbit/s bandwidth
sudo ipfw pipe 1 config bw 50Kbit
# 200ms lag