Skip to content

Instantly share code, notes, and snippets.

# 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
@adrianrogers
adrianrogers / keybase.md
Created January 14, 2015 00:15
keybase proof

Keybase proof

I hereby claim:

  • I am adrianrogers on github.
  • I am adrianrogers (https://keybase.io/adrianrogers) on keybase.
  • I have a public key whose fingerprint is 28C9 5D2B 24BA 111D 55C4 05F1 385B 95D2 0540 A224

To claim this, I am signing this object:

@adrianrogers
adrianrogers / lynis.txt
Last active August 29, 2015 14:12 — forked from kylemanna/lynis.txt
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
menu
Suggested packages:
dnsutils menu-l10n gksu kdebase-bin kdebase-runtime ktsuss sux
The following NEW packages will be installed:
lynis menu
0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
// Proof of concept CurveCP handshake over 0MQ.
//
// Demonstrates a confidential, authenticated connection between
// two 0MQ peers (two DEALER sockets in this example). See the
// curvecp.org website for details of the security design.
//
// This is a flat walk-through in code with minimal abstraction.
// The next version of this code will be more packaged.
//
// IMPORTANT NOTE: this code has not been reviewed by security experts