https://stackoverflow.com/a/750191/1066790
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='Newname'; GIT_AUTHOR_EMAIL='new@email'; GIT_COMMITTER_NAME='Newname'; GIT_COMMITTER_EMAIL='new@email';" HEAD
// 2>/dev/null;/usr/bin/env go run $0 $@; exit $? | |
// Found at https://gist.github.com/posener/73ffd326d88483df6b1cb66e8ed1e0bd | |
package main | |
import "fmt" | |
// You can run the script with one of two ways | |
// 1. chmod +x test-script.go && ./test-script.go | |
// 2. go run test-script.go |
curl -s “https://get.sdkman.io" | bash
sdk install kotlin
sdk install kscript
// Option 1 | |
async function streamToString(stream: NodeJS.ReadableStream): Promise<string> { | |
const chunks: Array<any> = []; | |
for await (let chunk of stream) { | |
chunks.push(chunk) | |
} | |
const buffer = Buffer.concat(chunks); | |
return buffer.toString("utf-8") | |
} |
timestamp | message | |
---|---|---|
1643482975156 | 2022/01/29 19:02:55.012950 [INFO] Starting... | |
1643482975156 | 2022/01/29 19:02:55.013002 [INFO] Starting EBPlatform-PlatformEngine | |
1643482975156 | 2022/01/29 19:02:55.013018 [INFO] reading event message file | |
1643482975156 | 2022/01/29 19:02:55.013572 [INFO] no eb envtier info file found, skip loading env tier info. | |
1643482975156 | 2022/01/29 19:02:55.013765 [INFO] Engine received EB command cfn-hup-exec | |
1643482975910 | 2022/01/29 19:02:55.101565 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-west-1:<redacted>:stack/awseb-e-234tsz8zsf-stack/59ba6f50-812b-11ec-89c0-0227d013ec45 -r AWSEBAutoScalingGroup --region eu-west-1 | |
1643482976410 | 2022/01/29 19:02:55.677999 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-west-1:<redacted>:stack/awseb-e-234tsz8zsf-stack/59ba6f50-812b-11ec-89c0-0227d013ec45 -r AWSEBBeanstalkMetadata --region eu-west-1 | |
1643482976410 | 2022/01/29 19:02:56.245445 [INFO] checking wh |
2022-01-29T19:44:43.080 runner[121033e8] lhr [info] Shutting down virtual machine | |
2022-01-29T19:44:43.215 app[121033e8] lhr [info] Sending signal SIGINT to main child process w/ PID 518 | |
2022-01-29T19:44:43.218 app[121033e8] lhr [info] Main child exited with signal (with signal 'SIGINT', core dumped? false) | |
2022-01-29T19:44:43.219 app[121033e8] lhr [info] Starting clean up. | |
2022-01-29T19:44:43.234 app[121033e8] lhr [info] Umounting /dev/vdc from /db | |
2022-01-29T19:44:47.326 runner[16cd4003] lhr [info] Starting instance | |
2022-01-29T19:44:47.367 runner[16cd4003] lhr [info] Configuring virtual machine | |
2022-01-29T19:44:47.369 runner[16cd4003] lhr [info] Pulling container image | |
2022-01-29T19:44:49.319 runner[16cd4003] lhr [info] Unpacking image | |
2022-01-29T19:44:50.514 runner[16cd4003] lhr [info] Preparing kernel init |
################################################################################################### | |
#### Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
#### | |
#### Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file | |
#### except in compliance with the License. A copy of the License is located at | |
#### | |
#### http://aws.amazon.com/apache2.0/ | |
#### | |
#### or in the "license" file accompanying this file. This file is distributed on an "AS IS" | |
#### BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |