Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
# problem: when presenting, I want to obscure | |
# my prompt to act like it's at root of file system | |
# and be very basic with no git info, etc. | |
# solution: this theme lets you set a ENV to the path | |
# of your presentation, which will help remove unneeded prompt | |
# features while in that path | |
# oh-my-zsh theme for presenting demos | |
# based off the default rubbyrussell theme |
# Taken from here: https://wiki.archlinux.org/index.php/cgroups | |
# You need: libcgroup and cgmanager apps. | |
# Then start the daemon: | |
sudo systemctl start cgmanager.service | |
# Creating the group | |
sudo cgcreate -a arsham:users -t arsham:users -g memory,cpu:GROUP_NAME |
#!/bin/bash | |
# Give the usual warning. | |
clear; | |
echo "[INFO] Automated Android root script started.\n\n[WARN] Exploit requires sdk module \"NDK\".\nFor more information, visit the installation guide @ https://goo.gl/E2nmLF\n[INFO] Press Ctrl+C to stop the script if you need to install the NDK module. Waiting 10 seconds..."; | |
sleep 10; | |
clear; | |
# Download and extract exploit files. | |
echo "[INFO] Downloading exploit files from GitHub..."; |
sudo nmcli dev wifi hotspot ifname wlan0 con-name "my-hotspot" ssid "my-hotspot" password "My HotsPoT Strong Password"
More info here
https://elmvids.groob.io:443 { | |
log stdout | |
prometheus | |
proxy / localhost:4001 | |
tls { | |
max_certs 10 | |
} | |
} | |
https://groob.io:443 { |
We focus on work that drives business value and gets us closer to accomplishing our mission. We don't solve problems that we don’t have, and we don’t build technology for technology's sake.
We are always thinking “is there less I can do to solve this problem?”. We excel at delivering tools and products that hide complex problems behind simple abstractions.
We work intensely and creatively to deliver solutions on time with high quality. We are unwilling to let ourselves be blocked or stuck, because our mission is important, and we care strongly.
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# [email protected] | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
api: bundle exec puma -C config/puma.rb |