-
Invoking a Rake Multitask in a loop
I am running selenium tests that I launch using a rake task. Recently I wanted to run a bunch on them concurrently every so often. The problem I ran into immediately, was that the tasks were only executed once. It turns out that, when calling a multitask multiple times, you not only have to .reenable…
-
Building and installing a patched ubuntu kernel for the surface pro 3
Some of you have been asking for this tutorial so I hope this is easy to follow. I am sort of repeating the instructions here Assumptions You have followed the instructions on this post Installed Ubuntu or Ubuntu Gnome 15.04 Will be using an Ubuntu machine to perform the following steps. I recommend a faster…
-
Dual boot Gnome Ubuntu 15.04 on a Surface Pro 3
update 6: I have rolled a new kernel surface-pro-3-linux-kernel-4.2.0-34.40 Good news everyone! the latest version of Ubuntu 15.04 works really good with the Surface Pro 3 Things that immediately work The TypeCover Keyboard The TypeCover backlight can be adjusted by pressing F1 and F2 The mute button in the TypeCover F3 works The WiFi is…
-
Guanacotoon, I never thought I would see the day
Most of us that live in the US are familiar with a web comic. We enjoy great quality, fairly regular updates and great diversity. This American experiment is spreading around the world but I never thought this would ever reach my home country. So I was genuinely happy and impressed when I discovered OB’s World…
-
Using Rails 4 engine/plugin helpers across your entire app
Sometimes you need your rails engine/plugins helpers to work across the host app. An example of this is my Gem Paginas. I provide helper methods to generate menu links, since the menus can exist outside the scope of my gem, it was necessary to include these methods in the host app. It is quite simple…
-
Getting tinymce-rails to play nice in Rails 4 and Turbolinks
I am using the plugin on a project and I kept having problems loading the editor on for the second time. The problems materialized in two different ways. On first page view the editor worked as intended, on second page viewed the editor did not show at all After trying to fix #1, on first…
-
TIL some awesome ActiveRecord behaviors in Rails
So I started using rails about 3 months ago and it has been awesome. ActiveRecords was my first experience using ORM. I wish I had started using this a long time ago since using associations makes life so easy. As you read tutorials, there are many things that are left out. And unless you find…