This script intends to improve usability of 1Password CLI when working with multiple sessions and.or terminals
oplogin
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: example | |
| namespace: default | |
| data: | |
| APPLICATION_HOST: example.com | |
| LANG: en_US.UTF-8 | |
| PIDFILE: /tmp/server.pid | |
| PORT: "3000" |
| import kfp | |
| @kfp.components.func_to_container_op | |
| def print_func(param: int): | |
| print(str(param)) | |
| @kfp.components.func_to_container_op | |
| def list_func(param: int) -> list: | |
| return list(range(param)) |
| <?php | |
| //get the fields available to a lead | |
| https://hoangweb-dev.bitrix24.com/rest/1/hnw8ye0l22f93im8/crm.lead.fields.json | |
| /** | |
| * Get lead | |
| */ | |
| $queryUrl = 'https://hoangweb-dev.bitrix24.com/rest/1/hnw8ye0l22f93im8/crm.lead.get.json'; | |
| $queryData = http_build_query(array( //send post data | |
| 'id' => 2 |
| #!/usr/bin/env bash | |
| # MIT © Sindre Sorhus - sindresorhus.com | |
| # git hook to run a command after `git pull` if a specified file was changed | |
| # Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
| changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
| check_run() { | |
| echo "$changed_files" | grep --quiet "$1" && eval "$2" |