Skip to content

Instantly share code, notes, and snippets.

Beep Boop

Angel punkdata

Beep Boop
Block or report user

Report or block punkdata

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View useful_grep_cmds.txt
# Use this command to extract the data from a file after the "=" charcater
grep smoke_test_ip test.txt | cut -d '=' -f 2-
punkdata / arduino_ubuntu.txt
Created Mar 21, 2018
Ubuntu Arduino fix for Acccess Denied when Uploading
View arduino_ubuntu.txt
# When getting access denied during upload function in arduino use this cmd to give current user permission on Ubuntu OS
sudo usermod -a -G dialout $USER
punkdata /
Created Feb 16, 2018 — forked from sheikhwaqas/
Install MySQL Server on Ubuntu (Non-Interactive Installation)
# Download and Install the Latest Updates for the OS
apt-get update && apt-get upgrade -y
# Set the Server Timezone to CST
echo "America/Chicago" > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
# Enable Ubuntu Firewall and allow SSH & MySQL Ports
ufw enable
ufw allow 22
punkdata /
Created Nov 3, 2017
Postman Install Ubuntu 17.10
wget -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
#Create a Desktop Entry
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]

Keybase proof

I hereby claim:

  • I am punkdata on github.
  • I am datapunk ( on keybase.
  • I have a public key ASC9TfDSE0Emvxmyr9kYX4PWf1JKq7IFN41Ay1UjaQfLNAo

To claim this, I am signing this object:

punkdata /
Last active Aug 2, 2017
Docker cmd helper scripts & commands
#remove all exited docker containers
docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs docker rm
# Remove all images tagged as <none>
docker rmi $(docker images -f "dangling=true" -q)
# DANGEROUS remove all images from docker
docker rmi $(docker images | grep "$2/\|/$2 \| $2 \|$2 \|$2-\|$2_" | awk '{print $1 ":" $2}') 2>/dev/null || echo "No images matching \"$2\" to purge."
punkdata /
Created Apr 29, 2017
debian/ubuntu bash shorten the prompt to the current working directory put this in .bashrc file
export PS1='$(whoami):${PWD/*\//}# '
punkdata / interfaces
Created Apr 14, 2017
pixelOS wlan0 config
View interfaces
# goes in file: /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
View coreos.yml
hostname: core01
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDArlyas86BhZq5KVK9xwnjA5FF6nzEyZv03Ln0PEJ0x90KznA7vijsXoMuu3wC/ZFzxNqdtIi8B7MwbwWi0RSBLF5BeVunA+Oun0vpEtByUEKlyKJSYSJdYmYTjU4LtwowJJQ8FNQ7KrRQyqeriTe/07i5PfuW9XzMQVje1OFV8M8xXmVxBmb1yYpfaBvuynYH6mycO6vdBxGGjmVezTwLeMNDOfEUoa+Fs+i8raMHzteNSUvbyVazCj7i4tucAhf78lpPt+pvNgELdTtyu6sOdDkfjIs/uDEOX5yrgpk0QC3n9WWZjeyBeew3H/n17yyZkU8UaZhhYt+8NmWrndhd
# generate a new token for each unique cluster from
sudo yum makecache fast
sudo yum -y update
sudo systemctl stop firewalld && sudo systemctl disable firewalld
sudo sed -i s/SELINUX=enforcing/SELINUX=permissive/g /etc/selinux/config && sudo groupadd nogroup
sudo sed -i 's/^#\s*\(%wheel\s*ALL=(ALL)\s*NOPASSWD:\s*ALL\)/\1/' /etc/sudoers
You can’t perform that action at this time.