Written by Simon Ström as a way to remember. It's a dev log of thinks I want to remember.
Apple and Google provide a way to deep link into the application via a normal web url, call Universal links and Applink respectively. It is…
We can always extend classes in Ruby. Both predefined and classes we create ourself. We say that classes are always open . If you want to…
Adding support for drafts in Gatsby. I started out with a blog starter for Gatsby. Pretty handy. Easy to get started. But it felt like magic…
I got a new job and here our main platform is iOS. Im a web developer so this should be interesting. Will try to document what and how I…
Started a gatsby blog. Will migrate old blog posts here later.
We will setup a small cluster of 3 n1-standard-1 instances. They cost around $25 per month. So the cluster will cost you somewhere above $7…
Tag tests as tests that require network, and only run them when needed. We do this to speed up that test suite. Ideally you should not rely…
Working with our application and writing all those needed tests are great in the beginning of the project when everything is simple. Writing…
In an old post I talked about tags in elixir and how we could use them to fake grouping of tests. See Elixir testing - Tag tests in…
I was playing around with a small phoenix app and wanted to embed some data in the model instead of of having an additional table. I want…
A simple Phoenix authentication flow for an JSON api. Using JSON Web Tokens via Joken and Mellon for access controller. The basics…
Often data displayed to the user doesn’t change that often. And when that is the case caching is vital. Not only so your site doesn’t make…
Elixir and Process In Erlang and Elixir we talk about process the way you would talk about threads in some other language. They are not…
If you want to build a web service with Elixir, you are probably using some framework such as Phoenix . And that is all fine. You probably…
To learn something I often need an entire project. It’s not very nice to just read docs, and APIs etc. We all need to code. So this is me…
Elm is a functional front end language that compiles down to javascript. It looks neat so let’s start from scratch by building something…
Using a javascript front end framework is very nice. You might start with tools like Yeoman for scaffolding out everything you need. However…
What will we do? We will create a simple react/flux application using yeoman. Then we will install Bourbon and Neat and configure gulp to…
Amazon has great products, and S3 is definitely one great product. However, the administration console is confusing at best. You can do…
Logging in JBOSS. Let us setup some logging rules for JBoss. We want our log to be split between two files. A server.log that contains…
The problem We have a large legacy project that we are converting from an ant build to maven and from SunAS to JBOSS. We had some problems…
A simple way to add a Map to your webapplication. This example uses a directive in which we pass two paramters: city and address. To include…
While developing an application I often have to test, and use the email feature. Either I register and use my normal email, or a dump…
Scope tests in ExUnit to reduce code duplication and have cleaner code. Update July 2016! This blog post is old, and things change. ExUnit…
I tried to deploy a sample Phoenix application to Heroku so I read some blogposts about it etc. Didn’t get it to work. There were…