- Stacer - Linux System Optimizer and Monitoring
- Visual Studio Code - IDE - all the things
- Docker - Docker extension
- Ansible - Ansible extension
- Bash Debug - Bash debugger extension
- Zsh shell - Alternative to bash
- zplug - Manage zsh plugins
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
| #!/bin/bash | |
| # Sometimes you need to move your existing git repository | |
| # to a new remote repository (/new remote origin). | |
| # Here are a simple and quick steps that does exactly this. | |
| # | |
| # Let's assume we call "old repo" the repository you wish | |
| # to move, and "new repo" the one you wish to move to. | |
| # | |
| ### Step 1. Make sure you have a local copy of all "old repo" | |
| ### branches and tags. |
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
| // Since this can compromise privacy, the position is not available unless the user approves it. | |
| function get_location() { | |
| try { | |
| navigator.geolocation.watchPosition((pos) => { | |
| try { | |
| var coords = pos.coords; | |
| } catch { | |
| var coords = false; | |
| } | |
| if (!coords) { |
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
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| #Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
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
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
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
| winget install --id=Microsoft.VisualStudioCode -e && winget install --id=AgileBits.1Password -e && winget install --id=7zip.7zip -e && winget install --id=Twilio.Authy -e && winget install --id=Bethesda.Launcher -e && winget install --id=Microsoft.Bicep -e && winget install --id=Microsoft.bitsmanager -e && winget install --id=BrutalChess.BrutalChess -e && winget install --id=TechSmith.Camtasia -e && winget install --id=code52.Carnac -e && winget install --id=Docker.DockerDesktop -e && winget install --id=joncampbell123.DOSBox-X -e && winget install --id=JGraph.Draw -e && winget install --id=Dropbox.Dropbox -e && winget install --id=ElectronicArts.EADesktop -e && winget install --id=File-New-Project.EarTrumpet -e && winget install --id=Elgato.ControlCenter -e && winget install --id=Elgato.StreamDeck -e && winget install --id=EpicGames.EpicGamesLauncher -e && winget install --id=Figma.Figma -e && winget install --id=TimKosse.FileZilla.Client -e && winget install --id=BlastApps.FluentSearch -e && winget install |
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
| $remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" | |
| $found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; | |
| if( $found ){ | |
| $remoteport = $matches[0]; | |
| } else{ | |
| echo "The Script Exited, the ip address of WSL 2 cannot be found"; | |
| exit; | |
| } |
OlderNewer