Disable the Optimus discrete graphics GPU in Ubuntu using bbswitch

I’ve recently made the mistake of purchasing the Asus K56VM laptop. I call this purchase a mistake because as well as an excellent spec (3rd gen. i7 processor, excellent screen), this laptop also comes with nvidia’s Optimus graphic card setup. In case you’re not familiar with the Optimus setup, it basically means that your laptop… Continue reading Disable the Optimus discrete graphics GPU in Ubuntu using bbswitch

Registering new Spring beans in Grails during runtime

Sit down, son; This talk’s been a long-time comin’. There may come a day when you find yourself having to register a new Spring bean during runtime of a Grails application. I’m gonna show you a method that’s been passed down in our family for generations. First, get hold of a reference to the GrailsApplication… Continue reading Registering new Spring beans in Grails during runtime