Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
| #!/usr/bin/env python | |
| from __future__ import print_function, with_statement | |
| import os | |
| import re | |
| def main(args): | |
| curdir = os.getcwd() |
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var styleEl = document.getElementById('css-layout-hack'); | |
| if (styleEl) { | |
| styleEl.remove(); | |
| return; | |
| } | |
| styleEl = document.createElement('style'); | |
| styleEl.id = 'css-layout-hack'; |
| 2019/07/31 15:39:27 [INFO] Terraform version: 0.12.5 | |
| 2019/07/31 15:39:27 [INFO] Go runtime version: go1.12.4 | |
| 2019/07/31 15:39:27 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
| 2019/07/31 15:39:27 [DEBUG] Attempting to open CLI config file: /Users/garettdunn/.terraformrc | |
| 2019/07/31 15:39:27 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2019/07/31 15:39:27 [INFO] CLI command args: []string{"apply"} | |
| 2019/07/31 15:39:27 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
| 2019/07/31 15:39:27 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
| 2019/07/31 15:39:27 [DEBUG] New state was assigned lineage "266ab41f-7602-5b20-78b0-9ea039804bf9" | |
| 2019/07/31 15:39:27 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) |
| 2019/07/31 15:39:27 [INFO] Terraform version: 0.12.5 | |
| 2019/07/31 15:39:27 [INFO] Go runtime version: go1.12.4 | |
| 2019/07/31 15:39:27 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply"} | |
| 2019/07/31 15:39:27 [DEBUG] Attempting to open CLI config file: /Users/garettdunn/.terraformrc | |
| 2019/07/31 15:39:27 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2019/07/31 15:39:27 [INFO] CLI command args: []string{"apply"} | |
| 2019/07/31 15:39:27 [DEBUG] New state was assigned lineage "266ab41f-7602-5b20-78b0-9ea039804bf9" | |
| 2019/07/31 15:39:27 [DEBUG] checking for provider in "." | |
| 2019/07/31 15:39:27 [DEBUG] checking for provider in "/usr/local/bin" | |
| 2019/07/31 15:39:27 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" |
| function clean_merged() { | |
| if [[ -z $1 ]] | |
| then | |
| BRANCH=master | |
| else | |
| BRANCH="$1" | |
| fi | |
| git branch --merged "${BRANCH}" | grep -Ev "${BRANCH}|master" | xargs -n 1 git branch -d | |
| } |
| function show_merged() { | |
| if [[ -z $1 ]] | |
| then | |
| BRANCH=master | |
| else | |
| BRANCH="$1" | |
| fi | |
| git branch --merged "${BRANCH}" | grep -Ev "${BRANCH}|master" | |
| } |
| CULTURE SPEC.CULTURE ENGLISH NAME | |
| -------------------------------------------------------------- | |
| Invariant Language (Invariant Country) | |
| af af-ZA Afrikaans | |
| af-ZA af-ZA Afrikaans (South Africa) | |
| ar ar-SA Arabic | |
| ar-AE ar-AE Arabic (U.A.E.) | |
| ar-BH ar-BH Arabic (Bahrain) | |
| ar-DZ ar-DZ Arabic (Algeria) | |
| ar-EG ar-EG Arabic (Egypt) |
| ### Keybase proof | |
| I hereby claim: | |
| * I am garettmd on github. | |
| * I am garettmd (https://keybase.io/garettmd) on keybase. | |
| * I have a public key ASARwgfAFhLVxCZqQYshTfVhrJDJaULuPqDDBoPLEYZJjgo | |
| To claim this, I am signing this object: |