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
{ | |
"configurations": [ | |
{ | |
"name": "MSYS", | |
"includePath": [ | |
"${workspaceFolder}/**", | |
"Generated Files/**", | |
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/include", | |
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/cppwinrt", | |
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22621.0/shared", |
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 [System.IO.File]::WriteAllLines("$HOME\cmd_prompt.cmd", ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/assiless/ce0a325a76a90d1167528d581e1e3cdf/raw/cmd_prompt.cmd" -UseBasicParsing).Content -replace "(?<!`r)`n","`r`n"), (New-Object System.Text.UTF8Encoding $False)) | |
@REM REG ADD "HKLM\Software\Microsoft\Command Processor" /v AutoRun /t REG_SZ /d "$HOME\cmd_prompt.cmd" | |
@echo off | |
chcp 65001 > nul | |
@REM https://github.com/hXR16F/hyperial/blob/master/install.bat | |
@REM set `r=[0m&set `b=[1m&set `u=[4m&set `i=[7m&set fg`black-=[30m&set fg`red-=[31m&set fg`green-=[32m&set fg`yellow-=[33m&set fg`blue-=[34m&set fg`magenta-=[35m&set fg`cyan-=[36m&set fg`white-=[37m&set fg`black=[90m&set fg`red=[91m&set fg`green=[92m&set fg`yellow=[93m&set fg`blue=[94m&set fg`magenta=[95m&set fg`cyan=[96m&set fg`white=[97m&set bg`black-=[40m&set bg`red-=[41m&set bg`green-=[42m&set bg`yellow-=[43m&set bg`blue-=[44m&set bg`magenta-=[45m&set bg`cyan-=[46m&set bg`white-=[47m&set bg`black=[100m |
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
## usage : ⬇️ | |
# (wget "https://gist.githubusercontent.com/assiless/8bcd985475aaecd2ccd98ed9d09f973e/raw/Detect_Laptop.ps1").Content | Set-Content -encoding unicode "Detect_Laptop.ps1" | |
# Detect_Laptop.ps1 | |
# https://powershell.one/wmi/root/cimv2/win32_systemenclosure | |
# http://woshub.com/sccm-and-wmi-query-to-find-all-laptops-and-desktops/ | |
########################################################################################### | |
##########################💡🤔💭TO GET "Win32_" IDEA 💭🤔💡############################### | |
### Get-WMIObject -List| Where{$_.name -match "^Win32_"} | Sort Name | Format-Table Name### |
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
## usage : ⬇️ | |
# ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/assiless/c7c5848bb37bec85e9897240ccdf960e/raw/ps_prompt.ps1" -UseBasicParsing).Content -replace "(?<!`r)`n","`r`n") | Set-Content -encoding unicode "$HOME\ps_prompt.ps1" | |
# & "$HOME\ps_prompt.ps1" | |
# rm "$HOME\ps_prompt.ps1" | |
$CurrentScript = "$($MyInvocation.MyCommand.Definition)" | |
$Command ={ (get-content "$CurrentScript" -encoding utf8) | set-content -encoding Unicode "$CurrentScript"} | |
& $Command | |
Write-Host "$PSScriptRoot" |
NewerOlder