Skip to content

Instantly share code, notes, and snippets.

View HeyItsGilbert's full-sized avatar

Gilbert Sanchez HeyItsGilbert

View GitHub Profile
@HeyItsGilbert
HeyItsGilbert / colortest.ps1
Last active April 17, 2024 13:23
Colortest for PowerShell
$T='gYw' # The test text
Write-Host " 40m 41m 42m 43m 44m 45m 46m 47m"
$fgs = @(
' m',
' 1m',
' 30m',
'1;30m',
' 31m',
@HeyItsGilbert
HeyItsGilbert / resume.json
Last active January 19, 2024 22:37
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"meta": {
"version": "v1.0.0",
"canonical": "https://github.com/jsonresume/resume-schema/blob/v1.0.0/schema.json",
"theme": "elegant"
},
"basics": {
"name": "Gilbert Sanchez",
"label": "Señor Systems Engineer",
@HeyItsGilbert
HeyItsGilbert / ShellIntegration.ps1
Created July 17, 2023 23:12 — forked from mdgrs-mei/ShellIntegration.ps1
Adds escape codes to the prompt for the shell integration
# Reference:
# https://devblogs.microsoft.com/commandline/shell-integration-in-the-windows-terminal/
param
(
[ValidateSet('WindowsTerminal', 'ITerm2')]
[String]$TerminalProgram = 'WindowsTerminal'
)
# Restore hooked functions in case this script is executed accidentally twice
homeassistant:
container_name: hass-core
restart: unless-stopped
image: homeassistant/home-assistant:0.113.3
#network_mode: host
networks:
- t2_proxy
- iot
ports:
- "8123:8123"

Keybase proof

I hereby claim:

  • I am HeyItsGilbert on github.
  • I am heyitsgilbert (https://keybase.io/heyitsgilbert) on keybase.
  • I have a public key whose fingerprint is B402 E660 D362 95EC F092 CB08 F472 C90E 263B 7EF9

To claim this, I am signing this object: