First identify your image.
$ docker ps --format "{{.ID}}: {{.Image}} {{.Names}}"
3d2fb2ab2ca5: jenkins-docker jenkins-docker_1Then login into the image as root.
$ docker container exec -u 0 -it jenkins-docker_1 /bin/bash| <?php | |
| $_perf = (static function (): \Closure { | |
| $last = $start = microtime(true); | |
| return static function (string $label) use (&$last, $start): void { | |
| $now = microtime(true); | |
| error_log(sprintf('[perf] %-28s %6.3fs (total %6.3fs)', $label . ':', $now - $last, $now - $start)); | |
| $last = $now; | |
| }; | |
| })(); |
First identify your image.
$ docker ps --format "{{.ID}}: {{.Image}} {{.Names}}"
3d2fb2ab2ca5: jenkins-docker jenkins-docker_1Then login into the image as root.
$ docker container exec -u 0 -it jenkins-docker_1 /bin/bash| #!/bin/sh | |
| git filter-branch --env-filter ' | |
| OLD_EMAIL="mail@example.com" | |
| CORRECT_NAME="Your Name" | |
| CORRECT_EMAIL="mail@example.com" | |
| if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
| then | |
| export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
| export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" |
{
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.fontWeight": "600",
| const jose = require('jose'); | |
| const fs = require('fs'); | |
| const path = require("path"); | |
| // project | |
| // ├── src | |
| // │ └── app.js | |
| // ├── package.json | |
| // └── privatekey.pub | |
| // └── publickey.cer |
| # [<tag>] (If applied, this commit will...) <subject> (Max 72 char) | |
| # |<---- Preferably using up to 50 chars --->|<------------------->| | |
| # Example: | |
| # [feat] Implement automated commit messages | |
| # (Optional) Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # (Optional) Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| #include <cstring> | |
| #include <cstdlib> | |
| #include <time.h> | |
| #include <stdlib.h> | |
| using namespace std; |