Skip to content

Instantly share code, notes, and snippets.

Investigating a better artifact workflow

Jake Morrison techthoughts2

Investigating a better artifact workflow
View GitHub Profile
View install_pwsh_7
iex "& { $(irm } -UseMSI"
techthoughts2 / settings.json
Last active Apr 11, 2021
Current Windows Terminal Settings
View settings.json
// This file was initially generated by Windows Terminal 0.11.1333.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see:
// C:\Users\user\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState
"$schema": "",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
techthoughts2 / python.json
Last active Apr 11, 2021
Collection of Python Snippets for VSCode
View python.json
"if": {
"prefix": "if",
"body": ["if ${1:expression}:", "\t${2:pass}"],
"description": "Code snippet for an if statement"
"if/else": {
"prefix": "if/else",
"body": ["if ${1:condition}:", "\t${2:pass}", "else:", "\t${3:pass}"],
"description": "Code snippet for an if statement with else"
View .jake.omp.json
"$schema": "",
"blocks": [
"type": "prompt",
"alignment": "left",
"segments": [
// {
// "type": "text",
// "style": "plain",
techthoughts2 / ws_setup.ps1
Last active Apr 12, 2021
This PowerShell script will setup a fresh workstation with everything needed to sucessfully work and be a DevOps Master day-to-day.
View ws_setup.ps1
#region installs
# basic choco installs
$script:chocoInstalls = @(
# 'ytmdesktop' #
# choco azure installs
View az_pwsh.ps1
View install_powershell
iex "& { $(irm } -UseMSI -Quiet"
View cpu_stress
$NumberOfLogicalProcessors = Get-WmiObject win32_processor | Select-Object -ExpandProperty NumberOfLogicalProcessors
ForEach ($core in 1..$NumberOfLogicalProcessors) {
start-job -ScriptBlock {
$result = 1;
foreach ($loopnumber in 1..2147483647) {
$result = 1;
foreach ($loopnumber1 in 1..2147483647) {
$result = 1;
ssh -l jake
# read the manual pages - kind of like help
man cp # read the manual on the cp command
man 2 sync # gets you man page 2
manpath # where are man files located
1 User level commands and applications
View monitor_input_switch
Helper function to set the monitor input.
Uses ControlMyMonitor.exe to adjust VPCCode 60 for your monitor input.
Set-MonitorInputSource -InputSource HDMI
Switched to HDMI input