To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
version: '3' | |
services: | |
zookeeper: | |
image: zookeeper:3.4.9 | |
hostname: zookeeper | |
ports: | |
- "2181:2181" | |
environment: | |
ZOO_MY_ID: 1 |
// Related to https://issues.jenkins-ci.org/browse/JENKINS-26481 | |
abcs = ['a', 'b', 'c'] | |
node('master') { | |
stage('Test 1: loop of echo statements') { | |
echo_all(abcs) | |
} | |
stage('Test 2: loop of sh commands') { |
Each Jenkins page has a REST API hyperlink at the bottom, this is because each page has its own endpoint. | |
http://localhost:8080/me | |
configure | |
Click 'Show API Token' | |
78e21f82a9e137614fef5b9593bcf827 = API Token | |
curl -s -u goll:78e21f82a9e137614fef5b9593bcf827 http://localhost:8080/crumbIssuer/api/json |
pipeline { | |
agent any | |
environment { | |
PACKAGE="github.com/abtris/bee" | |
GOPATH="/Users/abtris/go" | |
GOROOT="/usr/local/opt/go/libexec" | |
} | |
stages { | |
stage('Preparation') { | |
steps { |
#!/bin/bash | |
case $# in | |
0) | |
echo "Usage: $0 {start|stop}" | |
exit 1 | |
;; | |
1) | |
case $1 in | |
start) |
๐ป๐ป๐ป๐ป๐ป๐ป๐ป๐ป๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅ๐ค๐ค๐ค๐ค๐๐๐๐บ๐บ๐บ๐บ๐น๐น๐ฝ๐ฉ๐น๐น๐ฅ๐ฅ๐ฅ๐ฟ๐ฟ๐ผ๐ ๐ฅ๐ฐ๐ญ๐๐ข๐๐๐ค๐ค๐ท๐ฒ๐ณ๐ฎ๐ท๐๐ถ๐ฆ๐ง๐ฒ๐ต๐ถ๐๐๐ฏ๐๐๐๐ก๐ ๐ฝ๐๐ฆ๐ง๐๐๐๐โค๏ธ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ค๐ฅ๐ ๐๐๐๐๐๐๐๐ฎ๐ฅ๐ฟ๐๐ฝ๐ผ๐น๐๐ฟ๐๐๐๐๐๐๐๐ ๐ข๐ฃ๐กโณโ๏ธโฐโ๏ธ๐๐๐๐๐ฃ๐ธ๐ซ๐ช๐๐๐ฌ๐ช๐จ๐ฉ๐ง๐ฝ๐ด๐ด๐ต๐ต๐ต๐ท๐ท๐ท๐ถ๐ถ๐ฐ๐ฐ๐ฐ๐ฐ๐ช๐ช๐ช๐ช๐ช๐ฝ๐ฝ๐ฝ๐ฝ๐ฝ๐ฝ๐๐จ๐ฉ๐ฅ๐๐ฆ๐ฅ๐ท๐บ๐ฌ๐ง๐ฏ๏ธ๐ณ๐ต๐ด๐ฒ๐๐น๐บ๐น๐ถ๐๏ธ๐๐๐๐๐๐๐ถ๐ฆ๐ถ๐๐ซ๐๐ต๐ฏ๐ฑ๐ณ๐ทใ๏ธ๐ใ๏ธ๐ท๐ธ๐โ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๏ธโ๐ฏ๐ฒ๐ฒ๐ฑยฉยฎโขยฉยฎโขโโผ๏ธโ๏ธโ๏ธโโโโญ๏ธ๐๐๐๐๐๐๐๐ง๐๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐ฎโ ๏ธโฅ๏ธโฃ๏ธโฆ๏ธ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆโ๏ธโโโโ๏ธโ๏ธ๐ฏ๐๐๐ฎ๐โฐใฐใฝ๏ธ๐ฑโผ๏ธโป๏ธโพ๏ธโฝ๏ธโช๏ธโซ๏ธ๐บ๐ฒ๐ณโซ๏ธโช๏ธ๐ด๐ต๐ปโฌ๏ธโฌ๏ธ๐ถ๐ท๐ธ๐น |
#!groovy | |
# Best of Jenkinsfile | |
# `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
node { | |
} |
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "USAGE: $0 plugin1 plugin2 ..." | |
exit 1 | |
fi | |
plugin_dir=/var/lib/jenkins/plugins |
#!/bin/bash | |
# First install BasicTeX: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
# Allows you to run tlmgr without sudo. | |
$ sudo chown -R `whoami` /usr/local/texlive | |
# Update everything. | |
$ tlmgr update --self --all | |
# Install extra packages used by the default pandoc template. |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.