Skip to content

Latest commit

 

History

History
270 lines (200 loc) · 11.7 KB

workspace.md

File metadata and controls

270 lines (200 loc) · 11.7 KB

Workspace setup (Windows)

Workspace tools

VS Code

VS Code Profiles

VS Code Style

enter image description here

Instructions

  1. Install vs code extension Outrun Meets Synthwave
  2. Install vs code extension Bearded Icons
  3. Install vs code extension Custom CSS and JS Loader
  4. Download Mononoki and Fira Code from Nerd Fonts (mononki it's the one I use super clean) but if you want ligatures arrows then use Fira Code)
  5. on vs code open up the user settings cmd + p then search for user settings and copy the settings on the settings.json file from this repo ( if you want it exactly like mines paste it at the bottom if you don't want to override your own settings then paste it at the top of file)
  6. Replace the vscode_custom_css.imports depending your operative system, and add your user or file location in your VS Code settings.json
On Mac:

{
  "vscode_custom_css.imports": [
    "file:///Users/{your username}/.vscode/extensions/codevars.outrun-meets-synthwave-0.0.1/synthWaveStyles.css"
    ]
}

Windows:

{
  "vscode_custom_css.imports": [
    "file:///C:/Users/{your username}/.vscode/extensions/codevars.outrun-meets-synthwave-0.0.1/synthWaveStyles.css"
    ]
}

Linux:
{
    "vscode_custom_css.imports": [
        "file:///home/{your username}/.vscode/extensions/codevars.outrun-meets-synthwave-0.0.1/synthWaveStyles.css"
    ]
}
  1. Copy and paste the css inside of the codingphase-style.css file and replace the styles inside the synthWaveStyles.css file

Creating VS Code Snippets

  1. Create a snippet then goto snippet-generator and convert your snippet for VS Code.
  2. From Setting Icon select User Snippets and select whether you want it to be a global or language specific then give a trigger and save it.

Neovim

Editor

Configs

Windows

Old Context Menu In Windows 11

  • Manually

    • Open Registry Editor
    • Navigate to HKEY_CURRENT_USER\Software\Classes\CLSID
    • Right-click the folder and select New > Key
    • Assign the name {86ca1aa0-34aa-4e8b-a509-50c905bae2a2}
    • Right-click the new key, and select New > Key
    • Name it InprocServer32
    • Edit the default string inside the InprocServer32 key, and set the data to empty/null.
    • Reboot, and the context-menu should be available.
  • Auto

    • Create a file with {name}.reg any where then open it with notepad and paste teh bellow code inside it save it and then double click on the file and click yes on all the popup and after that reboot.

    • Windows Registry Editor Version 5.00
      [HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
      
      [HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
      @="empty/null"

Remove Open With Visual Studio from Context Menu

  • Open Registry Editor (Search it in the windows search)
  • In the Registry Editor put the bellow link in the nav it will take you to folder name AnyCode just delete the folder
  • HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode
  • HKEY_CLASSES_ROOT\Directory\shell\AnyCode

Clean Run recent lists

  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU

Add to open with in context menu (right click) for any app

  • For Adding

    Create a add.bat file and pase these code inside and run as Admin

    @echo off
    
    @REM Change the file location based on your app location
    SET stPath=C:\Program Files\Sublime Text\sublime_text.exe
    
    @REM Change the open with Sublime Text with the name you want to see for all 12 Places
    @REM for example @reg add "HKEY_CLASSES_ROOT\*\shell\Open with VS Code"         /t REG_SZ /v "" /d "Open with VS Code"   /f
    
    rem add it for right-clicking all file types
    @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text"         /t REG_SZ /v "" /d "Open with Sublime Text"   /f
    @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text"         /t REG_EXPAND_SZ /v "Icon" /d "%stPath%,0" /f
    @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%stPath% \"%%1\"" /f
    
    rem add it for right-clicking a folders
    @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text"         /t REG_SZ /v "" /d "Open with Sublime Text"   /f
    @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text"         /t REG_EXPAND_SZ /v "Icon" /d "%stPath%,0" /f
    @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%stPath% \"%%1\"" /f
    
    rem add it for right-clicking inside folders
    @reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text"         /t REG_SZ /v "" /d "Open with Sublime Text"   /f
    @reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text"         /t REG_EXPAND_SZ /v "Icon" /d "%stPath%,0" /f
    @reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%stPath% \"%%W\"" /f
    pause
  • For Deleting

    Create a delete.bat file and put these code inside and run as Admin

    @REM Change the open with Sublime Text as you added for your app for all 3 places
    @REM for example @reg delete "HKEY_CLASSES_ROOT\*\shell\Open with VS Code"
    
    @echo off
    rem for deleting right-clicking all file types
    @reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text"
    
    rem for deleting right-clicking a folders
    @reg delete "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text"
    
    rem for deleting right-clicking inside folders
    @reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Open with Sublime Text
    pause
  • Or you get get the file from here open with notepad and modify them

To rename all jpg in a folder to png

  • Create a rename.bat file in that folder
  • Then open it with notepad and paste the bellow
  • ren *.jpg *.png and save the file
  • Then double click

Add prefix to all the file name in a folder

  • Create a rename.bat file in that folder

  • Then open it with notepad and paste the bellow code and save the file

  • Then double click

    @echo off
    setlocal enabledelayedexpansion
    
    set "prefix=prefix_"
    
    for %%F in (*.*) do (
        set "oldName=%%~nF"
        set "extension=%%~xF"
        set "newName=!prefix!!oldName!!extension!"
        ren "%%F" "!newName!"
    )
    endlocal

Make Folder Invisible

  • Right click and select rename then alt + 0160
  • Right click and select properties select customize then change icon and pick a blank icon

GodMode

Create a new folder on your Windows Desktop (or in any other folder that you might want to have this God Mode icon) and change the name to: GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Run Commnads

  • cleanmgr
  • %temp%
  • temp
  • recent
  • prefetch
  • %AppData%
  • %LocalAppData%
  • shell:startup
  • shell:appsfolder
  • shell:common startup
  • SystemPropertiesAdvanced to see windows users list
  • chrome.exe --user-data-dir="c:/ChromeDevSession"