Skip to content

Instantly share code, notes, and snippets.

๐Ÿš€ GitHub Copilot Certification Cheat Sheet

๐Ÿ“œ Contract Stack

Definition: Clarifies usersโ€™ legal terms and obligations.

Key Points:

  • Terms depend on whether Copilot is purchased through GitHub or Microsoft.
  • Includes licensing, data usage, and privacy policies.
  • Important for understanding code suggestions and intellectual property.

Copilot API Calls Example

Telemetry

export ORG=<YOUR-ORG>
  • Get Business seat information and settings for an org
@mkol5222
mkol5222 / ci-image-producer.sh
Created July 13, 2025 18:01 — forked from Rene-Roscher/ci-image-producer.sh
Proxmox Cloud-Init / Image Pre-Configurator
#!/bin/bash
# Farbdefinitionen
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
WHITE='\033[1;37m'
NC='\033[0m' # Keine Farbe
@mkol5222
mkol5222 / proxmox_template_builder.sh
Created July 13, 2025 18:00 — forked from Hackiri/proxmox_template_builder.sh
create cloud init template proxmox
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
# Function to check for required utilities
function check_utilities() {
local utilities=("qm" "wget" "xz" "sha256sum" "ssh-keygen")
for util in "${utilities[@]}"; do
command -v "$util" >/dev/null 2>&1 || { echo "$util not found. Please install it."; exit 1; }
@mkol5222
mkol5222 / proxmox-cloudinit.md
Created July 13, 2025 17:59 — forked from adiberr/proxmox-cloudinit.md
Proxmox Template with Cloud Image and Cloud Init
@mkol5222
mkol5222 / distribute.sh
Created June 27, 2025 11:30 — forked from joe-at-cp/distribute.sh
File Distribute Script For Check Point Management Servers
#!/bin/bash
#distribute.sh
#Joe Dillig - Check Point Software 2019 - [email protected]
#Script used to distrubute custom dynamic object tracking scripts to managed gateways from the Check Point management server
#Location to transfer files to on each gateway
REMOTE_SCRIPT_DIR="/home/admin/scripts/dynobjs"
#List of files to distribute
@mkol5222
mkol5222 / gist:cb1587dd6f89e3a734848c890d3f5517
Created June 6, 2025 18:38 — forked from joe-at-cp/gist:ec810eedc7e059605575ce9e03ee8881
Azure Custom-Data - Check Point Management - Basic Autoreg Setup
#!/bin/bash
GUI_USER="admin"
GUI_PASS="vpn123"
API_USER="api_user"
API_PASS="vpn123"
config_system -s "install_security_gw=false&install_ppak=false&gateway_cluster_member=false&install_security_managment=true&install_mgmt_primary=true&install mgmt_secondary=false&mgmt_admin_name=$GUI_USER&mgmt_admin_passwd=$GUI_PASS&mgmt_gui_clients_radio=any"
while true;
do
# for string
awk '$3 ~ /snow/ { print }' dummy_file
# for numeric
cpwd_admin list | awk '{if ($4==1) {print $1}}'
# check if column contains a string and print it, will print just the columns containing the lines
mpstat -P ALL 1 1 | awk '$12 ~ /idle/ {print $12}'
# check if column contains a string and print it, if matched string, print all the values in this column
@mkol5222
mkol5222 / aro-create.sh
Last active February 10, 2025 10:07 — forked from sabbour/aro-create.sh
Create an Azure Red Hat OpenShift cluster
LOCATION=northeurope # the location of your cluster
RESOURCEGROUP=aro-rg # the name of the resource group where you want to create your cluster
CLUSTER=aro # the name of your cluster
az group create \
--name $RESOURCEGROUP \
--location $LOCATION
az network vnet create \
--resource-group $RESOURCEGROUP \
@mkol5222
mkol5222 / send_bytes_bluetoothctl_spp.md
Created January 22, 2025 14:59 — forked from zeheater/send_bytes_bluetoothctl_spp.md
Sending raw bytes to SPP Mobile Printer with bluetoothctl bluez

Send Raw Bytes to Bluetooth SPP with bluetoothctl

bluetoothctl gatt.list-attributes
bluetoothctl gatt.select-attributes <spp - attributes>
bluetoothctl gatt.write "0xhh 0xhh ..."

Using interactive cli