most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| #!/bin/sh -e | |
| # | |
| # You can run this script directly from github as root like this: | |
| # curl -sS https://gist.githubusercontent.com/fabiorphp/a94e0ea2558b3d10185d6d69d053c2b2/raw/configure_docker0.sh | sudo bash -s - 172.31.0.21/16 | |
| # | |
| # * Make sure you replace "192.168.254.0/24" with the network that you want to use | |
| # | |
| # NOTE: This script is intended for Debian / Ubuntu only! | |
| if [ $# -lt 1 ]; then |
| tree ansible-deploy/ | |
| config/ | |
| dev-aws.ansible.cfg | |
| live-aws.ansible.cfg | |
| group_vars/ | |
| dev | |
| staging | |
| live | |
| host_vars/ |
| FROM ubuntu:16.04 | |
| MAINTAINER Sammy Kaye Powers | |
| RUN apt-get update \ | |
| && apt-get install sudo vim git -y \ | |
| && apt-get install build-essential autoconf valgrind -y \ | |
| && apt-get install re2c bison -y \ | |
| && apt-get install libxml2-dev locales lcov -y |
| <?php declare(strict_types=1); | |
| if ( | |
| extension_loaded( 'xdebug' ) | |
| && version_compare( '2.6.0', phpversion( 'xdebug' ), '<=' ) | |
| ) | |
| { | |
| /** @noinspection PhpUndefinedFunctionInspection */ | |
| /** @noinspection PhpUndefinedConstantInspection */ | |
| xdebug_set_filter( |
| #!/usr/local/bin/python3 | |
| from kubernetes import client, config | |
| import sys | |
| config.load_kube_config() | |
| def print_help(): | |
| print('I need the namespace(s) as an argument') | |
| if len(sys.argv) <= 1: |
| # Terraform | |
| alias trf='terraform' | |
| ## Terragrunt | |
| alias trg='terragrunt' | |
| alias trgfmt='terragrunt hclfmt' | |
| alias trglint='find . -type f -not -path "*/\.*" | grep ".hcl" | terragrunt hclfmt' | |
| alias trgcleancache='find . -type d -name ".terragrunt-cache" -prune -exec rm -rf {} \;' | |
| function trginitall() { |