jq is useful to slice, filter, map and transform structured json data.
brew install jq
По материалам сайта Calculate Linux: https://www.calculate-linux.org/main/ru/git
Starting at a new employer always mean checking out various git repositories.
As the amount of repositories a company has grows, the time needed to clone all of those repositories also grows.
This script automates this task.
In order for this script to work, a personal access token is needed.
# activate the virtualenv | |
source /home/superset/.virtualenvs/superset/bin/activate | |
fabmanager reset-password --app superset --username admin --password enteryournewpassword |
export PATH="$(/bin/ls -d /opt/cprocsp/{s,}bin/*|tr '\n' ':')$PATH"
так как, выше описная команда измениет переменную PATH тольк на время сесии, это можно исправить так: меняем PATH
если во время установки, к примеру от пользователя www-data, произошла ошибка во время установке pfx, убедитесь, что
How do you navigate in your terminal? Do you chain sequences of
cd
commands together, or copy a file path and paste it? Sometimes to a destination directory that's not adjacent to your current one?
cdp
might be the solution for you. It's a command that activates an interactive way to navigate directories smoothly and easily. Compatible with bash and zsh.
cdp
to activate#!/bin/bash | |
#Variables | |
gitlabUrl="https://gitlab.yourdomain.com" | |
configFile="/etc/gitlab-runner/config.toml" | |
gitlabTolken="" # Get it from https://gitlabUrl/profile/account API read access token | |
# Get GitLab Runner tokens from config.toml | |
mapfile -t runner_tokens < <(sudo grep -oP 'token = "\K[^"]+' ${configFile}) |