See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # Handle PowerShell 7.4+ UTF-8 encoding issues | |
| $previousOutputEncoding = [Console]::OutputEncoding | |
| [Console]::OutputEncoding = [Text.Encoding]::UTF8 | |
| try { | |
| # # PowerToys Command Not Found Integration (with safe handling) | |
| # $powerToysModulePath = Join-Path $env:LocalAppData "PowerToys\WinGetCommandNotFound.psd1" | |
| # if (Test-Path $powerToysModulePath) { | |
| # try { | |
| # # Enable PowerShell Experimental Features for PowerToys |
| /* Customize website's scrollbar like Mac OS | |
| Not supports in Firefox and IE */ | |
| /* total width */ | |
| body::-webkit-scrollbar { | |
| background-color: #fff; | |
| width: 16px; | |
| } | |
| /* background of the scrollbar except button or resizer */ |
I don't know whether this will be useful to anyone else, but I wanted to use the Linux tree command to generate file system trees in CSV format on OS X. This should work pretty much as is on Linux, although you may need or want to change the paths and optimize the usage of sed.
This uses the Linux "tree" command, which is not standard on OS X.