This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sub_filter 'Hello' 'Goodbye'; | |
| sub_filter_once on; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function npm_path(){ | |
| export PATH="$(npm bin):$PATH" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: check service-1 is running | |
| uri: | |
| url: "http://localhost:3000/healthcheck" | |
| return_content: yes | |
| register: service_response_1 | |
| - name: check service-2 is running | |
| uri: | |
| url: "http://localhost:3001/healthcheck" | |
| return_content: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function aws-instances-describe() { | |
| zparseopts -D -E -A opts -- o: t: s: | |
| output=${opts[-o]:-"table"} | |
| tag_name=${opts[-t]:-"Name"} | |
| state=${opts[-s]:-"running"} | |
| name=${1} | |
| query=( | |
| "Reservations[].Instances[]" | |
| ".{" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| roles: | |
| - role: geerlingguy.homebrew | |
| - role: jamescarr.dotfiles | |
| zsh_theme: bureau | |
| oh_my_zsh_plugins: | |
| - git | |
| - osx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| zsh_theme: robbyrussell | |
| oh_my_zsh_plugins: | |
| - git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - name: Install ZSH | |
| homebrew: | |
| name: zsh | |
| state: latest | |
| - name: Change current user shell | |
| user: | |
| name: "{{ ansible_ssh_user }}" | |
| shell: /bin/zsh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tree roles | |
| roles | |
| └── jamescarr.dotfiles | |
| └── tasks | |
| └── main.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tree roles ‹ruby-2.2.1› | |
| roles | |
| └── jamescarr.dotfiles | |
| └── tasks | |
| └── main.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Set Screensaver | |
| osx_defaults: | |
| domain: com.apple.screensaver | |
| host: currentHost | |
| key: showClock | |
| type: int | |
| value: 1 |