https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.vault.html#vault-setup
https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.vault.html
> cat app1.rb | |
puts "Immatextyou" | |
> hyperfine -r 10 "ruby app1.rb" | |
Benchmark 1: ruby app1.rb | |
Time (mean ± σ): 160.7 ms ± 13.7 ms [User: 30.1 ms, System: 15.1 ms] | |
Range (min … max): 151.6 ms … 197.6 ms 10 runs | |
WTF????!!! |
set -e SSH_AUTH_SOCK | |
set -gx SSH_AUTH_SOCK ~/.gnupg/S.gpg-agent.ssh | |
set -gx LC_ALL en_US.UTF-8 | |
set -gx LANG en_US.UTF-8 | |
set -x -U GOPATH $HOME/go | |
set -x PATH $PATH $GOPATH/bin |
no-grab | |
enable-ssh-support | |
default-cache-ttl 600 | |
max-cache-ttl 7200 | |
pinentry-program /usr/local/bin/pinentry-mac |
─λ curl -v jabmaster.cz 0 < 14:09:35 | |
* Rebuilt URL to: jabmaster.cz/ | |
* Trying 46.28.109.202... | |
* TCP_NODELAY set | |
* Connected to jabmaster.cz (46.28.109.202) port 80 (#0) | |
> GET / HTTP/1.1 | |
> Host: jabmaster.cz | |
> User-Agent: curl/7.54.0 | |
> Accept: */* | |
> |
─λ curl -v jabmaster.cz 0 < 14:09:35 | |
* Rebuilt URL to: jabmaster.cz/ | |
* Trying 46.28.109.202... | |
* TCP_NODELAY set | |
* Connected to jabmaster.cz (46.28.109.202) port 80 (#0) | |
> GET / HTTP/1.1 | |
> Host: jabmaster.cz | |
> User-Agent: curl/7.54.0 | |
> Accept: */* | |
> |
+------------------------+
| |
| +----------->
| foo<+ |
| | |
+------------------------+
|
|
|
require 'ipaddr' | |
require 'test/unit' | |
class TC_MyTest < Test::Unit::TestCase | |
REGEX_UNDER_QUESTION = %r{172\.(?:[1][6-9]|[2][0-9]|[3][0-1])\.\d+\.\d+} | |
def setup | |
start = IPAddr.new('172.16.0.0') | |
finish = IPAddr.new('172.31.255.255') | |
@ip_range = (start..finish).map(&:to_s) |
require 'ipaddr' | |
require 'test/unit' | |
class TC_MyTest < Test::Unit::TestCase | |
REGEX_UNDER_QUESTION = %r{172\.([1][6-9]|[2][0-9]|[3][0-1])\.\d+\.\d+} | |
def setup | |
start = IPAddr.new('172.16.0.0') | |
finish = IPAddr.new('172.31.255.255') |
require 'ipaddr' | |
require 'test/unit' | |
class TC_MyTest < Test::Unit::TestCase | |
REGEX_UNDER_QUESTION = %r{172\.([1][6-9]|[2][0-9]|[3][0-1])\.\d+\.\d} | |
def setup | |
start = IPAddr.new('172.16.0.0') | |
finish = IPAddr.new('172.31.255.255') |