This shows your PowerShell profile location:
$Profile| import SwiftUI | |
| struct VisualEffectMaterialKey: EnvironmentKey { | |
| typealias Value = NSVisualEffectView.Material? | |
| static var defaultValue: Value = nil | |
| } | |
| struct VisualEffectBlendingKey: EnvironmentKey { | |
| typealias Value = NSVisualEffectView.BlendingMode? | |
| static var defaultValue: Value = nil |
| foreach ($file in Get-ChildItem . -Recurse) | |
| { | |
| $path = Get-Item -LiteralPath $file.FullName | |
| $acl = $path.GetAccessControl() | |
| $permission = "Everyone","FullControl","Allow" | |
| $rule = New-Object System.Security.AccessControl.FileSystemAccessRule $permission | |
| $acl.SetAccessRule($rule) | |
| $path.SetAccessControl($acl) | |
| } |
| // Taken from https://github.com/Nishkalkashyap/monaco-vscode-textmate-theme-converter/blob/master/src/index.ts | |
| const input = { | |
| // ...vscode theme json | |
| }; | |
| function convertTheme(theme) { | |
| const monacoThemeRule = []; | |
| const returnTheme = { | |
| inherit: false, |
| Windows Registry Editor Version 5.00 | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\wt] | |
| @="Open Windows Terminal here" | |
| "Icon"="C:\\Users\\<YOUR USERNAME>\\AppData\\Local\\Microsoft\\WindowsApps\\wt_32.ico" | |
| [HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command] | |
| @="C:\\Users\\<YOUR USERNAME>\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe -d ." |
You should not use the Open SSH client that comes with Git for Windows. Instead, Windows 10 has its own implementation of Open SSH that is integrated with the system. To achieve this:
ssh-agent from Windows Services:Services in the Start Menu or Win+R and then type services.msc to launch the Services window;OpenSSH Authentication Agent in the list and double click on it;OpenSSH Authentication Agent Properties window that appears, choose Automatic from the Startup type: dropdown and click Start from Service status:. Make sure it now says Service status: Running.Configure Git to use the Windows 10 implementation of OpenSSH by issuing the following command in Powershell: git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe;
Configure SSH to automatically add the keys to the agent on startup by editing the config file found at C:\Users\%YOUR_USERNAME%\.ssh\config, and add the following lines:
| /* | |
| SSAO GLSL shader v1.2 | |
| assembled by Martins Upitis (martinsh) (devlog-martinsh.blogspot.com) | |
| original technique is made by Arkano22 (www.gamedev.net/topic/550699-ssao-no-halo-artifacts/) | |
| changelog: | |
| 1.2 - added fog calculation to mask AO. Minor fixes. | |
| 1.1 - added spiral sampling method from here: | |
| (http://www.cgafaq.info/wiki/Evenly_distributed_points_on_sphere) | |
| */ |