Kitchen converge usually takes a lot of time to complete. Sometimes I leave it running and forget about it, so I created aliases that notify me when kitchen has finished.
Resilience means the capacity to recover quickly from difficulties. Circuit breaker pattern is a good practice for resilience.
Go interfaces If you come from a C# background, you will find Go Interfaces like entities from another planet. My recommendation is to think about the interface in the literal sense, regardless of the programming language constructs.
I came up with this list to better describe Go interfaces:
Go has no classes. Let that sink in a little bit; in C#/Java an interface is almost always attached to an implementor class.
In this post you’re going to learn how to setup a simple console application in .Net core that talks to Postgresql.
This application will run on Ubuntu 14.04 using Vagrant.
I’m using iTerminal on macOS
Index Setting up Vagrant box. Setting up Postgresql. Creating .Net core console application. Adding Dapper and Npgsql Connecting to Database and persisting data. Setting up Vagrant box Create a new directory for our project:
If you tried to install httpoison and when you run mix deps.compile or mix you get:
** (Mix) Could not compile dependency idna, /home/vagrant/.mix/rebar command failed. If you want to recompile this dependency, please run: mix deps.compile idna You can fix this issue by increasing the available memory on your Vagrant file to 1GB:
config.vm.provider "virtualbox" do |vb| vb.memory = "1024" end Run vagrant reload in your command line after making this change.
I don’t like polluting my environment with new languages. In this post I will describe all the steps I had to take to setup my Elixir environment using Vagrant.
For this post I will assume you already have Vagrant installed in you dev environment.
Let’s start creating a new directoy which will have:
Vagrant file src/ directory synced with Vagrant Bootstrap file which will install Erlang and Elixir. > mkdir jumpstart > cd jumpstart Then we create an empty Vagrant file:
- OLDER POSTS
- page 1 of 2