Development

44 posts

OS X update causes MAMP MySQL server to not start

A recent Mac OSX Sierra upgrade killed my MAMP! h/t (https://juanfra.me/2013/01/mysql-not-starting-mamp-fix/) This is actually an easy fix.  Just trash your MySQL log files.  Navigate to: /Applications/MAMP/db/mysql{xx}/ and delete the 2 log files here.  (Don’t worry.  MySQL will rebuild them.) They are the files labelled ib_logfile{X} Just move those to the […]

Setting up your mac osx terminal

I recently moved to a new project, which meant joining a new team and getting a new computer. This guide has saved me a ton of time and works well to get my computer to quickly feel as comfortable as an old shoe. This is a terrific guide to pimp […]

WalmartLabs open sources their React scaffolding code

Just a few months after Facebook announced their “Create-React-App” project, WalmartLabs has opened sourced the application platform that runs Walmart.com, Electrode.  So far, it looks like a feature-rich, rapid React development framework, much like Facebook’s project. Both of these projects solve a real problem.  With a single and simple line […]

New Javascript ForEach iterator

Have to start getting used to some iterator syntax.  Here’s how we USED to do it: for (let color in colors) { let colorObj = {}; colorObj.code = colors[color].colorPrdId; colorObj.name = colors[color].colorName; colorObj.imgSwatch = colors[color].imgSwatch; collection.push(colorObj); } Here’s the new way to code the same thing: colors.forEach(function (color) { collection.push({ code: […]