Add ports to docker-compose.yml:
- "4369:4369"
- "9001:9001"
- "2022:22"
Add this to Dockerfile:
// Required Plugin: https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension | |
// settings.json | |
{ | |
// Remove left-side icons | |
"workbench.activityBar.location": "hidden", | |
// Remove bottom status bar | |
"workbench.statusBar.visible": false, | |
// Remove position indicator in the editor's scrollbar | |
"editor.hideCursorInOverviewRuler": true, |
export `heroku config \$@ | grep S3_ | sed -e "s/ //g" -e "s/>//g" | tr "\\n" " "`¬ |
Add ports to docker-compose.yml:
- "4369:4369"
- "9001:9001"
- "2022:22"
Add this to Dockerfile:
FROM gitpod/workspace-full | |
USER gitpod | |
# Erlang: https://computingforgeeks.com/how-to-install-latest-erlang-on-ubuntu-linux/ | |
RUN wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
RUN echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
RUN sudo apt-get update && \ | |
sudo apt-get install inotify-tools -y && \ |
defmodule Executable do | |
@moduledoc """ | |
Executables are either commands or queries. | |
They should declare a struct that dictates the shape and defaults of their | |
parameters and a `handle_execute/1` function that takes that struct and does | |
something in response. | |
""" | |
use Behaviour |
Updated instructions for "small tweaks to the Hypothesis client" outlined in Notes for an annotation SDK.
browser-extension/gulpfile.js
adding const IS_PRODUCTION_BUILD = false
. This turns off
minification so it’s possible to read and debug the client code.client
and browser-extension
repos (see more details inA port of a cheat sheet authored by Hafiz Ismail.
defmodule MyApp.Schema do
use Absinthe.Schema
➜ git:(master) asdf install python 3.8.1 | |
python-build 3.8.1 /Users/nicholas/.asdf/installs/python/3.8.1 | |
python-build: use openssl@1.1 from homebrew | |
python-build: use readline from homebrew | |
Downloading Python-3.8.1.tar.xz... | |
-> https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz | |
Installing Python-3.8.1... | |
python-build: use readline from homebrew | |
python-build: use zlib from xcode sdk |
## PayRoll gem | |
# lib/pay_roll.rb | |
module PayRoll | |
class << self | |
attr_accessor :employee_directory | |
def config | |
yield self | |
end | |
end |