Category – TIL
2 posts tagged with "TIL" (See all categories)

TTIL: Resolve the Public IP of a URL

04/14/20191 Min Read — In Devops, Unix, TIL

The dig command is a utility for doing DNS lookups. You can run it with a URL argument to lookup the public IP for that domain. The output is a bit noisy, but if you parse down to the ANSWER SECTION…

TTIL: Define A Custom RSpec Matcher

04/13/20191 Min Read — In Testing, Ruby, Rails, TIL

You can define your own custom RSpec matchers. This is a great way to keep your spec tight and readable. A custom, domain-specific matcher can convey more intent in a single line than several lines of…