Codesign gdb on OSX

Trying to use gdb on OSX El Capitan gave me following message. Solution? You need to codesign gdb with a custom certificate. Open Keychain Access In the menu, go to Certificate Assistant -> Create Certificate Choose an appropriate name like gdb-cert, set Identity Type to Self Signed Root, set Certificate Type to Codesign, and check Let me override defaults Optional: extend duration Click continue until specifying location for the certificate, choose System In System, click on gdb-cert, choose Get Info, go to Trust and set Code Signing to Always Trust Restart taskgated sudo kill -9 (which gdb)

July 7, 2016 · 1 min · 97 words · Gian Sass

Speed Up Ubuntu 15.10 Running on VirtualBox

The latest Ubuntu releases always lack good stability with not-so obvious solutions, as Ubuntu 12.04 and prior worked without any such problems. Here are some quick fixes to speed up Ubuntu 15.10 running on VirtualBox. Before you do any of this make sure your software is up to date. sudo apt-get update && sudo apt-get upgrade 1. Enable 3D Acceleration Ubuntu with its Unity desktop has become quite graphics-intensive. As such it is recommended to let the VM use full power of your graphics card, and, if necessary, to increase the video memory for high resolutions....

January 30, 2016 · 2 min · 238 words · Gian Sass

Inline Links in HAML

Ruby on Rails becomes butthurt confusing on some things that ought to be simple. I use HAML a lot and get uncertain at times on how to do easy things, like putting a link in the middle of a paragraph. 1. HAML-way %p You can visit us at %a{:href => ""} this link anytime! 2. With help of link_to %p You can visit us at = link_to "this link", "" anytime!...

January 24, 2016 · 1 min · 183 words · Gian Sass