McAfee’s AntiMalware product can be a real resource hog for some people. Fortunately there’s a way to simply disable it via the command line. It can then be easily re-enabled the same way.
I made an alias in my profile to take care of that:
alias kill-mcafee='sudo /usr/local/McAfee/AntiMalware/VSControl stopoas'
Re-enabling it is just as easy:
alias unkill-mcafee='sudo /usr/local/McAfee/AntiMalware/VSControl startoas'
It’s a pain in the ass to have to look this up every time I do this. So here it goes:
Install Homebrew versions:
$ brew tap homebrew/versions
Look for the package you need:
$ brew search node
That is going to return a list of packages with keywords matching “node”
$ leafnode node node010 node04 node06 node08 nodebrew nodenv
Install the package with the version you need:
$ brew install node010
$ brew link --overwrite node010
If you find yourself having to integrate an Ember CLI front-end with a Devise driven Rails backend, this is the tutorial for you to checkout.
Archived PDF version of the tutorial in case the blog disappears or the site goes down for any reason.
While googling for some syntax on Ember.js, I came across this incredibly helpful list of “lessons learned” from Landon Noss aptly named “Things I wish someone had told me when I was learning Ember.js“. He documented 28 tips learned from the battlefield. I love lists like that: Concise lessons distilled down to digestible bullet points, enough for others to go through the same troubles and speed up the learning curve. Kudos to Landon for the awesome list.
Just in case the article, the link or the site disappears, here’s a PDF version I generated for safekeeping.
One of RubyMine’s strongest features is its debugging tool. But it’s always been finicky to get it working for me. I finally got it to work since upgrading to Ruby 2.1.x. The situation was complicated by Ruby 2.x not yet supported by
debugger gem… etc.
To get everything to sing in harmony, here’s what I used:
And that was it!
Here’s a PDF backup of the article just in case the site or URL goes blind. You can’t be too safe!
Mac OSX Yosemite became publicly available today. Since my Mac is in-between projects, I decided to take a chance and upgrade.
I ran into three problems for my Ruby on Rails set up:
Other than those 3 things, pretty much everything else has worked as-is out of the box. I enjoy the crisp look of the fonts and icons in the new OS. And hopefully nothing crazy will happen going forward.
Chef is a great tool. I really love it. But to take full advantage of it, you need a Chef server (either build one yourself or have it hosted with Opscode (which we did at my last job). For small businesses and/or personal server(s) of very small scale (I’d suggest up to 3 to 5 servers at most), a nifty tool like LittleChef can really be quite useful. But if servers you manage ever grows more than a handful, I’d highly recommend hosted service like Chef to keep your sanity.
PHP was the first programming language I learned. But Ruby has been the language that I love. One of the patterns Ruby champions is the idea of Duck Typing. It’s a great way to avoid using
A coworker today introduced me to Inconsolata, a very well designed programming font. There are others to be discovered. But for now, I’m giving it a try. Looks great so far.