Step-by-step guide. Works with Nest.js, Express.js or any other Node.js project. I'm going to show you how to do this quickly and easily, so let's get started.
  
    
      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
    
  
  
    
  | # Script to set up a Windows 11 machine for software development | |
| # Author: Gary Oberbrunner, [email protected] | |
| # License: MIT | |
| # Requires elevation | |
| if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
| Write-Host "This script requires admin privileges. Please run PowerShell as Administrator and try again." | |
| Exit 1 | |
| } | 
  
    
      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
    
  
  
    
  | // ==UserScript== | |
| // @name Table copier (to clipboard) | |
| // @version 0.3.1 | |
| // @description Choose from your userscipts addon menu. All tables are highlighted, click one to copy, elsewhere to cancel. Copy table and paste into spreadsheets like Excel, Google Sheets, LibreOffice Calc, OpenOffice Calc and others. | |
| // @author Jakub Marcinkowski <kuba.marcinkowski on g mail> | |
| // @copyright 2024+, Jakub Marcinkowski <kuba.marcinkowski on g mail> | |
| // @license Zlib | |
| // @namespace Jakub Marcinkowski | |
| // @homepageURL https://gist.github.com/JakubMarcinkowski | |
| // @homepageURL https://github.com/JakubMarcinkowski | 
  
    
      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
    
  
  
    
  | // ==UserScript== | |
| // @name Disable Page Visibility API and Copy-Paste detection | |
| // @version 1 | |
| // @grant none | |
| // @match *://*/* | |
| // ==/UserScript== | |
| /* Disable Page Visibility API */ | |
| /* https://github.com/IceWreck/Page-Visibility-User-Script */ | |
| let events_to_block = [ | 
Moved to https://api.fmhy.net
  
    
      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
    
  
  
    
  | #restore from file | |
| Get-Content .\vscode.extensions | ForEach-Object {code --install-extension $_} | |
| #backup to file | |
| code --list-extensions > vscode.extensions | 
  
    
      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
    
  
  
    
  | Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PeerDistSvc] | |
| "Start"=dword:00000004 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\diagsvc] | |
| "Start"=dword:00000004 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache] | |
| "Start"=dword:00000004 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GraphicsPerfSvc] | |
| "Start"=dword:00000004 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppVClient] | 
  
    
      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
    
  
  
    
  | var cl,ce,cw; | |
| if(window.console && console.log){ | |
| cl = console.log; | |
| console.log = function(){ | |
| MyLogFunction(arguments); | |
| cl.apply(this, arguments) | |
| } | |
| } |