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
| <?php | |
| /** | |
| * This script will search in your iTunes Music folder for duplicate | |
| * mp3 and aac files, and print them out for inspection. | |
| * | |
| * HOW TO USE: | |
| * Do a dry run, inspect the output, and if desired, do a delete run. | |
| * | |
| * To do a dry run: | |
| * |
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
| root@saltmaster:/srv# salt 'api*' state.apply test=True | |
| dev-server.on-my.network: | |
| ---------- | |
| ID: /etc/hosts | |
| Function: file.comment | |
| Result: None | |
| Comment: File /etc/hosts is set to be updated | |
| Started: 16:09:10.954681 | |
| Duration: 8.716 ms | |
| Changes: |
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
| root@saltmaster:/srv/salt# salt-call state.show_highstate | |
| local: | |
| ---------- | |
| psmisc: | |
| ---------- | |
| pkg: | |
| - installed | |
| |_ | |
| ---------- | |
| order: |
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
| ###################################################### | |
| # Docker Shortcuts | |
| # Maintainer geoffrey.hoffman@gmail.com | |
| ###################################################### | |
| # Load these into your bash profile, e.g. add | |
| # source ~/.docker_shortcuts.sh | |
| # to ~/.bash_profile | |
| echo "docker shortcuts loaded" |
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
| version: "3" | |
| services: | |
| db: | |
| container_name: db | |
| image: db:latest | |
| environment: | |
| - MYSQL_ROOT_PASSWORD=REDACTED | |
| - APP=db | |
| ports: | |
| - "3306:3306" |
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
| <?php | |
| if ($a = 1) | |
| { | |
| $code = 'here'; | |
| function('call','there'); | |
| alignment('true'); | |
| } | |
| else if ($b = 2) | |
| { |
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
| #!/bin/bash | |
| # | |
| # I have this saved to /usr/local/bin/gtmgr (git tag manager) | |
| # and chmod +x it, or paste it into your bash profile and alias it. | |
| # | |
| # Run `gtmgr` in the context of your repo root on your local machine. | |
| # The script will present you with a portion of your tags matching pattern. | |
| # | |
| # Sample Usage | |
| # -------------------------------------------------------------------------- |
OlderNewer