Skip to content

Instantly share code, notes, and snippets.

Last active Oct 12, 2021
What would you like to do?
⭐️ FRESH WINDOWS -- instalador rapido de chocolatey que pide permiso de admin UAC

Recordar instalar node 12 con nvm y que Docker-Compose no puede interconectar contenedores en WSL, se debe usar Windows

Instalar chocolatey (usando PowerShell como admin)

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(''))

Instalar mis paquetes favoritos

choco install -y --allow -empty-checksums --ignore-checksum googlechrome slack vscode winrar qbittorrent microsoft-windows-terminal firefox docker-desktop tableplus epicgameslauncher steam telegram goggalaxy vlc auto-dark-mode geforce-experience wsl cpu-z hwmonitor hwinfo office365business

notepad %USERPROFILE%\choko.bat

@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' 'am_admin "%~1" "%~2"' & exit)
echo Instalando %2..
choco install -y --allow-empty-checksums --ignore-checksum %2

notepad %USERPROFILE%\shoko.bat

@echo off
echo Buscando %1..
choco search %1

notepad %USERPROFILE%\.wslconfig


Permitir ejecución de scripts, en PowerShell ISE escribir:

Set-ExecutionPolicy RemoteSigned

Config Microsoft Terminal

La fuente está en C:\Users\sebfi\OneDrive\Documentos\Fuentes

  "name": "Ubuntu", 
  "commandline": "wsl ~",
  "fontFace": "CaskaydiaCove Nerd Font",
  "fontSize": 11


gp() ( git add -A; git commit -m "$*"; git push )
# proxy
if [[ `ps x|grep "ssh -ND" | wc -l | xargs` == 1 ]]; then
(nohup ssh -ND 1080 vm > /dev/null 2>&1 &)
echo proxy ok
None, Up, Button4, 3
None, Down, Button5, 3
imwheel -kill -b 45
     "Alt-/": "lua:comment.comment",
     "CtrlX": "Quit",
     "CtrlK": "Cut",
     "CtrlU": "Paste",
     "CtrlX": "Quit",
"terminal.integrated.fontFamily": "CaskaydiaCove Nerd Font",
"emmet.includeLanguages": {
"javascript": "javascriptreact"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment