#FOR MULTIPLE REDIS INSTANCE INSTALLATION ON RHEL7+ USE THE FOLLOWING PATHS AND SETUP PROCESS:
- create a new redis .conf file
$ cp /etc/redis.conf /etc/redis-xxx.conf
- edit /etc/redis-xxx.conf, illustrated as below
#!/usr/bin/env ruby | |
require 'ruby-jmeter' | |
test do | |
defaults domain: 'beta.stevegrossi.com' | |
cookies clear_each_iteration: true |
#FOR MULTIPLE REDIS INSTANCE INSTALLATION ON RHEL7+ USE THE FOLLOWING PATHS AND SETUP PROCESS:
$ cp /etc/redis.conf /etc/redis-xxx.conf
create table deps_saved_ddl | |
( | |
deps_id serial primary key, | |
deps_view_schema varchar(255), | |
deps_view_name varchar(255), | |
deps_ddl_to_run text | |
); | |
create or replace function deps_save_and_drop_dependencies(p_view_schema varchar, p_view_name varchar) returns void as | |
$$ |
(defn combinations [lst k] | |
(letfn [(combinator [x xs] | |
(if (= (count x) k) | |
[x] | |
(when (not (empty? xs)) | |
(concat (combinator (concat x [(first xs)]) (rest xs)) | |
(combinator x (rest xs))))))] | |
(combinator nil lst))) | |
;; user> (combinations (range 1 6) 2) |