Bootstrap 3 and IE8 support

Even though its a small amount of the global traffic some applications (especially in the financial worlds) need to support IE8 due to the user base.

There is some push and pull on this, but sometimes you can’t force someone to do something good for themselves.

But you still need to work with them. So what do you do?

After some searching, I found this with the shim answer (below) combined with the standard bootstrap suggested ie-edge tag.

<meta http-equiv="X-UA-Compatible" content="IE=edge">

[Make Bootstrap IE8 compatible](https://teamtreehouse.com/forum/how-can-i-make-bootstrap-3-compatible-with-ie8″>Make Bootstrap IE8 compatible)

You definitely need to know your user base before making decisions on technology. Don’t just look at analytics data on the % but also what will it take to make it work and whats the value of that 3% of customers.

Even a small user base could be the difference on being in the red or black (in either direction of “support”).

With tools like the shim, it makes the decision easier to at least make the site respond and function 80% of the way.

Keeping clean coding and testing code on the older browsers could be the difference of a few lines of code and still supporting some legacy browsers and making a happy customer.
Continue reading Bootstrap 3 and IE8 support

Bash – Passing associative arrays to function

After finding out you can’t pass an associative array normally in bash. I found a tutorials that showed me how to basically serializes and expand it back but it lost the keys so it wouldn’t work for what I needed.

I did a little more looking and found this link that passes things as a reference. It has no vote because it doesn’t fully answer the persons question but it perfectly worked for me.

http://stackoverflow.com/questions/1063347/passing-arrays-as-parameters-in-bash/29379084#29379084

Continue reading Bash – Passing associative arrays to function

Mac OS X Bash – upgrade

Usually the bash on mac is good enough. But I’ve recently been making some more complicated shell scripts and found out associative arrays and using key to get values wasn’t working at all. So here is how to upgrade.

http://apple.stackexchange.com/questions/24632/is-it-safe-to-upgrade-bash-via-homebrew

Here is some bash array examples:

Bash associative array examples

Continue reading Mac OS X Bash – upgrade