Ruby, Rails consultant. Co-founded a company once.
Recently, I was working on a pet project (pluckdp), which helps ruby coders test / improve their design pattern skills.
After deploying to production, the home page was taking a whooping 3.5 seconds to load.
Today, I was searching for code highlighters to use in one of my projects. I came across highlightjs but I ran into few hiccups while integrating it. I listed them below so that others will not waste time on those.
When you want to uglify a single file instead of going through the rails assets precompilation process, you can use the below command
If you want to spit out the uglified file into an output file, use the below