Chunking an array in JavaScript

By Josh Sherman
1 min read
development
javascript

Recently I was working with some data coming out of a Redis pipeline and I wanted to take the data and split it up into an array of X items per key. I was working with PHP, this wouldn’t have been a big deal, just use array_chunk and get on […]

The Distrohopper, or There and Back Again

By Josh Sherman
3 min read
linux
debian
arch linux

In a town in East Texas there lived a distrohopper… To catch you up, I’m a Linux user from the mid-1990s that was hot for Slackware had a brief affair with Gentoo on an iBook before settling into the ease of Ubuntu. Then I took a tragic detour into the […]

How to !important inline styles in React

By Josh Sherman
1 min read
development
reactjs
css

If you’ve ever used Bootstrap, you probably know that it’s pretty aggressive in it’s use of !important in it’s styles. At CrowdSync we love Bootstrap, having ditched Foundation for it, but the overzealous approach to !important does get in our way sometimes. Similar to our post earlier in the week, […]