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
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.
apiVersion: pilot.kyber.network/v1alpha1 | |
kind: PrivateIngress | |
metadata: | |
name: aggregator | |
spec: | |
domains: | |
- aggregator-api.core-cluster.gke.develop.internal | |
routes: | |
- name: '' | |
match: |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import requests | |
import os | |
import sys | |
import json | |
def err(msg, **kwargs): | |
print(msg, file=sys.stderr, **kwargs) |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import platform | |
import random | |
import re | |
import string | |
import sys |
$ gpg --edit-key <uid>
gpg> trust
Please decide how far you trust this user to correctly verify other
users' keys (by looking at passports, checking fingerprints from
different sources, etc.)
#!/bin/bash | |
RED='\033[0;31m' | |
GRN='\033[0;32m' | |
BLU='\033[0;34m' | |
NC='\033[0m' | |
PS3='Please enter your choice: ' | |
options=("Disable Your GateKeeper" "Enable Your GateKeeper" "Allow Single App To ByPass The GateKeeper" "Quit") | |
select opt in "${options[@]}" |
#!/bin/bash | |
set -e | |
VAULT=".vault" | |
trap "rm -f $VAULT" EXIT | |
#================ | |
if ! command -v "ansible-vault" $> /dev/null; then | |
echo "Not found command 'ansible-vault'." | |
exit 1 |
#/etc/iptables/rules.v4 | |
# apply rules => iptables-restore < /etc/iptables/rules.v4 | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD DROP [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:FILTERS - [0:0] | |
:DOCKER-USER - [0:0] |
### `.env` | |
### TEST=ABC | |
### | |
test: | |
$(eval include .env) | |
$(eval export $(grep -v '^#' .env | xargs -0)) | |
printenv TEST | |