Month: September 2015

  • Cleanflight on Mac OSX

    If you’re having problems getting cleanflight to recognise your Naze board and you’re on a Mac, do the following:

    1. Using USB to connect to the Naze32 requires the installation of the SiLabs CP2102 VCP Drivers. The drivers are available for download directly from theĀ SiLabs Website
    2. Force the serial connection to be recognized by running the following line at the command terminal: sudo ln -s /dev/tty.SLAB_USBtoUART /dev/tty.usbserial
    3. Fire up Cleanflight!
  • Drupal: How to apply the img-responsive class to all images in your bootstrap subtheme

    UPDATE: This is now included by default and should not be used.

    In your subtheme’s template.php file, add the following:

    function YOURTHEMENAME_preprocess_image(&$vars)
    {
        $vars['attributes']['class'][] = 'img-responsive';
        // http://getbootstrap.com/css/#overview-responsive-images
    }