onoffswitch.net
Subscribe
Sign in
Home
Design Patterns
Architecture
Code Snippets
Archive
Leaderboard
About
code snippets
Latest
Top
Typed pubsub
Dealing with circular dependencies
Mar 18, 2024
•
Anton Kropp
Share this post
onoffswitch.net
Typed pubsub
Copy link
Facebook
Email
Notes
More
Ruby ERB templating and AST magic
Validating invalid dynamic erb blocks
Feb 5, 2024
•
Anton Kropp
Share this post
onoffswitch.net
Ruby ERB templating and AST magic
Copy link
Facebook
Email
Notes
More
Consistent Hashing
Suppose we want to provide a percentage based rollout of features to a set of users without storing the full set of features for each user.
Sep 21, 2021
•
Anton Kropp
Share this post
onoffswitch.net
Consistent Hashing
Copy link
Facebook
Email
Notes
More
JIRA CLI Tooling
I love tooling.
Aug 13, 2019
•
Anton Kropp
Share this post
onoffswitch.net
JIRA CLI Tooling
Copy link
Facebook
Email
Notes
More
Typed react native router
Note, a seasoned UI friend of mine told me this is a terrible way to do things and to instead use hooks instead
Aug 6, 2019
•
Anton Kropp
Share this post
onoffswitch.net
Typed react native router
Copy link
Facebook
Email
Notes
More
Infra graphs with neo4j
I spent some time recently mucking around with neo4j attempting to model infrastructure, incidents, teams, users, etc.
Apr 27, 2019
•
Anton Kropp
Share this post
onoffswitch.net
Infra graphs with neo4j
Copy link
Facebook
Email
Notes
More
Chaos monkey for docker
I work at a mostly AWS shop, and while we still have services on raw EC2, nearly all of our new development is on Amazon ECS in docker.
Feb 17, 2018
•
Anton Kropp
Share this post
onoffswitch.net
Chaos monkey for docker
Copy link
Facebook
Email
Notes
More
Sbt sonatypeRelease on Travis
I figured I’d drop a quick note here for anyone else running into an issue.
Nov 17, 2017
•
Anton Kropp
Share this post
onoffswitch.net
Sbt sonatypeRelease on Travis
Copy link
Facebook
Email
Notes
More
Coproducts and polymorphic functions for safety
I was recently exploring shapeless and a coworker turned me onto the interesting features of coproducts and how they can be used with polymorphic…
Oct 16, 2016
•
Anton Kropp
Share this post
onoffswitch.net
Coproducts and polymorphic functions for safety
Copy link
Facebook
Email
Notes
More
Mocking nested objects with mockito
Yes, I know its a code smell.
Sep 22, 2016
•
Anton Kropp
Share this post
onoffswitch.net
Mocking nested objects with mockito
Copy link
Facebook
Email
Notes
More
Unit testing DNS failovers
Something that’s come up a few times in my career is the difficulty of validating if and when your code can handle actual DNS changes.
Jun 3, 2016
•
Anton Kropp
Share this post
onoffswitch.net
Unit testing DNS failovers
Copy link
Facebook
Email
Notes
More
A simple templating engine
I wanted to talk about templating, since templating is a common thing you run into.
Mar 10, 2014
•
Anton Kropp
Share this post
onoffswitch.net
A simple templating engine
Copy link
Facebook
Email
Notes
More
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts