Category: Uncategorized
Funny definition for common HTTP status codes
I saw this on my Twitter feed and can’t help but post it here! ? 404 – Can’t find it 401 – You’re not getting in 403 – Look, you’re in but you’re not allowed 500 – We screwed up 400 – You screwed up 200 – All is fine, carry on
Git: Syncing fork repo against upstream repo
In case you need to make sure your forked repo is up-to-date with the original repo (i.e. /git/original/HelloWorld vs /git/anton/HelloWorld), here’s what you need to do in your terminal: $ git remote -v $ git remote add upstream git@git.url.io:original/HelloWorld.git $ git remote -v $ git fetch upstream $ git checkout master $ git merge upstream/master $…
DynamoDb Notes
DynamoDb is a NoSQL database, which to me means it’s schema-less, scales horizontally, and has incredible performance when accessing data via K/V pairs. I’m adding this here as writing about it helps me remember. Two types of primary key Partition key same as a primary key must be unique scalar attribute internally also known as…
Bash script to check health checks of multiple servers
I had to check over 20 servers to verify they were updated with a new build. The servers had a health check page that had this information along with whether the server was up-and-running. I wrote this quick-and-dirty bash script to do just that. for i in jetson1 jetson4; do for j in {1..10}; do…
Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog
Source: Running and debugging Clojure code with Intellij IDEA ~ Tomek Lipski’s blog