This file contains hidden or 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
diff --git a/layers/+distributions/spacemacs-bootstrap/packages.el b/layers/+distributions/spacemacs-bootstrap/packages.el | |
index d1b7b5fce..7a073a419 100644 | |
--- a/layers/+distributions/spacemacs-bootstrap/packages.el | |
+++ b/layers/+distributions/spacemacs-bootstrap/packages.el | |
@@ -19,6 +19,7 @@ | |
(diminish :step bootstrap) | |
(evil :step bootstrap) | |
(hydra :step bootstrap) | |
+ (lv :step bootstrap) | |
(use-package :step bootstrap) |
This file contains hidden or 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
hexdump -n 12 -e '1/4 "%08x" 1 "\n"' /dev/random |
This file contains hidden or 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 LoadTester do | |
@table_name :http_results | |
@url "https://example.com" | |
def test() do | |
tab = | |
:ets.new(table_name, [ | |
:set, | |
:named_table, | |
:public, |
This file contains hidden or 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
Operating System: macOS" | |
CPU Information: Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz | |
Number of Available Cores: 8 | |
Available memory: 16 GB | |
Elixir 1.6.4 | |
Erlang 20.3.4 | |
Benchmark suite executing with the following configuration: | |
warmup: 2 s | |
time: 5 s |
This file contains hidden or 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 MyApp.Endpoint do | |
use Phoenix.Endpoint, otp_app: :my_app | |
# ... a bunch of plugs | |
def init(_, config) do | |
port = System.get_env("PORT") | |
http_config = | |
config |
This file contains hidden or 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
[Unit] | |
Description=timber | |
After=network-online.target | |
Requires=network-online.target | |
[Service] | |
User=odin | |
Group=odin | |
WorkingDirectory=/opt/app | |
ExecStart=/opt/app/bin/timber foreground |
This file contains hidden or 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
# This should be at in /var/logrotate.d/timber-agent.conf | |
/var/log/timber-agent.log { | |
missingok | |
notifempty | |
size 100K | |
rotate 2 | |
postrotate | |
service timber-agent restart | |
endscript |
This file contains hidden or 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
rm -r ~/.asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf | |
cd ~/.asdf | |
git checkout v0.3.0 | |
cd ~/ | |
source .bash_profile | |
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git | |
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git | |
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git | |
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring |
This file contains hidden or 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
### | |
# | |
# Installation configuration script for Timber.io's log collection agent | |
# | |
# * Docs: https://timber.io/docs/platforms/aws-elastic-beanstalk | |
# * Support: [email protected] | |
# | |
# To use this file: | |
# | |
# 1. Set the environment variable "TIMBER_API_KEY" using `eb setenv` |
This file contains hidden or 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
** (CompileError) lib/ex_aws/operation/rest_json.ex:36: cannot define module ExAws.Operation.ExAws.Operation.JSON because it is currently being defined in lib/ex_aws/operation/json.ex:38 |
NewerOlder