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
#!/bin/bash | |
echo hello world4 |
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
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/560E62F6_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deu/B9B943B1_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/87B09A2C_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/C3E33EFC_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/6D68309E_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deu/37F7B324_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/6B6F3722_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/83A3BDB8_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschkurse/topthema/6AAB51B1_2_dwdownload.mp3 | |
https://radiodownloaddw-a.akamaihd.net/Events/dwelle/dira/mp3/deutschk |
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
# Usage: | |
# heat -v stack-create $YOUR_STACK_NAME \ | |
# --template-file /path/to/grafana.template \ | |
# -P rax_tenant=$RAX_TENANT_ID \ | |
# -P rax_username=$RAX_USER_NAME \ | |
# -P rax_apikey=$RAX_API_KEY | |
# -P host_name=$WHAT_YOU_WANT_TO_CALL_IT | |
# | |
# What to expect: |
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
# Usage: | |
# heat -v stack-create $YOUR_STACK_NAME \ | |
# --template-file /path/to/grafana.template \ | |
# -P rax_tenant=$RAX_TENANT_ID \ | |
# -P rax_username=$RAX_USER_NAME \ | |
# -P rax_apikey=$RAX_API_KEY | |
# -P host_name=$WHAT_YOU_WANT_TO_CALL_IT | |
# | |
# What to expect: |
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
I'm saying that this will work: | |
(let [index x service-threshold y] (load-stream threshold-stream)) | |
but this won't: | |
(let [index x service-threshold2 y] (load-stream threshold-stream)) | |
because the name is wrong in the let |
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
if I have: | |
(defn g1 [e] | |
(prn "foo" e)) | |
in my config, start rieman, change it to | |
(defn g1 [e] | |
(prn "bar" e)), | |
and reload, will (g1) subsequently print "bar"? |
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
(deftest flap-event-generation | |
(is (= (:flap-event | |
(inject! (map #(merge {:service "a" :host "a"} %) | |
[{:state "ok", :time 1} | |
{:state "ok", :time 10} | |
{:state "critical", :time 20} | |
{:state "ok", :time 30} | |
{:state "ok", :time 40} | |
{:state "critical", :time 140} | |
{:state "ok", :time 240} |
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
Pull down the george/add_test_infrastructure branch and checkit out. | |
Then setup BASE_DIR to point to the superdirectory of blueflood-chef, and copy the jar files staging there: | |
export BASE_DIR=/Users/georgej/incoming | |
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-acknowledge.jar $BASE_DIR | |
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-extra.jar $BASE_DIR | |
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann-starter-0.1.0-SNAPSHOT.jar $BASE_DIR | |
scp monitor00.iad.stage.bf.k1k.me:/opt/riemann/lib/riemann.jar $BASE_DIR |
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
user> (require 'gbj1) | |
gbj2 | |
gbj1 | |
nil | |
user> (gbj1/a) | |
:a | |
user> (gbj1/b) | |
:b | |
user> (gbj1/c) | |
:c |
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
(defmacro remote-declare [name] | |
"declares the supplied ns-qualified name with no bindings, useful for creating circular dependencies" | |
(let [[ns v] (.split (str name) "/") | |
orig-ns (str *ns*)] | |
`(do (in-ns '~(symbol ns)) | |
(clojure.core/declare ~(symbol v)) | |
(in-ns '~(symbol orig-ns))))) | |
user> (remote-declare tmp8/a) | |
#<Namespace user> |
NewerOlder