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
docker run -v [local path]:/code -it node bash | |
cd /code | |
echo "console.log('Hello, World');" > app.js | |
node app.js | |
docker run -v [local path]:/code -it microsoft/dotnet bash | |
cd /code | |
dotnet new console | |
dotnet run |
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
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -DisableShowProtectedOSFiles | |
Set-TaskbarOptions -Size Small | |
cinst git | |
cinst visualstudiocode | |
cinst notepadplusplus | |
cinst 7zip | |
cinst paint.net | |
$o = New-Object -com Shell.Application |
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
import time | |
import board | |
import busio | |
import random | |
from adafruit_ht16k33 import matrix | |
i2c = busio.I2C(board.SCL, board.SDA) | |
matrix = matrix.Matrix8x8(i2c, auto_write=False) |
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
# Put in $PSHOME\Profile.ps1 | |
function prompt { | |
$location = Get-Location | |
Write-Host ($location.ToString().Replace($env:USERPROFILE, "~") + ">") -NoNewline | |
return " " | |
} |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false | |
}, |
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
# Originally from | |
# https://www.kevinkuszyk.com/2018/12/10/git-tips-6-using-git-with-multiple-email-addresses/ | |
# and | |
# https://stackoverflow.com/questions/43919191/git-2-13-conditional-config-on-windows | |
[includeIf "gitdir:C:/code/"] | |
path = .gitconfig-emmersion | |
[includeIf "gitdir:C:/Users/Jon/Personal/"] | |
path = .gitconfig-personal | |
[user] | |
name = Jon Turner |
OlderNewer