GTUG Stockholm 2015-10-08
Google Technology User Group Stockholm
is a nice tech meetup group in Stockholm hosted monthly (ish) by
. Although Google produces lots of interesting technology, the concept of GTUG Stockholm is much wider than that and focuses a lot on open source development stacks in general.
I've attended the GTUG meetings ever since I moved to Stockholm in 2012 and they've had lots of interesting talks on different applications and hints about software to keep in mind. For example, I was introduced to
by attending the GTUG Meetings.
Last Thursday eve the theme was Docker and
. Docker is a frontend for containerized application which is a interesting way to run applications. It's quite intuitive and fun, but it's not what really impressed me. The new-to-me and cool project from Fidesmo, Nordpol, sounded interesting.
Nordpol is a library to work with Java cards in a modern way.
Java cards are really ubiquitous and are most often uesd as access cards or in credit cards. The Java card technology is widely spread and available for an almost unlimited array of low-energy microchips and Nordpol as a library makes communicating with them a much more using Android a less painful experience.
If you're an Android developer working with an application that could in any way benefit from physical accessories, Nordpol seems to be a really interesting tool for your toolkit.
Calligraphy Assembler for Your Enjoyment
Written 2015-10-14 by Emil Tullstedt
Last week I gave an introduction to
at Uppsala Tech Meetup.
was kind enough to host the event
here at 46elks.
The topic of the talk was web development, and since I had already struggled
quite a bit with OAuth, I sat down and properly read through
to get a better understanding of
the inner workings of OAuth2.
I made the decision to follow the basic "web application"-flow which allows
developers of application to integrate their clients with OAuth2 so that they
may either just make a simple "Sign-in with Google"-button or integrate their
applications with thousands of APIs available with the OAuth2 flow.
My slides for the presentation may be downloaded below if you're speaking
Swedish, or you can just go straight to the resources I used when I wrote
Download slides (swedish)
Written 2015-09-28 12:00 by Emil Tullstedt
For a couple of days, I've sat down with the Twitter API and tried to integrate it with the 46elks API for a self-deployable solution to make a demo of how to make it possible for me to send SMS to Twitter. The result is the Flask based microservice
DIY Install Passer on Heroku
Passer still contains quite a bit of rough edges but deployment to
is as simple as A-B-C. You can clone Passer from
and add it to your Heroku apps by executing the Heroku toolchain command
within the repository.
After you've launched the Heroku instance, you'll need to configure a few environment variables for your application. First, head over to
and create a new app. Within the app, access your consumer key and consumer secret and store them within your Heroku instance's environment variables using
heroku config:set PASSER_TWITTER_KEY=<consumer_key>\
Next head to
the 46elks dashboard
where you'll configure a number to have the
. While you're at the 46elks dashboard, also retrieve your API username and password and insert them into the environment variables with
heroku config:set PASSER_ELKS_KEY=<api_username>\
Now it's just a matter of running
git push heroku
and voilá, you're up and running. Go to
and follow the link to Twitter where you'll authorize the app and copy the digits Twitter instructs you to enter into Passer by running
Congratulations, you should now be able to send a text message to the number you configured and it'll magically appear on your Twitter wall.
Wow, Passer is really not done. It's not even nearly done.
I'd love to actually make this tech demo useful by allowing for persistent OAuth tokens one way or another, but also allowing for you to upload pictures and gifs through MMS. Maybe make it possible for you to get the replies to tweets you've made using Passer?
Have you got any good idea for Passer, feel free to contact me on
or open a pull request/issue at
 Twitter do provide
Twitter over SMS
but it's not available for customers in a lot of countries
 Passer doesn't persistently store OAuth tokens, so you'll have to re-authenticate on every restart of the application
 You can of course deploy Passer to your own server as well using for example uWSGI, but this is sadly not nearly as straight forward
 SE-numbers are €1 a month, but we have this amazing trial-thingy, so you can try Passer without having to spend a krona :D
Written 2015-09-18 12:00 by Emil Tullstedt