Describe briefly what makes your project stand out.
- List of required tools for this project.
| #!/bin/bash | |
| USER=${1:-sebble} | |
| STARS=$(curl -sI https://api.github.com/users/$USER/starred?per_page=1|egrep '^Link'|egrep -o 'page=[0-9]+'|tail -1|cut -c6-) | |
| PAGES=$((658/100+1)) | |
| echo You have $STARS starred repositories. | |
| echo |
| # (source: https://stackoverflow.com/a/35327111/3247880) | |
| # Put this code at the beginning of the notebook | |
| import logging | |
| logger = logging.getLogger() | |
| assert len(logger.handlers) == 1 | |
| handler = logger.handlers[0] | |
| handler.setLevel(logging.DEBUG) |
Purpose:
Created by: Author Name
Jira: PROJ-230
| #!/bin/bash | |
| # bankier.sh | |
| # Getting stock data from bankier.pl | |
| # | |
| # usage: | |
| # ./bankier.sh ticker | |
| # sample tickers: | |
| # WIG | |
| # WIG20 | |
| # mWIG40 |
| #!/bin/bash | |
| # stock-bankier.sh | |
| # Getting stock, some currency data from bankier.pl | |
| # Supported currency: EUR, USD | |
| # | |
| # usage: | |
| # ./stock-bankier.sh ticker | |
| # sample tickers: | |
| # MERCATOR | |
| # WIG20 |
| # This is an example PKGBUILD file. Use this as a start to creating your own, | |
| # and remove these comments. For more information, see 'man PKGBUILD'. | |
| # NOTE: Please fill out the license field for your package! If it is unknown, | |
| # then please put 'unknown'. | |
| # Maintainer: Your Name <[email protected]> | |
| pkgname=NAME | |
| pkgver=VERSION | |
| pkgrel=1 | |
| epoch= |
| #!/bin/bash | |
| TEMPFILE='/tmp/restic_ignores.txt' | |
| BACKUPDIR=$HOME | |
| # Note: Not sure which way is better, echo nothing into the file, or remove if exists | |
| # if [ -f $TEMPFILE ]; then | |
| # rm $TEMPFILE | |
| # fi | |
| # touch $TEMPFILE |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |