Start up a container (whichever Linux flavour takes your fancy):
docker run -it ubuntu /bin/bash
docker run -it centos /bin/bash| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| # Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
| if [[ -z "$1" ]] || [[ -z "$2" ]]; then | |
| echo "usage: $0 <service_account_name> <namespace>" | |
| exit 1 | |
| fi |
| #!/bin/sh | |
| # certs.sh | |
| # use this for Yocto/Edison: | |
| LIB=lib | |
| # use this for WRLinux/Gateway | |
| # LIB=lib64 | |
| if [ -f /usr/$LIB/jvm/java-8-openjdk/jre/lib/security/cacerts ]; then | |
| mv /usr/$LIB/jvm/java-8-openjdk/jre/lib/security/cacerts \ |
| # | Source : http://sed.sourceforge.net/sed1line.txt | |
| # | ------------------------------------------------------------------------- | |
| # | USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 | |
| # | Compiled by Eric Pement - pemente[at]northpark[dot]edu version 5.5 | |
| # | | |
| # | Latest version of this file (in English) is usually at: | |
| # | http://sed.sourceforge.net/sed1line.txt | |
| # | http://www.pement.org/sed/sed1line.txt | |
| # | | |
| # | This file will also available in other languages: |
The Z shell (zsh) is a Unix shell [...]. Zsh can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.
Read more about ZSH at An Introduction to the Z Shell.
Choose one of the following options.
| 5 18 * * * /root/jenkins-backup-to-artifactory.sh >/var/log/jenkinsbackup/jenkinsbackup.`date +\%Y\%m\%d\%H\%M\%S`.log 2>&1 |
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"| // ==UserScript== | |
| // @id linkshighlight@vkopt | |
| // @name Links Highlight for VkOpt | |
| // @version 1.1 | |
| // @namespace https://greasyfork.org/users/23 | |
| // @author Pmmlabs@github | |
| // @description Плагин для VkOpt, подсвечивающий некоторые неподсвечиваемые ссылки | |
| // @include *vk.com* | |
| // @run-at document-end | |
| // @noframes |