Context Graph & Agent Team Plan
CODEBASE HEALTH
│
┌───────────┬─────────────┼─────────────┬───────────┐
▼ ▼ ▼ ▼ ▼
┌────────┐ ┌────────┐ ┌──────────┐ ┌─────────┐ ┌────────┐
│SECURITY│ │QUALITY │ │ INFRA │ │ OPS │ │ DATA │
│ │ │ │ │ │ │ │ │ │
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
| #!/usr/bin/env zsh | |
| set -euox | |
| # Remove all Application shortcuts from Apple macOS Dock | |
| defaults write "com.apple.dock" "persistent-apps" -array | |
| # Kill the OSX Dock, which will restart | |
| killall Dock |
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
| #!/usr/bin/env bash | |
| set -euox | |
| ## | |
| # Disable click to show desktop | |
| # run with `bash disable_click_to_show_desktop.sh` | |
| # or `chmod +x disable_click_to_show_desktop.sh && ./$_` | |
| # `defaults` is pretty handy! https://ss64.com/mac/defaults.html | |
| ## |
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
| provider "azurerm" { | |
| version = "2.0" | |
| } | |
| resource "azurerm_resource_group" "example" { | |
| name = "example-rg" | |
| location = "westus2" | |
| } | |
| resource "azurerm_virtual_network" "example" { |
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
| # From https://docs.datadoghq.com/network_monitoring/performance/setup/?tab=agentwindows | |
| # File location: C:\ProgramData\Datadog\system-probe.yaml | |
| ################################## | |
| ## System Probe Configuration ## | |
| ################################## | |
| ## @param system_probe_config - custom object - optional | |
| ## Enter specific configurations for your System Probe data collection. | |
| ## Uncomment this parameter and the one below to enable them. |
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
| from dogapi import dog_http_api as api | |
| ##### Parameters ##### | |
| # Credentials | |
| api.api_key = 'my_api_key' | |
| api.application_key = 'my_application_key' | |
| # Dashboard information | |
| title = "Test Quentin via API" |
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
| ## All options defined here are available to all instances. | |
| # | |
| init_config: | |
| ## @param use_localized_counters - boolean - optional - default: false | |
| ## Whether performance object and counter names should refer to their | |
| ## locale-specific versions rather than their English name. | |
| # | |
| # use_localized_counters: false |
Open a Powershell Admin shell by pressing Winkey+R, type “powershell” and hit ctrl+shift+enter to run as admin.
Run the follwing to install Chocolatey:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))Then install some packages you'll want, using -y to confirm:
choco install -y google-chrome-x64 vscode conemu git github-desktp curl far powershell-coreError message when attempting install:
OSX could not be installed on you computer. No packages were eligible for install.
The problem - the certificates in the installer are out of date. In order to address this, we can change the date and time on the command line, but we will need to disable networking first.
In your virtualisation manager, disable the network interface connected to your VM.
Under "Utilities" in the top menu bar, choose "Command Line".
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
| #!/usr/bin/env sh | |
| # Version of rpm shipped with ADM 4 doesn't do `rpm -ivh` | |
| # Hacky, but working for now | |
| # All packages from RPM find, el7 x86-64 versions, latest | |
| # e.g.: https://www.rpmfind.net/linux/rpm2html/search.php?query=mc&submit=Search+... | |
| # `wget https://www.rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/mc-4.8.7-11.el7.x86_64.rpm` | |
| rpm -i gpm-libs-1.20.7-6.el7.x86_64.rpm | |
| rpm -i libssh2-1.8.0-4.el7.x86_64.rpm |
NewerOlder