Author: earthpeople

  • 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…

  • Integrera Swish i egna tjänster

    Integrera Swish i egna tjänster

    I’ll write this in Swedish because it only applies to Swedes. Swish är ju en väldigt lyckad tjänst. Den har, liksom t.ex. Uber, förändrat ett beteende. Över 2 millioner svenskar använder appen. Självklart borde man göra något smart på Internet med detta, nu när nästan hela Sverige har appen i fickan. Dock har Swish inget publikt API,…

  • Why doesn’t all my Instagram embeds in WordPress look the same?

    Well, Instagram changed the response on their Oembed service sometime in December 2014. And WordPress caches all oembed lookups the first time they’re displayed. This means that all of your little blog posts which had an Instagram image or video (and more than 1 pageview) before December 2014 will look different than all your new posts.…

  • An API for Faking Swedish user details

    Lorem Ipsum is great for generating place holder texts, and Placehold.it (and our own Place-A-Pet!) does the same job for images. Sometimes though, you need to create fake Swedish users. Say you want to generate dummy comments or fake forum users. What to do? I just created a little webservice for this. Get a HTML-table by going…

  • Let Slack tell you what songs are currently playing in the office

    At Earth People, there’s always music in the air (and the birds sing a pretty song). Most of the stuff we play is fairly unknown to most of us, and in many cases only played once, ever. To get rid of all the “Hey what’s this song”-chatter or Slack, I made a litte script which we…

  • Making headless screengrabs without PhantomJS

    Ok this can be done with PhantomJS and it is probably better/simpler/etc. But if you, for any reason, can’t use PhantomJS to make screengrabs, here’s an over complicated alternative we came up with. wkhtmltopdf is an easy way of making screengrabs of webpage: $ wkhtmltopdf “http://google.com” googlescreendump.pdf Most package managers (at least Rpm and Aptitude) has it,…

  • Slack integrations so far; deploys, doorbells, reddit and lunch menus

    On Earth People, we recently fell in love with Slack (Oh yes that’s an affiliate link that will give us both 100 dollar credit). It got us off Skype (which we didn’t really love anyway) and on to something that felt fresh. What really got us hooked was all the integrations we could do. Here’s…

  • 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…

  • Making car sound with web audio synthesis

    Making car sound with web audio synthesis

    We’ve fooled around with web audio synthesizers before, but never in a situation where mp3s would not also do the job. But in our recent Red Bull Racing game it really made sense to use a synth. The throttling sound is of course what it’s about. You want the speed of the car to control…

  • Chrome extension based campaign

    Last year, our friends at TBWA\ asked us to create a Chrome extension for their client Adressändring. Adressändring’s services are normally used to forward mail when moving to a new place, and now they wanted to reach a younger demographic. This Chrome extension forwards a user’s social life by taking over banner space, much like…

  • Asynchronous game in real time

    Asynchronous game in real time

    We made a game, a mobile racing game for Red Bull. Sort of in the trails of Chrome Racer, but even more fun we think. We used some cool stuff that we’ve written about here before – html5 audio, multiplayer gaming with websockets and node.js, but also stuff that was new to us, the vector…

  • SXSW lineup helper

    We’re going to Austin again in March, for SXSW. It’s beyond great when it comes to live music. And tacos. But their official schedule is impossible to use due to the shear amount of gigs. Two years ago we created a little tool for ourselves and our friends called LASTSX.WS which mashed the lineup with…