Skip to content

Instantly share code, notes, and snippets.

View seven62's full-sized avatar

Sean Cochran seven62

  • KC
View GitHub Profile

README

This is a CentOS-themed /etc/issue w/ hooks to update IP address and OS release upon ifup/ifdown. My motivation was that I was tired of logging into an otherwise headless box just to find the IP of the system so I can SSH to it.

Note
The issue.in file actually contains control characters to do the color in the text. The easiest way to preserve that is to clone this gist and run the install.sh script w/ sudo, which will copy the file and set the SELinux
@seven62
seven62 / pfsense-openvpn.md
Last active December 3, 2018 22:33
basic steps to get get openvpn server running on a pfsense router

PFSENSE / OPENVPN SETUP

install openvpn-client-export

system > pm > available pkgs

create cert authority

vpn > Openvpn > wizards

# Operation Home Lab
This document serves as a guide to getting started with building a home lab environment
### Scale
A home lab can mean anything from a hosting a few virtual machines all the way to purchasing hardware to practice with basic NSM infrastructure.

ROCK Sensor Hardware Options

This document is a list of hardware that has been used for development and home use as a ROCK sensor. The first option would be to repurpose a machine if possible (minimum specs below). If your budget permits you can build a powerful system in a small form factor for under $1000.

Some of the more important aspects to look for are IPMI for baremetal remote management, dual Intel NICs, quiet, and relatively low-power. You don't want to have to wear hearing protection while sitting next to your infrastructure.

Sensor Hardware Options

Repurposed Hardware

# E & K on RHEL
These are high level instructions to get a simple stack up and running. Logstash not included.
## Installation
### Elasticsearch

Keybase proof

I hereby claim:

  • I am seven62 on github.
  • I am seven62 (https://keybase.io/seven62) on keybase.
  • I have a public key ASBHrGq438xHIP0HnVsV4u4ID7cRTe35THGO58J_foMQLgo

To claim this, I am signing this object:

@seven62
seven62 / pyenv-notes.md
Last active June 7, 2020 14:22
pyenv-notes

PYENV

or how I learned to stop worrying and get things done with python

focusing on "weapon-system" macOS cross-platform, including windows to some extent https://github.com/pyenv/pyenv


Pyenv Lab

This lab is written specifically for issued macbooks.

Step 1 - Installation

  1. Install the Brew package manager if you don't have it:
  • $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
@seven62
seven62 / macos-setup.sh
Last active September 20, 2021 16:04
Script and readme to configure a new mac
#!/bin/bash
#set -eux
# Create Profile Directories
mkdir ~/{bin,code,dev}
# Install CLI Tools
clear