Steps
Install LanguageTool Docker container
docker run -d --rm -p 8010:8010 erikvl87/languagetool
docker run -d --rm -p 8010:8010 erikvl87/languagetool
Please read original blog post for reference: | |
http://blog.process-one.net/embedding-ejabberd-into-an-elixir-phoenix-web-application/ |
sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
{ | |
"\UF729" = moveToBeginningOfParagraph:; // home | |
"\UF72B" = moveToEndOfParagraph:; // end | |
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home | |
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end | |
// Emacs keybindings | |
"^ " = "setMark:"; | |
"~d" = "deleteWordForward:"; | |
"~w" = "copy:"; /* M-w */ | |
"^w" = "deleteWordBackward:"; |
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "", | |
"region": "us-east-1" | |
}, | |
"builders": [ | |
{ | |
"access_key": "{{user `aws_access_key`}}", | |
"ami_name": "packer-linux-janus-{{timestamp}}", |
## VSCode Setup
I use following extensions
1. Ruby
2. Ruby Solargraph
2. VTools
2. Rails Run Specs
3. Rails Go to Spec
4. Local History
5. GitLens
defmodule Worker1 do | |
def start_link() do | |
Task.start_link(fn -> | |
Stream.repeatedly(fn -> :rand.uniform(1000) end) | |
|> Stream.each(&:timer.sleep/1) | |
|> Stream.each(fn _ -> IO.puts("worker 1") end) | |
|> Stream.run() | |
end) | |
end | |
end |
#!/bin/bash | |
set -e | |
function error { | |
>&2 echo $1 | |
exit 1 | |
} | |
# set defaults | |
ffmpegParams="-strict -2" |
#!/bin/bash | |
set -e | |
function error { | |
>&2 echo $1 | |
exit 1 | |
} | |
# set defaults | |
ffmpegParams="-strict -2" |