- Ctrl + N - Go to class 🏫
- Ctrl + Shift + N - Go to file 📄
- Ctrl + Alt + Shift + N - Go to symbol ♾️
- Ctrl + B / Ctrl + Click - Go to declaration 📜
- Ctrl + Alt + B - Go to implementation(s) 👷
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
REM originally found here - https://medium.com/tinywave/svn-automatic-update-using-batch-file-9eaf78f226b9 | |
set CHECKOUTFOLDER=D:\folder1*D:\folder2 | |
set SVNPATH=C:\Program Files\TortoiseSVN\bin | |
"%SVNPATH%\TortoiseProc.exe" /command:update /path:"%CHECKOUTFOLDER%" /closeonend:2 |
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
To test features on any domain that needs HTTPS (Secured) connection - | |
enable these settings - | |
for chrome -go to chrome://flags/#unsafely-treat-insecure-origin-as-secure ->then enter domain and enable it | |
for firefox - go to about:config ->then enable -> media.getusermedia.insecure.enabled |
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
sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" input_file > output_file | |
(Get-Content input_file) -replace "\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]", "" | Set-Content output_file |
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
# Get input path from user | |
$path = Read-Host "Enter file or folder path" | |
# Check if input path is a file or folder | |
if (Test-Path $path -PathType Leaf) { | |
# If path is a file, process it and save output to 'Cleaned' subdirectory | |
$outputPath = Join-Path (Split-Path $path) "Cleaned" | |
New-Item -ItemType Directory -Path $outputPath -Force | |
(Get-Content $path -Raw) -replace "\x1B\[[0-9;]*[mK]" | Set-Content (Join-Path $outputPath (Split-Path $path -Leaf)) | |
} elseif (Test-Path $path -PathType Container) { |
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
public static void showProgressWithETA(int current, int total, long startTime) { | |
long elapsedTimeMillis = System.currentTimeMillis() - startTime; | |
int percent = current * 100 / total; | |
int progress = percent / 2; | |
System.out.print("\r["); | |
for (int i = 0; i < progress; i++) { | |
System.out.print("\u001b[32m=\u001b[0m"); | |
} | |
for (int i = progress; i < 50; i++) { | |
System.out.print(" "); |
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
function Rename-FolderIcons { | |
param( | |
[string]$folderPath, | |
[int]$depth = 0 | |
) | |
$subDirectories = Get-ChildItem -Path $folderPath -Directory | |
$totalDirs = $subDirectories.Count |
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
if (pm.response.code === 401) { | |
pm.sendRequest({ | |
url: 'https://YOUR-KEYCLOAK-SERVER/realms/REALM-NAME/protocol/openid-connect/token', | |
method: 'POST', | |
header: 'Content-Type:application/x-www-form-urlencoded', | |
body: { | |
mode: 'urlencoded', | |
urlencoded: [ | |
{key: "grant_type", value: "client_credentials"}, | |
{key: "client_id", value: "YOUR CLIENT ID"}, |
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
(fix|task|Task|bug|Bug|feature|Feature)(_| |:|: |-|- | - | : )#?(\d+) |