Skip to content

Instantly share code, notes, and snippets.

View juanluelguerre's full-sized avatar
:octocat:
Developing...

Juan Luis Guerrero Minero juanluelguerre

:octocat:
Developing...
View GitHub Profile
@juanluelguerre
juanluelguerre / Ubuntu-WSL
Created November 27, 2019 12:12
Ubuntu WSL Install Docker, Kubernetes, ....
#!/bin/bash
sudo apt-get update
sudo apt install docker.io
sudo service docker start
# Configure docker daemon
# https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
@juanluelguerre
juanluelguerre / Ubuntu-WSL
Created November 27, 2019 12:12
Ubuntu WSL Install Docker, Kubernetes, ....
#!/bin/bash
sudo apt-get update
sudo apt install docker.io
sudo service docker start
# Configure docker daemon
# https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly
@juanluelguerre
juanluelguerre / Windows CMD
Created April 28, 2020 14:29
Windows CMD
**Generate ls command **
echo @dir %* > %systemroot%\system32\ls.bat
# Remove node_modules
npm install rimraf -g
rimraf node_modules
rimraf .\**\node_modules
@juanluelguerre
juanluelguerre / start.ps1
Last active November 20, 2021 15:12
[BLOG] Windows Terminal Scripts Execution
$orchestration = '--title "Workflow Orchestration" -- pwsh.exe -Interactive -NoExit -WorkingDirectory ../../MicroServices/Workflow/Orchestration -Command dapr run --app-id subpla-workflow-orchestration --dapr-grpc-port 50000 --app-port 3001'
$TechValidation = '--title "Techical Validation" -- pwsh.exe -Interactive -NoExit -WorkingDirectory ../../MicroServices/Workflow/Processes\TechnicalValidation -Command dapr run --app-id techvalidation-worker --dapr-grpc-port 50001 --app-port 5050 --app-protocol grpc'
#$cmd = '-M -w -1 nt ' + $orchestration + '; nt ' + $TechValidation
$cmd = '-w -1 nt ' + $orchestration + '; split-pane ' + $TechValidation
Start-Process wt $cmd
@juanluelguerre
juanluelguerre / Install WinGet Stuff
Last active December 9, 2022 13:29 — forked from paulyuk/Install WinGet Stuff
Install WinGet Stuff
Winget install "Windows Terminal Preview"
Winget install "Microsoft .NET SDK" # assume .NET SDK 7.0+ (the latest one)
Winget install "Microsoft.dotnetRuntime.3-x64" #for Tye
Winget install "Python.Python.3"
Winget install "Node.js"
Winget install "Git"
# Winget install "Company Portal"
Winget install "Microsoft Azure Storage Explorer"
Winget install "Microsoft Azure CLI"
# Winget install "Discord"