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
## Print availabel bazel rules by path | |
## Usage bazel_rules '//src' | |
function bazel_rules(){ | |
bazel query "attr(name, \".*\", $@:*)" 2> /dev/null | |
} | |
## Print availabel bazel rules by path | |
## Usage bazel_public_rules '//src' | |
function bazel_public_rules() { | |
bazel query "attr(visibility, \"//visibility:public\", $@:*)" 2> /dev/null |
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
-site:coder.work -site:py4u.net -site:githubmemory.com -site:coderoad.ru -site:titanwolf.org -site:codejzy.com |
- Create a private key file, from which you can create the manifest key and Application ID, as detailed here: https://stackoverflow.com/questions/23873623/obtaining-chrome-extension-id-for-development
- Add the manifest key to "key" in manifest.json
- Create a new project in Google Developer Console https://console.developers.google.com/project
- Go to "APIs & auth > Credentials" and create new client id for a Chrome Application using the Application ID generated in step 3.
- Copy the Client ID to oauth2.client_id in the manifest.json
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
# install nix (5.5 mins) | |
curl https://nixos.org/nix/install | sh | |
# open a new shell to source nix | |
bash | |
# query available haskell compilers | |
nix-env -qaP -A nixpkgs.haskell.compiler [QUERY] | |
# install ghc (2.5 mins, cached binary) |
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
{ | |
"New component": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from 'react';\nimport s from './$1.module.css'\n\nexport type $1Props = {};\n\nconst $1: React.FC<$1Props> = (props) => {\n return (\n <div className={s.$1}>$0</div>\n );\n}\n\nexport default $1;" | |
], | |
"description": "Create new component" | |
} | |
} |
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
kubectl get pods --all-namespaces -o go-template --template='{{range .items}}{{"pod: "}}{{.metadata.name}} | |
{{if .spec.securityContext}} | |
PodSecurityContext: | |
{{"runAsGroup: "}}{{.spec.securityContext.runAsGroup}} | |
{{"runAsNonRoot: "}}{{.spec.securityContext.runAsNonRoot}} | |
{{"runAsUser: "}}{{.spec.securityContext.runAsUser}} {{if .spec.securityContext.seLinuxOptions}} | |
{{"seLinuxOptions: "}}{{.spec.securityContext.seLinuxOptions}} {{end}} | |
{{else}}PodSecurity Context is not set | |
{{end}}{{range .spec.containers}} |
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
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] start executing task: 7" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] start plugin" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] [api async client] creating scheduler for api "https://api.github.com/", number of workers: 2, 1500 reqs / 1h0m0s (interval: 2.4s)" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] github graphql init success with remaining 4442/5000 and will reset at 2023-05-31 11:51:34 +0000 UTC" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] total step: 29" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] executing subtask collectApiMilestones" | |
time="2023-05-31 11:36:17" level=info msg=" [pipeline service] [pipeline #3] [task #7] [collectApiMilestones] start api collection" | |
time="2023-05-31 11:36:20" level=info msg |
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
time="2023-06-02 08:29:19" level=info msg=" [pipeline service] [pipeline #6] [task #15] start executing task: 15" | |
time="2023-06-02 08:29:19" level=info msg=" [pipeline service] [pipeline #6] [task #15] start plugin" | |
time="2023-06-02 08:29:19" level=info msg=" [pipeline service] [pipeline #6] [task #15] [api async client] creating scheduler for api "https://api.github.com/", number of workers: 13, 9500 reqs / 1h0m0s (interval: 378.947368ms)" | |
time="2023-06-02 08:29:20" level=info msg=" [pipeline service] [pipeline #6] [task #15] github graphql init success with remaining 5000/5000 and will reset at 2023-06-02 09:29:20 +0000 UTC" | |
time="2023-06-02 08:29:20" level=info msg=" [pipeline service] [pipeline #6] [task #15] total step: 24" | |
time="2023-06-02 08:29:20" level=info msg=" [pipeline service] [pipeline #6] [task #15] executing subtask collectApiMilestones" | |
time="2023-06-02 08:29:20" level=info msg=" [pipeline service] [pipeline #6] [task #15] [collectApiMilestones] start api collection" | |
time="2023-06-02 08:29:2 |
OlderNewer