OK, you messed it up, you’ve installed Ubuntu on your Mac running a dual boot with OSX, and accidentally installed the bootloader to the MBR. Well this will render your system useless as Mac’s use EFI and GPTs, rendering MBRs rather useless, outside of its MBR emulation mode that is.
The proper location for installing the GRUB locader in this EFI-based systems has to be on your first Ubuntu partition, not in the whole disk’s MBR segment.
If you try to install GRUB again in the proper location, that’ll will leave another icon of Tux just sitting there in your rEFIt menu. Its a little annoying in my opinion so lets get rid of it.
This howto will explain how to setting up pam-pkcs11 for use the DNI-e (Spanish personal ID) as your auth credential and login into Ubuntu with it.
I will assume that you have setted up your DNI-e. If you are looking for a comprehensive howto about this topic you can find it in the next link: http://www.ubuntu-guia.com/2010/08/dni-e-electronico-ubuntu-instalar.html
So here we go.
This howto tries to clarify all the steps for setting up a Ubuntu Precise box as Continuous Integration server for PHP projects by using Jenkins. In the next days I’ll write another post about how to configure a PHP project inside Jenkins.
So let’s go.
Applying TDD to your PHP code is a big improve in your code as forces you to “think” the code before write it down. A common approach to TDD workflow could be:
- Write your test class
- Write your code that make pass the tests
- Refactor the code
If you take a closer look, between all the steps you MUST run all the tests for possible functionality breaks with every single change in the code, and make it manually could be a little disturbing.
So for this there are tools that helps you track your code for changes and if changed will automatically run a bunch of actions.
If you want to send code patches to your coworkers you don’t need to do strange things with different tools. Git has all the neccesary tools for handling this in a pretty way.
The idea is generate a patch from git and send to your coworker via email. After received the message they can import those messages directly into git.
Let’s see how all this works.