Color | RGB | Item | RGB |
---|---|---|---|
Black |
|
Foreground |
|
Red |
|
Background |
|
Green |
|
Cursor color |
|
Yellow |
|
Selection background |
|
By default, Windows 11 shows a simplified right-click context menu, and you have to click "Show more options" (or press Shift + F10) to access the full legacy menu. You can make Windows 11 always show the full context menu by following these steps:
- Run the following command in Command Prompt (Admin):
reg add "HKEY_CURRENT_USER\Software\Classes\CLSID\{86CA1AA0-34AA-4E8B-A509-50C905BAE2A2}\InprocServer32" /f /ve
- Restart Windows Explorer by running:
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
#!/bin/bash | |
# Log and data files | |
LOG_FILE="distro_checker.log" | |
DATA_FILE="distro_versions.txt" | |
# Source the external distro configuration file | |
source "./distro_checker_config.sh" | |
# Function to fetch and extract version information |
Huffman coding is a lossless data compression algorithm that assigns shorter binary codes to more frequent characters and longer codes to less frequent characters. This minimizes the overall size of encoded data while ensuring perfect decompression.
- Analyze Character Frequencies
- Count how often each character appears in the text.
- Build a Huffman Tree
- Create a binary tree where characters with lower frequency are placed deeper.
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
# Define the target directory | |
$targetDirectory = "C:\Path\To\Your\Directory" | |
# Initialize counters for each file type | |
$counterPDF = 0 | |
$counterTXT = 0 | |
# Process both "booklist.pdf" and "booklist.txt" | |
foreach ($fileType in @("booklist.pdf", "booklist.txt")) { | |
Get-ChildItem -Path $targetDirectory -Recurse -Filter $fileType | ForEach-Object { |
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
@echo off | |
C:\Users\jing\anaconda3\python.exe "C:\Users\jing\AppData\Local\Microsoft\WindowsApps\rename_photos.py" %* | |
pause |
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
@echo off | |
:: Script to rename files: lowercase and replace spaces with underscores | |
setlocal enabledelayedexpansion | |
:: Check if any files were passed | |
if "%~1"=="" ( | |
echo Usage: Drag and drop files onto this script to rename them. | |
echo The script will rename files to lowercase and replace spaces with underscores. | |
pause | |
exit /b |
flowchart TD
A[Locate Both Cars] --> B[Position Cars Close]
B --> C[Turn Off Both Cars]
C --> D[Connect Red Jumper Cable to Dead Battery's Positive Terminal]
D --> E[Connect Red Jumper Cable to Good Battery's Positive Terminal]
E --> F[Connect Black Jumper Cable to Good Battery's Negative Terminal]
F --> G[Connect Black Jumper Cable to Metal Surface on Dead Car]
G --> H[Start Good Car]
%USERPROFILE%\Portable\Sysinternals\BGInfo\Bginfo64.exe .\Configs\BGInfo.bgi /timer:60
%USERPROFILE%\Portable\Sysinternals\BGInfo\Bginfo64.exe .\Configs\BGInfo.bgi /popup /taskbar
NewerOlder