This HowTo should apply to all environments, with the proviso that added steps are needed for production.
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
fn generate_csv(log: String) -> Vec<String> { | |
let mut log_lines: Vec<&str> = log.split("- -").collect(); | |
for line in log_lines { | |
match parse_log_into_csv(line.to_string()) { | |
Ok(csv_line) => { | |
println!("{}", csv_line); | |
} | |
Err(err) => { | |
println!("Malformed!"); |
This HowTo should apply to all environments, with the proviso that added steps are needed for production.
- Begin at the tcog (Bamboo dashboard)[http://bamboo.news.com.au/browse/NEWSTECH-TCOG].
- In the top left of the screen, select the branch you wish to build from the dropdown.
- You will now see the build history. Bamboo automatically builds each branch but let's create a new build.
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
♪ tcog git:(feature/one-redis-abstraction) ✗ NODE_ENV=regression mocha test/_test.global.js ./test/integration/app-cache-invalidation-endpoint_spec.js | |
Cache Invalidation | |
1 | |
article invalidation | |
[GET] http://api.newsapi.com.au/content/v2/methode/8949faa1675bc73d230a3e5ea2e51c5d?api_key=ttbayy2pngchv75egary59su&bustTime=0&cacheSkip=true&domain=&html=full%2Call&includeDraft=false&includeDynamicMetadata=true&includeRelated=true&maxRelatedLevel=2 | |
Looking locally for /Users/nicholasf/code/news/tcog/test/fixtures/proxy/api.newsapi.com.au/f2672abd157ce28af6b123c42b9c4917.json | |
Found locally. Serving... | |
1) Correctly invalidates cache & deletes for previously requested http resource, naturally |
You will need:
- As much brisket as you want (2 kilos should be enough for one meal for 3 to 4 people).
- Olive oil
- 1 sprig of rosemary
- Garlic
- Soy sauce
- Pepper
- 1 onion
You will need:
- As much brisket as you want (2 kilos should be enough for one meal for 3 to 4 people).
- Olive oil
- Rosemary
- Garlic
- Soy sauce
- Pepper
- 1 onion
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:(feature/account-preferences) ✗ mocha test/unit/services/accounts | |
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated | |
(node) and will stop working in the next major release. | |
==== JS stack trace ========================================= | |
Security context: 0x32d246ec9fa9 <JS Object>#0# | |
1: .node [module.js:568] [pc=0x27dee2ba11e4] (this=0x22cdf96e4641 <an Object with map 0x2416ece17be1>#1#,module=0x1060d2e19 <a Module with map 0x2416ece181b9>#2#,filename=0x1060d2df1 <String[131]: /Users/nicholasf/code/acme/api-service-push-notifications/node_modules/dtrace-provider/build/Release/DTraceProviderBindings.node>) |
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
export FOO=["1","2"] | |
export FAN=["\"1 2\"","3",4] | |
export OBJ="{ \"one\": 1 }" |
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
mkdir -p "/var/lib/buildkite-agent/builds/buildkite0-1/homepass/firebase-queues" | |
$ cd "/var/lib/buildkite-agent/builds/buildkite0-1/homepass/firebase-queues" | |
$ git clean -fdq | |
$ git submodule foreach --recursive git clean -fdq | |
$ git fetch -q | |
debug2: ssh_connect: needpriv 0 | |
debug1: Connecting to github.com [192.30.252.131] port 22. | |
debug1: Connection established. | |
debug3: Incorrect RSA1 identifier | |
debug3: Could not load "/var/lib/buildkite-agent/.ssh/id_rsa" as a RSA1 public key |