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
| # | |
| # source material: https://dev.to/ahmettkartal/display-current-git-branch-on-iterm2-3ko8 | |
| # | |
| COLOR_DEFAULT='%f' | |
| COLOR_DIRECTORY='%F{197}' | |
| COLOR_GIT='%F{39}' | |
| COLOR_MODIFIED='%F{36}' |
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 yield () { | |
| return new Promise(resolve => setImmediate(() => resolve())); | |
| } | |
| function delay (milliseconds) { | |
| return new Promise(resolve => setTimeout(() => resolve(), milliseconds)); | |
| } |
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
| echo "Attack at dawn!" > secret-message-original.txt | |
| echo "MyPassword" | gpg \ | |
| --output secret-message.txt.gpg \ | |
| --passphrase-fd 0 \ | |
| --batch \ | |
| --cipher-algo AES256 \ | |
| --symmetric secret-message-original.txt | |
| echo "MyPassword" | gpg \ |
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
| using System.IO; | |
| using System.Net; | |
| using System.Net.Security; | |
| using System.Net.Sockets; | |
| using System.Security.Authentication; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Xunit; | |
| namespace Matthew.Lymer.Tests |