Document your code so that the next poor developer that has to extend it or fix it will be thankful you did.
Have you ssh’d into a production server and had no idea what to do next? For example, I ssh’d into a production Rails server but didn’t know how to access Rails console. It wasn’t straight forward. I was met with a black screen and a white cursor.
I had to run a query on a Postgresql database in production and export the data to a CSV file. I couldn’t use Postico.
I had to come up with a way to extract video metadata for work. I found Mediainfo to be a great fit.
When I run
docker ps to look at docker containers, the results are typically wrapped and are hard
to read due to too many displayed columns.
Did you know you could launch multiple small websites from the same server and keep them isolated from each other? Plus, you could link them to multiple domain names / subdomains and apply free SSL / TLS from Let’s Encrypt.
Most VPN setups assume that the entire server will be dedicated to the VPN. By using docker containers, I can run a vpn and other applications all on one single server.
I lost significant productivity by relying mostly on the mouse rather than the keyboard. A few days ago, I took a few hours to ‘sharpen the saw’ and find out how other people use RubyMine (IntelliJ IDE) in their workflows.
When I mix multiple projects in the same Ruby environment, I end up with different versions of the same gem.
We have a project and a project can have many tasks. Let’s say we have a task form where a user can specify the project the task belongs to. How do you pass the project foreign key through Rails strong params?