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
| taskkill /F /IM OUTLOOK.EXE | |
| start "" "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE" | |
| exit |
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
| #!/usr/bin/env bash | |
| #################################################################################### | |
| # Slack Bash console script for sending messages. | |
| #################################################################################### | |
| # Installation | |
| # $ curl -s https://gist.github.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack | |
| # $ chmod +x /usr/bin/slack | |
| #################################################################################### | |
| # USAGE | |
| # Send message to slack channel/user |
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 run -it --rm -v "$PWD":/usr/src/myapp w /usr/src/myapp php:7.2 bash | |
| Inside container: | |
| ================ | |
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
| php composer-setup.php | |
| php -r "unlink('composer-setup.php');" |
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
| SET computer_dir=E:\Quicken | |
| SET quicken_file=Nan_Quicken_File.QDF | |
| SET DT=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% | |
| md TRANSFER_BACKUPS_USB\ 2> nul | |
| move %quicken_file% TRANSFER_BACKUPS_USB\USB_CPY_%DT%_%quicken_file% | |
| copy %computer_dir%\%quicken_file% | |
| pause |
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
| SET computer_dir=E:\Quicken | |
| SET quicken_file=Nan_Quicken_File.QDF | |
| SET DT=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% | |
| md %computer_dir%\TRANSFER_BACKUPS_COMP\ 2> nul | |
| move %computer_dir%\%quicken_file% %computer_dir%\TRANSFER_BACKUPS_COMP\COMP_CPY_%DT%_%quicken_file% | |
| copy %quicken_file% %computer_dir%\ | |
| pause |
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
| %nav.navbar.navbar-default{role: "navigation"} | |
| / Brand and toggle get grouped for better mobile display | |
| .navbar-header | |
| %button.navbar-toggle{"data-target" => ".navbar-ex1-collapse", "data-toggle" => "collapse", type: "button"} | |
| %span.sr-only Toggle navigation | |
| %span.icon-bar | |
| %span.icon-bar | |
| %span.icon-bar | |
| %a.navbar-brand{href: "#"} Brand | |
| / Collect the nav links, forms, and other content for toggling |
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
| File.open(local_filename, 'w') {|f| f.write(doc) } |