A windows case study.
The details of what I would do for Linux would be different, but the premise would remain.
| Great Automotive Sites: | |
| 1. https://www.trailandstreet.com | |
| 2. https://motortrend.com | |
| 3. https://www.roadandtrack.com | |
| 4. https://www.thedrive.com | |
| 5. https://jalopnik.com | |
| 6. https://motor1.com |
A windows case study.
The details of what I would do for Linux would be different, but the premise would remain.
| #!/usr/bin/env zsh | |
| # Script: azv | |
| # Author: Jason Giedymin <[email protected]> | |
| # Name: azv | |
| # Version: 1.0.4 | |
| # Description: Azure Vault Helper Script | |
| # License: MIT | |
| # | |
| # Exit Codes: |
| # simple sort | |
| curl --no-progress-meter --stderr - -X GET --user "<username>:<password>" "https://<host>:<port>/_cat/indices" | sort -g -k 7 | |
| # if you want do do some formatting in between or what have you | |
| curl --no-progress-meter --stderr - -X GET --user "<username>:<password>" "https://<host>:<port>/_cat/indices" | tr -s '[:blank:]' ',' | sort -g --field-separator=',' -k 7 | column -t -s ',' |
| #!/usr/bin/env bash | |
| set -e | |
| sig_handler() { | |
| exit_status=$? # Eg 130 for SIGINT, 128 + (2 == SIGINT) | |
| if [[ exit_status -gt 0 ]]; then | |
| cat <<EOF | |
| !!! | |
| WARN: signal [$exit_status] recieved by entrypoint ... returning it" |
Having problems with iterm + zsh + tmux + powerline, where it continues to scroll?
Navigate to Preferences (top menu) -> Profiles (pane view) -> Text (tab view) -> uncheck "Use Unicode Version 9 Widths" (checkbox). More details at issue-1652.
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| { | |
| "\UF729" = "moveToBeginningOfLine:"; | |
| "\UF72B" = "moveToEndOfLine:"; | |
| "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; | |
| "$\UF72B" = "moveToEndOfLineAndModifySelection:"; | |
| } |
| #!/usr/bin/env bash | |
| # | |
| # Author: _j_a_s_o_n_g_at_a_p_a_c_h_e_dot_org | |
| # License: GNU GPLv3 | |
| # | |
| set -e | |
| if [ -z "$1" ]; then | |
| echo "Please supply param 1 as the git hash which to cheery pick. Now exiting..." |
| # vim:ft=zsh ts=2 sw=2 sts=2 | |
| # | |
| # agnoster's Theme - https://gist.github.com/3712874 | |
| # A Powerline-inspired theme for ZSH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
| # Make sure you have a recent version: the code points that Powerline |