Skip to content

Instantly share code, notes, and snippets.

View phmullins's full-sized avatar
🎧
Working from home

Patrick H. Mullins phmullins

🎧
Working from home
View GitHub Profile
BEGIN MESSAGE.
UOJhBzXQbhAL9mx b2Zq9KKg0GddBBc dIONFZSWsrEYTdL FQHTpUNa11EPFkY
cTb1Yct36DSzkZE JZ1F3vW9tDkTCKq 6Xr2MZHgg6m77ob ZB7aRvMripLvgVQ
F4bnyGt3wCr5vK5 DPCQ2y1KCy0OsWY H54hXyoRyJdilEU TXadJvsBuDaBiOV
u8XLlUR2mEHH5Ke MKvZSIKztZjjm13 P2lYG29HFxl.
END MESSAGE.
@phmullins
phmullins / tut_build_p7zip.md
Last active April 19, 2017 00:14
Building P7ZIP on MacOS

Building P7ZIP on MacOS

  1. Download the source from: https://sourceforge.net/projects/p7zip/files/latest/download
  2. Unzip the new file by double-clicking on it.
  3. You should now have a new folder on your Mac named p7zip_16.02 or something similar.
  4. Open a Terminal window and then make your way to the new p7zip folder.
  5. Once there, type in the following commands:

$ sudo cp makefile.macosx_llvm_64bits makefile.linux

@phmullins
phmullins / mapnet.sh
Last active September 1, 2016 23:42
Discover hosts on a network
#!/bin/bash
# This bash script will output the IP addresses of all the live hosts on a network. Note: Hosts that filter ICMP
# are not included in this list.
#
# Usage: ./mapnet IP_RANGE Example: ./mapnet 192.168.1.1/24
clear
if [ -z "$1" ]; then
exit "Input IP range to scan. Example: 192.168.1.0/24"
@phmullins
phmullins / bash_newpass.md
Last active September 1, 2016 23:23
Generate a unique 10 character password using OpenSSL

Use OpenSSL’s random function to generate a 20 character base64 password

$ openssl rand -base64 20

Even better, add the folowwing function to your .bash_profile and then type in randpass to generate a new unique 20 character password.

Install Jekyll on Mac OS X 10.9

> sudo gem install jekyll

Jekyll Commands

Keybase proof

I hereby claim:

  • I am phmullins on github.
  • I am pmullins (https://keybase.io/pmullins) on keybase.
  • I have a public key ASCFE-lboQ7LUdlVI_-ZA8IQk-_i_3pudzXFeQpDge5RFAo

To claim this, I am signing this object:

@phmullins
phmullins / setup_nginx.md
Last active August 29, 2015 14:10
nginx Installation and Setup

##nginx Installation and Setup

Ubuntu/Debian

$ sudo apt-get install nginx

Configuration