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
version: '2.3' | |
services: | |
worker: | |
image: myoung34/github-runner:latest | |
environment: | |
REPO_URL: "{{ github_repo_url }}" | |
RUNNER_TOKEN: "{{ github_runner_token }}" | |
RUNNER_WORKDIR: "/tmp/runner/work" | |
RUNNER_SCOPE: "repo" |
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
git config --global url."https://".insteadOf git:// | |
git config --global url."https://github.com/".insteadOf ssh://git@github.com/ | |
git config --global url."https://github.com/".insteadOf git@github.com: |
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
.PHONY: all | |
all: run | |
clean: run-clean | |
run: | |
for dir in */; do \ | |
if [ -f $$dir/Makefile ]; then \ | |
echo "$(MAKE) -C $$dir $(COMMAND)"; \ | |
$(MAKE) -C $$dir $(COMMAND); \ | |
fi; \ | |
done |
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
test2 |
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
t=2022-10-12T22:51:57+0300 lvl=warn msg="current block verified failed, rewind to its parent" height=22,120,047 hash=0xe0648fb74e635f3e8801f06602c12dd1d75c1c62684e46fb34aa45e10678c485 | |
t=2022-10-12T22:51:57+0300 lvl=warn msg="Synchronisation failed, dropping peer" peer=19a674514b0966a3de6f4569e1b6c1938a0a08057efbf059ffc1d19d656eb162 err="retrieved hash chain is invalid: expected tx hash 0x0dccff5ceebd2a7b777102937eb048c7bc70f6f8d138f701dbaaaaec32d1bd63, get 0xcd598b54681e1906965adf9e2f240f16866bbb75f856db0df11e96dc45e3f9db, nonce 1086606, to 0x0000000000000000000000000000000000001000, value 41566878054000000, gas 9223372036854775807, gasPrice 0, data f340fa01000000000000000000000000a6f79b60359f141df90a0c745125b131caaffd12" | |
t=2022-10-12T22:51:57+0300 lvl=info msg="Skip duplicated bad block" number=22,120,047 hash=0xe0648fb74e635f3e8801f06602c12dd1d75c1c62684e46fb34aa45e10678c485 | |
t=2022-10-12T22:51:57+0300 lvl=eror msg="\n########## BAD BLOCK #########\nChain config: {ChainID: 56 Homestead: 0 DAO: |
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
https://rectangleapp.com/ | |
https://github.com/Mortennn/Dozer/releases/tag/v4.0.0 | |
https://objective-see.org/products/lulu.html | |
https://www.alfredapp.com/alfred-5-whats-new/ |
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
#!/bin/sh | |
## Usage: | |
## . ./export-env.sh ; $COMMAND | |
## . ./export-env.sh ; echo ${MINIENTREGA_FECHALIMITE} | |
unamestr=$(uname) | |
if [ "$unamestr" = 'Linux' ]; then | |
export $(grep -v '^#' .env | xargs -d '\n') |
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
### Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
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
#!/bin/bash | |
CURRENT=$(df /home/bsc-node | grep / | awk '{ print $5}' | sed 's/%//g') | |
THRESHOLD=85 | |
if [ "$CURRENT" -gt "$THRESHOLD" ] ; then | |
IP=$(hostname -I) | |
DF_OUTPUT=$(df -H /home/bsc-node) | |
cat << EOF > /tmp/disk_usage_report |
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
# In this example, a graphite service named lollipop will be exposed under the app service-proxy | |
dokku apps:create service-proxy | |
dokku config:set service-proxy SERVICE_NAME=lollipop SERVICE_TYPE=graphite SERVICE_PORT=80 | |
dokku graphite:create lollipop | |
dokku graphite:link lollipop service-proxy | |
dokku git:from-image service-proxy dokku/service-proxy:latest |
NewerOlder