- using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml- using inventory:
127.0.0.1 ansible_connection=localansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| """ | |
| Exports issues from a list of repositories to individual csv files. | |
| Uses basic authentication (Github username + password) to retrieve issues | |
| from a repository that username has access to. Supports Github API v3. | |
| Forked from: unbracketed/export_repo_issues_to_csv.py | |
| """ | |
| import argparse | |
| import csv | |
| from getpass import getpass | |
| import requests |
| [program:autossh] | |
| command=autossh -M0 -N | |
| -o "ExitOnForwardFailure yes" | |
| -o "ServerAliveInterval 15" | |
| -o "ServerAliveCountMax 4" | |
| -o "ControlPath none" | |
| -o "UserKnownHostsFile=/dev/null" | |
| -o StrictHostKeyChecking=no | |
| -R 1234:localhost:1234 | |
| -R 4567:localhost:4567 |
Sometimes you may want to use a DNS server for specific domain requests and another DNS server for all other requests. This is helpful, for instance, when connected to a VPN. For hosts behind that VPN you want to use the VPN's DNS server but all other hosts you want to use Google's public DNS. This is called "DNS splitting."
Here, we run dnsmasq as a background service on macOS. The dnsmasq configuration described below implements DNS splitting.
brew install dnsmasq
apiVersion: v1
kind: Namespace
metadata:
name: gitlab
kubectl create -f ./namespace.yamlRUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ | do_install_pivpn() { | |
| #curl -L https://install.pivpn.io | bash | |
| setupVars=/etc/pivpn/setupVars.conf | |
| if [ -e "${setupVars}" ]; then | |
| sed -i.update.bak '/pivpnUser/d;/UNATTUPG/d;/pivpnInterface/d;/IPv4dns/d;/IPv4addr/d;/IPv4gw/d;/pivpnProto/d;/PORT/d;/ENCRYPT/d;/DOWNLOAD_DH_PARAM/d;/PUBLICDNS/d;/OVPNDNS1/d;/OVPNDNS2/d;/SERVER_NAME/d;' "${setupVars}" | |
| else | |
| mkdir -p /etc/pivpn | |
| touch "${setupVars}" | |
| fi |
| #!/bin/sh | |
| if [ "$EUID" -ne 0 ]; then | |
| echo -e "\nPlease run as root\neg. sudo $0 \n" | |
| exit | |
| fi | |
| GITHUB_USERNAME="ebal" | |
| cd `mktemp -d` |
| Install WireGuard via whatever package manager you use. For me, I use apt. | |
| $ sudo add-apt-repository ppa:wireguard/wireguard | |
| $ sudo apt-get update | |
| $ sudo apt-get install wireguard | |
| MacOS | |
| $ brew install wireguard-tools | |
| Generate key your key pairs. The key pairs are just that, key pairs. They can be |
If you're generating your website with Jekyll or another static website generator, don't forget to also expose a web feed for us old timer using RSS readers. The format we'll be preferring here is Atom.
Some reasons to expose a web feed:
If you're looking for a recommendation on online RSS readers, I personally like Newsblur.