- Expanded
k get deploy -o yaml | yq '[.items[].spec.template.spec.containers[] | {.name: (.resources | {"cpu-req":.requests.cpu, "cpu-limit":.limits.cpu, "mem-req":.requests.memory, "mem-limit":.limits.memory})} ]'
- Shortened
k get deploy -o yaml | yq '[.items[].spec.template.spec.containers[] | {.name: (.resources | {"cpu": .requests.cpu + " / " + .limits.cpu, "mem": .requests.memory + " / " + .limits.memory})} ]'
This file contains 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
#rbrahul-awesome-json{ | |
font-size: 10pt; | |
} | |
.property{ | |
color: #86AED6; | |
} | |
.json-literal-numeric{ | |
color: #D6AED6; |
This file contains 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://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#21c7a8", | |
"foreground": "#011627", | |
"leading_diamond": "\u256d\u2500\ue0b6", |
This file contains 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
{ | |
"Title": "Dotnet", | |
"Description": "Common dotnet properties", | |
"Filters": [], | |
"Columns": [ | |
{ | |
"Expression": "Source" | |
}, | |
{ | |
"Expression": "RequestPath" |
- 1x https://www.amazon.com/dp/B076VNFZJG (BenQ Screenbar Monitor Light)
- 1x https://www.amazon.com/gp/product/B07FFN2HN6 (Cable Raceway Kit)
** I'm fine paying the extra over $130
This file contains 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
# Quickly re-create all binding redirects in all projects | |
Get-Project -All | Add-BindingRedirect | Out-Null |
This file contains 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
// @formatter:align_first_arg_by_paren false | |
// @formatter:align_linq_query true | |
// @formatter:align_multiline_argument true | |
// @formatter:align_multiline_array_and_object_initializer true | |
// @formatter:align_multiline_calls_chain true | |
// @formatter:align_multiline_expression true | |
// @formatter:align_multiline_extends_list true | |
// @formatter:align_multiline_for_stmt true | |
// @formatter:align_multiline_parameter true | |
// @formatter:align_multiline_switch_expression true |
This file contains 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
Show hidden characters
{ | |
"extensions": [ | |
"ms-dotnettools.csharp", | |
"formulahendry.dotnet-test-explorer", | |
"fernandoescolar.vscode-solution-explorer", | |
"shardulm94.trailing-spaces", | |
"pkief.material-icon-theme", | |
"jmrog.vscode-nuget-package-manager", | |
"patcx.vscode-nuget-gallery", | |
"k--kato.docomment", |
This file contains 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
<div id="app"> | |
<h1>{{ header }}</h1> | |
<p>Feel free to edit the HTML, JavaScript and CSS in this playground. The preview will update in real-time, so that | |
you can visually explore your ideas.</p> | |
<button @click="sayHi">Say Hi <span class="fa fa-heart" /></button> | |
</div> |
$cred = Get-Credential LLaughlinHV\Admin
$boxVm = Enable-BoxstarterVM -VmName LLaughlinHV -Credential $cred
$scriptUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/b543db14178f502bda3f3a0280ed0db7850790ad/HyperVSetup.ps1"
$objectBrowserUrl = "https://gist.githubusercontent.com/llaughlin/7be7bd8eaccb5edbc8ad16b50977aee9/raw/af26c39aca10c7b084fb6fd456a6617e2c157776/PSObjectBrowser.psm1"
NewerOlder