Skip to content

Instantly share code, notes, and snippets.

View amnweb's full-sized avatar
🏠
Working from home

amnweb

🏠
Working from home
View GitHub Profile
@javifm86
javifm86 / vscode-default-color-theme.json
Last active May 21, 2024 12:30
Default colors used in VSCode, useful if you want to create your own theme using your color palette and want to provide similar colors to the defaults ones.
{
"name": "Default colors dark",
"type": "dark",
"colors": {
// Base colors
"focusBorder": "#007fd4",
"foreground": "#cccccc",
"widget.shadow": "#0000005c",
// "selection.background": // null
@michaeltlombardi
michaeltlombardi / profile_helpers.ps1
Last active May 21, 2024 02:45
Cross Platform theming and prompt built on FiraCode, Monokai, and Starship
#region Custom Function Definitions
Function Test-Administrator {
$CurrentUser = [Security.Principal.WindowsIdentity]::GetCurrent()
$AdministratorRole = [Security.Principal.WindowsBuiltInRole] "Administrator"
([Security.Principal.WindowsPrincipal]$CurrentUser).IsInRole($AdministratorRole)
}
#endregion
#region Prompt Prep
# Set ENV for elevated status
@Ian-FR
Ian-FR / Fix WSL DNS
Last active February 23, 2024 15:38
WSL as Web Server
# /etc/wsl.conf
[network]
generateResolvConf = false
# /etc/resolv.conf
nameserver 8.8.8.8
nameserver 1.1.1.1