docker run -d --rm -p 8010:8010 erikvl87/languagetool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please read original blog post for reference: | |
http://blog.process-one.net/embedding-ejabberd-into-an-elixir-phoenix-web-application/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"\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:"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
function error { | |
>&2 echo $1 | |
exit 1 | |
} | |
# set defaults | |
ffmpegParams="-strict -2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
function error { | |
>&2 echo $1 | |
exit 1 | |
} | |
# set defaults | |
ffmpegParams="-strict -2" |
NewerOlder