Skip to content

Instantly share code, notes, and snippets.

View robertchrk's full-sized avatar

Robert Kugler robertchrk

View GitHub Profile
@robertchrk
robertchrk / disable.sh
Last active July 18, 2022 16:17
Block GitHub Copilot telemetry
#!/bin/bash
# Block GitHub Copilot telemetry
sudo echo "block drop from any to copilot-telemetry.githubusercontent.com" > /etc/pf.anchors/block_copilot_telemetry
sudo echo "block drop from any to 140.82.114.22" >> /etc/pf.anchors/block_copilot_telemetry
sudo echo "block drop from any to 140.82.114.21" >> /etc/pf.anchors/block_copilot_telemetry
sudo echo "anchor \"block_copilot_telemetry\"" >> /etc/pf.conf
sudo echo "load anchor \"block_copilot_telemetry\" from \"/etc/pf.anchors/block_copilot_telemetry\"" >> /etc/pf.conf
sudo echo "" >> /etc/pf.conf
sudo pfctl -evf /etc/pf.conf
@robertchrk
robertchrk / test.js
Last active December 14, 2019 17:04
alert('l33t');
body {background: }*{background:red;}
swagger: "2.0",
info:
title: "Swagger Sample App",
description: "Please to click Terms of service"
termsOfService: "javascript:alert(document.cookie)"
contact:
name: "API Support",
url: "javascript:alert(document.cookie)",
email: "javascript:alert(document.cookie)"
version: "1.0.1"

Keybase proof

I hereby claim:

  • I am robertchrk on github.
  • I am robertchrk (https://keybase.io/robertchrk) on keybase.
  • I have a public key whose fingerprint is B278 9803 7E72 3B44 02E0 623A D264 9292 5E5D 3E93

To claim this, I am signing this object: