- Set variable
export JENKINS_URL=
export COOKIES=
- Get the config.xml from a pre-created job or create another one according to the need :
| #!/bin/bash | |
| # | |
| # rqworker Manage the rqworker | |
| # | |
| # chkconfig: 2345 96 0 | |
| # description: rqworker is a tool for service discovery and configuration | |
| # processname: rqworker | |
| ### BEGIN INIT INFO |
| docker rmi $(docker images -qa -f 'dangling=true') |
| # without ".ssh" directory | |
| cat ~/.ssh/id_rsa.pub | ssh [email protected] "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys" | |
| # or (alread have ".ssh: directory) | |
| cat ~/.ssh/id_rsa.pub | ssh [email protected] "cat >> ~/.ssh/authorized_keys" |
| # Get version from .xcodeproj | |
| xcodebuild -project "${PROJECTNAME}.xcodeproj" -showBuildSettings | grep "MARKETING_VERSION" | sed 's/[ ]*MARKETING_VERSION = //' |
| require("https").globalAgent.options.ca = | |
| require("ssl-root-cas/latest").create(); | |
| const mailer = require("nodemailer"); | |
| const MAILER_HOST = ""; | |
| const MAILER_SECURE = true; | |
| const MAILER_PORT = 465; | |
| const MAILER_AUTH_USER = ""; | |
| const MAILER_AUTH_PASS = ""; |
Original post : https://unix.stackexchange.com/a/310699
nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
| const a = [1,2,3,4,5] | |
| b = a | |
| b[2] = 10 | |
| console.log(a) | |
| console.log(b) |
These are my own personal notes on how i setup a Pi Zero W as an access points it is a blatant copy of this: https://gist.github.com/tcg/0c1d32770fcf6a0acf448b7358c5d059 but is just missing a couple of things from: http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap and like tcg, this is not intended as a guide but notes as i will invariably have to rebuild this sometime and i have broken biscuits for brains.
this is really just the same info as here https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a
cmdline.txt add: modules-load=dwc2,g_ether after the word rootwaitconfig.txt and add dtoverlay=dwc2 to the end of the filesshinstall
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmcreate file ~/.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'