This file contains hidden or 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 | |
| # <bitbar.title>Kraken.com price tickers</bitbar.title> | |
| # <bitbar.version>v1.0</bitbar.version> | |
| # <bitbar.author>davidlj95</bitbar.author> | |
| # <bitbar.author.github>davidlj95</bitbar.author.github> | |
| # <bitbar.desc>Last selected tickers from Kraken.com</bitbar.desc> | |
| # <bitbar.image>https://i.imgur.com/iGX2yjR.png</bitbar.image> | |
| # <bitbar.dependencies>jq,curl</bitbar.dependencies> | |
| # |
This file contains hidden or 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 | |
| # | |
| # Uses GitHub API to make private all repositories whose name matches the | |
| # given grep expression | |
| # | |
| set -e | |
| # Arguments | |
| REPO_FILTER="$1" | |
| API_BASE_URL="https://api.github.com" |
This file contains hidden or 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 | |
| # devel-env are needed to install Python versions | |
| cyg-get.bat bash curl make automake gcc-core gcc-g++ zlib zlib-devel libffi-devel | |
| curl https://pyenv.run | bash |
This file contains hidden or 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 | |
| # tgm: TeleGram send Message | |
| # Sends a message via Telegram (using telegram-cli) | |
| # Author: davidlj95 | |
| # | |
| # Telegram CLI: | |
| # https://github.com/vysheng/tg | |
| # yay -S telegram-cli-git | |
| # Constants |
This file contains hidden or 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
| Verifying my Blockstack ID is secured with the address 1MUuyMPU3fEoqsL7ioo5S1MSKAVHqE4Wa5 https://explorer.blockstack.org/address/1MUuyMPU3fEoqsL7ioo5S1MSKAVHqE4Wa5 |
This file contains hidden or 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
| #!/usr/bin/python3 | |
| # | |
| # Converts an IPv4 address to the format of the file ``chainparamsseeds.h`` | |
| # to know if your node is a seed in Bitcoin Core client's seeds. | |
| # | |
| # This file is automatically created by ``generate-seeds.py`` | |
| # | |
| # Sources: | |
| # https://github.com/bitcoin/bitcoin/blob/v0.16.3/src/chainparamsseeds.h | |
| # https://github.com/bitcoin/bitcoin/tree/v0.16.3/contrib/seeds |
This file contains hidden or 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
| """Implements a class registry based on its name using Python 3 metaclasses | |
| **Source:** | |
| - https://effectivepython.com/2015/02/02/\ | |
| register-class-existence-with-metaclasses/ | |
| """ | |
| REGISTRY = {} | |
| """ |
This file contains hidden or 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 | |
| # Name: `pip` package updater | |
| # Description: checks `pip` outdated packages and updates them all at once | |
| # Source: | |
| # https://stackoverflow.com/questions/2720014/upgrading-all-packages-with-pip | |
| pip list --outdated --format=freeze | \ | |
| grep -v '^\-e' | \ | |
| cut -d = -f 1 | \ | |
| xargs -n1 pip install -U |
This file contains hidden or 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 | |
| # Description: Allows to switch between RPC | |
| # client configurations inside | |
| # ~/.bitcoin folder. If no | |
| # config found, takes default | |
| # Usage: | |
| # bitcoin-cli <node_config> [args] | |
| # | |
| # Passes ~/.bitcoin/<node_config>.conf as | |
| # the configuration file to bitcoin-cli |
This file contains hidden or 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
| [Unit] | |
| Description=Bitcoin's [%i] distributed currency daemon | |
| After=network.target | |
| [Service] | |
| User=bitcoin-%i | |
| Group=bitcoin-%i | |
| Type=forking | |
| PIDFile=/var/blockchain/bitcoin/bitcoind_%i.pid |