Skip to content

Instantly share code, notes, and snippets.

View haliliceylan's full-sized avatar
👋
Avaliable

Halil İbrahim ceylan haliliceylan

👋
Avaliable
  • Universiteit Antwerpen
  • Belgium
  • 13:33 (UTC +02:00)
View GitHub Profile
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"
@haliliceylan
haliliceylan / git-ssh-fix
Created February 17, 2024 11:46
git fix for ssh public read key error
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:
@haliliceylan
haliliceylan / Makefile
Last active October 6, 2023 01:17
This Makefile is used to automate the build process for multiple subdirectories within a project. It defines several targets to make the build process easier and more efficient.
.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
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:
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/
#!/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')
@haliliceylan
haliliceylan / aria2.conf
Created April 11, 2022 21:21 — forked from qzm/aria2.conf
Best aria2 Config
### 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
#!/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
# 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