Skip to content

Instantly share code, notes, and snippets.

View MeteSayan's full-sized avatar
😎

Mete Sayan MeteSayan

😎
View GitHub Profile
@MeteSayan
MeteSayan / how-to-open-git-repo-in-vscode-online.md
Created December 19, 2023 20:21
How to Open a GitHub Repository in VS Code Online?

How to Open a GitHub Repository in VS Code Online?

Method 1

https://github1s.com/<organization>/<repo>

Example
https://github1s.com/microsoft/vscode
@MeteSayan
MeteSayan / change-win10-max-path.md
Created September 20, 2023 15:23
How to Change Windows 10 256 Character Path Limitation (MAX_PATH)

How to Change Windows 10 256 Character Path Limitation (MAX_PATH)

With Registry Editor (Regedit)

  1. Open the Windows Start menu and type Regedit in the search field.
  2. Right-click the Registry Editor and select Run as administrator.
  3. Open this path => "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem"
  4. Select the entry named: LongPathsEnabled (If you don't have it, I explained how to create it below.)
  5. In the Value data field, enter a value of 1. This will enable to long paths option.
@MeteSayan
MeteSayan / get-db-connection-string.md
Created September 12, 2023 19:47
How To Get MSSQL DB Connection String From Visual Studio

How To Get MSSQL DB Connection String From Visual Studio

1- Open SQL Server Object Explorer

image

2- Right-click on the database whose connection string you want to access and left-click on the properties tab to open the properties.

image

3- Now you can see the connection string in the properties

image

@MeteSayan
MeteSayan / undo-changes-in-git.md
Created August 26, 2023 21:21
Undo Changes in Git

Undo Changes in Git

Undoing Local Changes That Have Not Been Committed

$ git status # List affected files
$ git checkout filename.html 
# File has now been reverted to previous commit