Table of Contents
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
{ | |
"Ansi 4 Color" : { | |
"Red Component" : 0.035294119268655777, | |
"Color Space" : "sRGB", | |
"Blue Component" : 0.85490196943283081, | |
"Alpha Component" : 1, | |
"Green Component" : 0.4117647111415863 | |
}, | |
"Tags" : [ |
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
using System; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.IO; | |
using System.Management.Automation; | |
using System.Management.Automation.Runspaces; | |
using System.Reflection; | |
using System.Threading.Tasks; | |
/// <summary> |
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
{ | |
"cpbasic": { | |
"prefix": "cpbasic", | |
"description": "", | |
"body": [ | |
"#include <bits/stdc++.h>", | |
"using namespace std;", | |
"#pragma region header__", | |
"", | |
"#pragma region aliases___", |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "VMM", | |
"type": "go", | |
"request": "launch", |
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
{ | |
"enabled": true, | |
"fetchNews": true, | |
"theme": { | |
"mode": 1, | |
"brightness": 100, | |
"contrast": 100, | |
"grayscale": 0, | |
"sepia": 0, | |
"useFont": false, |
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
{ | |
"CP Template": { | |
"prefix": "cpt", | |
"body": [ | |
"#include <bits/stdc++.h>", | |
"using namespace std;", | |
"/*----------------------------------------------------------------------------*/", | |
"#define ff first", | |
"#define ss second", | |
"using ll = long long;", |
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
{ | |
"editor.fontFamily": "Jetbrains Mono", | |
"editor.fontLigatures": true, | |
"editor.tabSize": 2, | |
"workbench.tree.indent": 4, | |
"atomKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"workbench.iconTheme": "vscode-icons", | |
"go.formatTool": "goimports", | |
"debug.console.fontFamily": "JetBrainsMono NF", |
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
# * Powershell | |
ubuntu_ver=$(cut -f2 <<< $(lsb_release -r)) | |
# Download the Microsoft repository GPG keys | |
wget -q "https://packages.microsoft.com/config/ubuntu/${ubuntu_ver}/packages-microsoft-prod.deb" | |
# Register the Microsoft repository GPG keys | |
sudo dpkg -i packages-microsoft-prod.deb |
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
$VMMUname = '' | |
$VMMPass = '' | |
$Sess = @{} | |
function Show-VMMMemory { | |
[alias("vmmspec")] | |
param() | |
$hostname = $Sess['vmm'].ComputerName | |
Write-Output "Getting memory spec details for $hostname ..." | |
Invoke-Command -Session $Sess['vmm'] { |
NewerOlder