Category: Scripts

  • My family uses Slack. It’s pretty interesting.

    My family uses Slack. It’s pretty interesting.

    Everything changed for the better when we started using slack at work. We’ve made countless custom integrations; doorbells, intercoms, travel cards, reddit, lunch menues, git hooks, server monitoring, you name it – we haz it. My family has been using Google Calendar for a few years. Me and my wife used to think that we…

  • How to make a wind chime door bell

    How to make a wind chime door bell

    Our doorbell was already connected to the Internet via an Arduino, but we couldn’t stand the sound it made. We needed a warmer sound, a sound that didn’t make us want to kill the doorbell users (mostly clients). Step 1: Buy an old Wind Chime, preferably with a coconut base (because awesome). Step 2: Pick up a…

  • Let Slack nag you that it’s time to return that commuter pass

    Another week, and yet another Slack integration here at Earth People. This time we’ve added an integration to the public transport system here in Stockholm. At Earth People we like to use public transportation when going to meetings with clients. That’s why we have bought a couple of commuter passes that we can use whenever we…

  • Relaying push notifications to your own API

    We recently made a campaign for Loka mineral water, where users together reveal the new flavors. This is done by using Snapchat. We send users snaps containing puzzle pieces, and when they make a screen grab of a specific piece – we put that piece in the puzzle on the website. Because of legal reasons…

  • automated screendump creation

    i recently had to create jpg thumbs of the first frame from a bunch of videos. doing this manually is not really an option if you have 100 files or more, so commandline to the rescue. i had an ubuntu box, on which i installed ffmpeg: sudo apt-get install ffmpeg then cd into the directory…

  • html5 validation with(!) facebook opengraph

    html5 is that new, cool(?) technology which you should(?) be using when making new sites. but, being the thorough developer you are – it just eats you up from the inside when your brand new html5 website won’t validate because your client decided to add a facebook like button. the facebook open graph protocol/namespace/api/whatever which…

  • Getting stats from the Facebook Like button your way

    So you’ve implemented the Facebook Like button, and you’d like to know – programmatically – what your users Like on your site. This is a bit of a pain, since there’s nothing in the Facebook Open Graph for this. There’s some stuff in the insights api, but it’s not really usable if you’d like to…

  • php class for ffmpeg

    i’ve had a few projects over the last years where i’ve needed to convert some video file to flv, generate a thumbnail and get the video’s duration. i’ve never really got around to wrapping this into something reusable. but here it is, get it if you need it. you’ll also need a non-windows server with…

  • search for artist from iTunes

    So, say you got this one great track in iTunes, and you want to look for more music from the same artist. Here’s a simple little script that can ease things up a bit. Download it This script makes a Amazon search in Firefox for the artist, but as you’re guessing you can make it…