Give yourself an alert about the current Kubernetes namespace when launching a Bash shell or Rails console.
Running Python, Ruby, and Perl from one Bash script to detect the CD-ROM drive tray status using Linux ioctl.
When running a
brew upgrade, it upgraded
readline to version 7.0. This
broke the Rails console.
Faced with having to script out schema and objects from a SQL Server database, the only option was using SMO. That’s a Windows-only solution that has some known bugs and performance problems. Using the management views in SQL Server you can script everything out yourself. So I created mossy to do that in Ruby. It can script out a whole database in under 15 queries and depending on the size of modules, should only takes a few seconds.