One of the ways we learn at Bugsnag is through our #til Slack channel where our team is constantly posting interesting tips and tricks discovered through our work or scanning the internet. It’s a pretty cool feeling to discover new things that are genuinely interesting everyday, and we thought we’d share some of those findings with our friends and followers on Twitter. For those of you who haven’t kept up with #til on Twitter, here’s a roundup of some of our most popular learnings.
The first #til fact ever was a huge hit! Right click on the web request in the developer console in Chrome and select Copy to cURL. You can then replay it in your terminal to reproduce.
When you use dmesg, how annoying is it to see something like this?
dmesg -T for a more readable version of the timestamp.
We’ve all been there, annoyed when bundle installing takes forever. But did you know that you can speed things up by installing gems in parallel? With some help from thoughtbot’s guide, try parallel installation to avoid waiting around.
bundle config --global JOBS '3'
Do you ever find yourself typing the same thing over and over in GitHub? Here’s a useful Chrome Extension that’ll save you loads of time — you can setup canned responses that’ll appear in a dropdown menu in the comment view.
rm by mistake can be a huge pain when you accidentally delete things permanently. To avoid mistakes, alias
rm to move files to trash instead. Check out http://hasseg.org/trash/ for OS X and trash-cli for Linux.
What’re your favorite developer tips and tricks? Share them with us on Twitter, and you could make it to our next #til roundup.
For more #til Tweets and learnings from our team, follow us on Twitter.