-
RAW_POST_DATA in rspec rails for Rails 5.2 and beyond
The last time I was trying to specify RAW_POST_DATA in rspec was probably Rails 3 or 4, but I ran into a situation trying to test an edge case for error handling where I wanted that same functionality. I quickly found this issue [Unable to POST raw request body], but didn’t immediately figure out what…
-
Tandy/Radio Shack TRS-80 Model 16 Graphics
TRS-80 Model 16 Basic Graphics Interpreter discovery
-
String#tr in ruby (like tr in Linux) complete with figuring out slashes.
It seems like I’ve seen quite a few programming puzzles in the last few weeks that involved translating mistyped input in which the hands were shifted (right) on the keyboard. My first thought was the tr utility in *nix operating systems, but didn’t immediately go looking for or notice that ruby has a tr method…