Getting the share count of a URL

At work I’m working on a project in which we need to track the share count of a URL. Below are my quick notes. In all examples I’m getting the share count of https://www.facebook.com/. Note that I’m using the jq notation to extract the actual result from the response. Just GET it Facebook Request: curl …

Gone Hybrid

A website that I’ve found to be very helpful whilst diving into creating Hybrid Apps (be it with or without Ionic) is Gone Hybrid, containing quite a few helpful articles to get you kickstarted on a few specific things such as adding audio effects, animations, etc. Gone Hybrid | Start Developing Hybrid Mobile Apps With …

Vibrant.js – Extract prominent colors from an image

Usage is simple: var vibrant = new Vibrant(img); var swatches = vibrant.swatches() for (var swatch in swatches) if (swatches.hasOwnProperty(swatch) && swatches[swatch]) console.log(swatch, swatches[swatch].getHex()) Works by reading in the image, placing it onto a <canvas> element, and then getting all pixel information from that canvas. Vibrant.js →

Mobile Continuous Delivery with a DevOps Mindset

Talk my colleague Patrick Debois gave at Velocityconf 2015. It touches a few of the same things I talked about in From Idea to App (or “How we roll at Small Town Heroes”) in a deeper way, along with a truckload of more information on how we do things at Small Town Heroes. This presentation …

Carbon – A simple PHP API extension for DateTime.

$carbon = new Carbon(‘first day of next week’); if ($carbon->isWeekend()) { echo ‘Party!’; } echo $carbon->addYear()->diffForHumans(); // ‘in 1 year’ Carbon is just a class which is designed to be used instead of DateTime. Due to extending DateTime, all DateTime methods are available to users of Carbon. Additionally, it implements a __toString method, allowing users …

Building a passion driven life

Having gone through quite a lot of changes on a personal level during the past two years, this quote by Jen Sutherland-Miller – taken from her blogpost F*ck Work-Life Balance – struck me as it’s exactly what I’ve been doing the last year: I gave myself permission to say, “Yes,” to the things that inspire …