Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| @NonCPS | |
| /* | |
| * slackChannel = '#channel,@user' - Slack channel for notifications, space- or comma-separated list (leave empty to use global Jenkins settings) | |
| * silentNotifyFor = ['STARTED'] - Silent notifications for certain buildStatuses. E.g.: silentNotifyFor = ['STARTED','SUCCESS','FAILURE','ABORTED'] | |
| */ | |
| def notifyBuild(String buildStatus = 'FAILURE', String customMessage = null) { | |
| // buildStatus of null means FAILURE | |
| buildStatus = buildStatus ?: 'FAILURE' | |
| // Default values |
| repos: | |
| ####### | |
| # ALL # | |
| ####### | |
| - repo: git://github.com/pre-commit/pre-commit-hooks | |
| rev: v2.5.0 | |
| hooks: | |
| # Git style | |
| - id: check-added-large-files |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/usr/bin/env -S awk -f | |
| # https://gist.github.com/yermulnik/7e0cf991962680d406692e1db1b551e6 | |
| # Tested with GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.1.0, GNU MP 6.2.1) | |
| # Usage: /path/to/tf_vars_sort.awk < variables.tf | tee sorted_variables.tf | |
| # Note: "chmod +x /path/to/tf_vars_sort.awk" before use | |
| # No licensing; [email protected], 2021-2024 | |
| { | |
| # skip blank lines at the beginning of file | |
| if (!resource_type && length($0) == 0) next |
| git_protocol: ssh | |
| aliases: | |
| personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
| work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
| # This is now a proper library, see https://github.com/benkehoe/aws-assume-role-lib | |
| # pip install aws-assume-role-lib | |
| # Copyright 2020 Ben Kehoe | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
ℹ️ GH Gist: yermulnik/Telegram.yz.md
👉 Update this gist:
gh gist edit https://gist.github.com/yermulnik/5b1d412ca01630af4d06c2c1fadddc53 -f Telegram.yz.md README.mdStarting with v4.10.0 Telegram has stopped supporting Linux platforms
with glibc (GNU C Library) less than 2.29 (2.28?):
| #!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
| # syntax = docker/dockerfile:1.4.0 | |
| FROM node:20 | |
| WORKDIR /root | |
| RUN npm install sqlite3 |