There is an issue with openssl < 3.0 and most versions of Erlang
To fix, install openssl into some directory
cd /usr/local/src
sudo mkdir openssl
sudo chown username:staff openssl
cd openssl
git clone https://github.com/openssl/openssl.gitThere is an issue with openssl < 3.0 and most versions of Erlang
To fix, install openssl into some directory
cd /usr/local/src
sudo mkdir openssl
sudo chown username:staff openssl
cd openssl
git clone https://github.com/openssl/openssl.git| ExUnit.start(auto_run: false) | |
| defmodule CalculatorTest do | |
| use ExUnit.Case, async: false | |
| describe "Testing the addition function" do | |
| test "2 plus 3 is 5" do | |
| assert 2 + 2 == 5 | |
| end | |
| end | |
| end |
| defmodule MyApp.Search.SolrClient do | |
| require Logger | |
| def url, do: Application.get_env(:my_app, :solr)[:url] | |
| def select_url(url), do: "#{url}/select" | |
| def update_url(url), do: "#{url}/update" | |
| def update_json_url(url), do: "#{url}/update/json/docs" | |
| def select(params) when is_list(params) do |
The goal of the podcast is to help people find ways to get better clients, and to get more of them (more, better clients?).
| FROM elixir:latest | |
| RUN apt-get update && \ | |
| apt-get install -y python rsync | |
| RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ | |
| && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ | |
| && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ | |
| && apt update \ | |
| && apt install -y nodejs yarn |
| version: "3" | |
| services: | |
| influxdb: | |
| image: influxdb:latest | |
| ports: | |
| - "127.0.0.1:8083:8083" | |
| - "127.0.0.1:8086:8086" | |
| - "127.0.0.1:8090:8090" | |
| env_file: | |
| - "env.influxdb" |
| { | |
| "route": { | |
| "weight_name": "routability", | |
| "legs": [ | |
| { | |
| "summary": "S5, S33", | |
| "steps": [ | |
| { | |
| "intersections": [ | |
| { |
| #!/bin/bash | |
| # Run like | |
| # $ curl https://gist.githubusercontent.com/mraaroncruz/a3c19e4b901846bea872e5f24e617d55/raw/2948b92e094215542c9679a9384694c5c6e5e9dd/install_docker_and_compose.bash | bash | |
| set -e | |
| setup () { | |
| ### Update the apt package index: | |
| sudo apt update |