- Use Logentries to create a manual
Token TCP
log set. - Change $token to match your new log
- Put the function at the top of your PS script
- Call $le.Log() any time you need output.
- Use the log entries
Live Tail
feature. It's not always immediate, give it up to a couple of minutes for your entries to appear. - Until there is some logging in your log set, it may take even longer to see your first log entry. Prime the log if you can, by outputting something to it immediately. Run the script with the included
Hello!
to start this process.
- To create a directed graph of all dependencies and dependent elements in Go Lang Projects
- To present this graph in Structure 101, a great tool for finding dependency hell.
- Found the func!
- Traversed the Syntax tree of Golang to find declaration elements
- Parsed all the packages in a Golang package spec. (such as ./...)
- Discovered the best structure for visualising dependency nesting in GoLang
- In gocd repo
./scripts/jump
- target concourse bosh
bosh target 10.0.52.6
- [D] github.com
- [D] squeedee
- [D] flavor
- [D] parser
- [P] parser
- [S] ParserContext
- [I] Parser
- [I] Parsable
- [P] parser_ext
- [P] parser
- [D] parser
- [D] flavor
- [D] squeedee
- [I] ExtendableParser
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
--- | |
services: | |
- acceptance-db | |
env: | |
RAILS_ENV: acceptance | |
application-types: | |
web: &WEB | |
mem: 2G | |
disk: 2G |
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 | |
VARNAMES=(FRED BOB) | |
VARVALS=('foo' 'bar') | |
index=0; | |
for name in ${VARNAMES[@]}; do | |
echo $index |
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
git credential-cache exit | |
open https://help.github.com/articles/updating-credentials-from-the-osx-keychain/ | |
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
blah |
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
(ns mapper.util.diff | |
(:require [mapper.util :refer :all] | |
[mapper.core :refer :all])) | |
(defn diff [[width height] map-a map-b] | |
"A utility for testing map equality. Compares map-a and map-b elementwise and returns true if they're the same. | |
E.g.: diff [2 2] '(:a :b :c :d) '(:a :b :c :z) => '(true true true false)" | |
(let [map-a-coll (map-as-list [width height] map-a) | |
map-b-coll (map-as-list [width height] map-b)] | |
(map = map-a-coll map-b-coll))) |