macOS Sierra 10.12 Upgrade breaks git

Just recently upgraded from OS X Yosemite to macOS Sierra. Ran into a git issue when trying to do anything git related with a remote repo. I would get the following error:

$ git fetch
/Users/YOUR_USERNAME/.ssh/config: line 1: Bad configuration option: useroaming
/Users/YOUR_USERNAME/.ssh/config: terminating, 1 bad configuration options
fatal: Could not read from remote repository.

The issue was caused by a previous configuration value I set for OpenSSH. I had set useroaming no because of this vulnerability.

It is now safe to comment out that config option as the version of Open SSH that ships with macOS Sierra no longer has that vulnerability.

FlexBlox CSS

Found a really nice intro to FlexBox CSS video series. Best part is that it’s free.

mcrypt_encrypt(): Key of size 11 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported

So you just upgraded Laravel and got this error message when trying to view your project? Well it just so happens that its a simple fix. With the new version of Laravel 4.2.* they changed the default encryption type. This means your old key is no longer valid. What we need to do is generate a new key. In the current project directory just run:

php artisan key:generate

It will generate a new key for you and you should be set to go.

iOS8 Set Navigation Bar Colors

Just posting this here as more of a personal reference but, hopefully this will help someone else as well. Basically I was trying to set the title color, nav text colors and the background of the main navigation bar.

// This sets the background color of the navigation
[[UINavigationBarappearance] setBarTintColor:[UIColorcolorWithRed:(32/255.f) green:(152/255.f) blue:(202/255.f) alpha:(1.0f)]];

// This sets the text color of the navigation links
[[UINavigationBarappearance] setTintColor:[UIColorwhiteColor]];

// This sets the title color of the navigation bar
[[UINavigationBarappearance] setTitleTextAttributes:@{NSForegroundColorAttributeName : [UIColorwhiteColor]}];

Here is a quick screenshot of the navigation bar with the above set:

CAUTION: Provisional headers are shown, Chrome on OS X Maverick

I cam across this issue recently when working on a Angular JS app and trying to hit a locally running api.

I was accessing my Angular App at http://developer.domain.local which in turn was hitting a development version of my restful api at https://api.domain.local. This was giving me the “CAUTION: Provisional headers are shown” error when making requests to the API. To solve this I had to run Chrome with web security disabled.

To do this, go to terminal on OSX

open -a Google\ Chrome –args –disable-web-security

Thats it, this should allow you to develop locally. Just remember to completely close the browser once done and reopen when you’re back to your regular web activities.

  • 3 - Z687U7P
  • 4 - PshDIDB
  • 5 - MbBVVqq
  • Rocker Replacement
  • 10 - bRS9zPQ
  • 11 - jTErEK8
  • Rocker Replacement
  • Rocker Replacement
  • Rocker Replacement
  • Rocker Replacement
  • Rocker Replacement
  • 1 - 8cUrNTd
  • 2 - ks0jPrs
  • Rocker Replacement
  • Rocker Replacement

SVT Contour Rocker Panel Replacement

These are some pictures of the process I took when replacing the rocker panels on my 1999 SVT Contour.

Git error on ‘git add’ on OS X 10.8.1

So you get the following error:

error: insufficient permission for adding an object to repository database .git/objects

Something has happened to the .git directory within your repository and the database can not be written to. So to fix this do the following command inside your repo.

sudo chown -R  username:staff .git/

Note: Change username to your OS X username.

Google Maps API v3 – Fit map bounds to all markers

This is a basic example of how to use google maps api v3 to fit a map’s bounds to all of the markers on the map. It’s almost an exact copy from Alexis Bezverkhyy’s site. I basically put this here for my own use, but hopefully it helps you out.

// Lets create our map
function initMap() {

// Setup markers
function initMarkers() {

var map;
var bound = new google.maps.LatLngBounds();
var markers = new Array();

// On dom ready, lets set things up
$(document).ready(function() {

    // Lets loop through the markers and get it's position and extend the bounds of the map
    for(var i in markers) {

    // Now set the bounds for the map

Simple Engine

So one of my pet projects is Simple Engine. Its kind of a cross between wordpress and static html files. It allows you to do nice seo urls and manage a global template, so making changes is not a pain. Anyways check it out, let me know what you think. It’s helped me with several sites big and small.


New site, new year.

Well its a start of a new year. What better way than start it off than a new design. I am slowly working on the design of the site as I have time. So keep checking back for more updates.