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
#include <Adafruit_NeoPixel.h> | |
//Hacked from the original Adafruit library demo | |
#define PIN 6 //my control pin | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) |
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
function(t, e, n) { | |
var r, o; | |
r = [n(34), n(35)], o = function(t, e) { | |
var n; | |
return n = function() { | |
function n() {} | |
return n.prototype.changePhone = function(n, r, o, i) { | |
var s, a; | |
a = e.get().userId, s = "/json/users/" + a + "/change_phone/request", t.postAuth(s, { |
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
{ | |
"basics": { | |
"name": "Mark Manning", | |
"label": "Security Consultant", | |
"picture": "https://pbs.twimg.com/profile_images/658038562261069825/jB7pbsiE_400x400.png", | |
"email": "mark@antitree.com", | |
"phone": "", | |
"website": "https://www.antitree.com", | |
"summary": "Career security consultant with a focus on containerization technologies.", | |
"location": { |
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
#!/usr/bin/env bash | |
# Ephemeral container deployer | |
# Author: @antitree | |
# This patches over a pod to add an ephemeral container, mounts share volumes, | |
# enters the namespace and some other shit. | |
function description() { | |
echo -e "\nDescription: This plugin speeds up the process of patching a Pod with an | |
ephemeral container. It will automatically mount the PID namespace, secrets, and other volumes | |
to help with debugging or reviewing the main container. \n\n |
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
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: poc-list-bypass | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- secrets | |
verbs: |
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
#!/usr/bin/python | |
# | |
# Author: Antitree | |
# Description: Example of using the new Twitter 1.1 API to | |
# collect all the tweets from a user. | |
# | |
# Derived from tsileo | |
# https://gist.github.com/tsileo/4637864/raw/9ea056ffbe5bb88705e95b786332ae4c0fd7554c/mytweets.py | |
# |
OlderNewer