This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\Copy full name\command] | |
@="cmd /c echo | set /p=\"%1\"| clip" | |
[HKEY_CLASSES_ROOT\*\shell\Copy full name\command] | |
@="cmd /c echo | set /p=\"%1\"| clip" |
This file contains 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
#Requires -RunAsAdministrator | |
New-PSDrive -Name HKCR_RMTO -PSProvider Registry -Root 'HKEY_CLASSES_ROOT' | |
pushd HKCR_RMTO: | |
$keys = '*\shellex\ContextMenuHandlers\ FileSyncEx', 'Directory\Background\shellex\ContextMenuHandlers\ FileSyncEx', 'Directory\shellex\ContextMenuHandlers\ FileSyncEx', 'IE.AssocFile.URL\shellex\ContextMenuHandlers\ FileSyncEx', 'lnkfile\shellex\ContextMenuHandlers\ FileSyncEx' | |
$rights = 'ChangePermissions', 'CreateSubKey', 'Delete', 'FullControl', 'SetValue', 'TakeOwnership', 'WriteKey' | |
foreach ($key in $keys) { | |
REG DELETE "HKEY_CLASSES_ROOT\$key" /ve /f |
This file contains 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
#Requires -RunAsAdministrator | |
param( | |
[Parameter(Mandatory=$true)] | |
[string]$Path | |
) | |
$ErrorActionPreference = 'Stop' | |
# Import certificate |
This file contains 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
// Vegas Pro script that fits a track event to the media's original size | |
// Background: when a media is added to a track, it is scaled to fit the project's video dimensions | |
// This script scales it back to its original size | |
// It works by changing the first frame of video motion | |
// If using Vegas Pro 14 or later, comment Sony.Vegas and uncomment ScriptPortal.Vegas | |
using Sony.Vegas; | |
// using ScriptPortal.Vegas; | |
public class EntryPoint { |
This file contains 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
# Convert-LiveStreams.ps1 | |
# Place this file and live_streams.txt in your ETS2 document folder | |
# Put your streams in live_streams.txt, one each line, like (include the quotes!): | |
# "http://example.com/|Some Radio|Sim radio|CN|128|0" | |
# Lines starting with # are ignored, so you can switch them on/off | |
# Right-click this script and run with PowerShell, it will generate live_streams.sii | |
$ErrorActionPreference = "Stop"; |
This file contains 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
Windows Registry Editor Version 5.00 | |
; Allow changing lock screen idle time in Advanced Power Options | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\7516b95f-f776-4464-8c53-06167f40cc99\8EC4B3A5-6868-48c2-BE75-4F3044BE88A7] | |
"Attributes"=dword:00000002 | |
; Remove "3D Objects" | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] |
This file contains 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
Show hidden characters
{ | |
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: LLVM }", | |
"[csharp]": { | |
"editor.formatOnType": true | |
}, | |
"[dockercompose]": { | |
"editor.tabSize": 2 | |
}, | |
"[html]": { | |
"editor.tabSize": 2 |