Skip to content

Instantly share code, notes, and snippets.

@pittjl
pittjl / danted.conf
Last active August 25, 2022 21:50
Dante config
logoutput: syslog
user.privileged: root
user.unprivileged: nobody
# The listening network interface or address.
internal: 0.0.0.0 port=1080
# The proxying network interface or address.
external: eth0
#!/bin/bash -eux
yum install -y cloud-init cloud-utils-growpart dracut-modules-growroot
cat >/etc/cloud/cloud.cfg <<-'EOF'
users:
- default
disable_root: 1
ssh_pwauth: 0
locale_configfile: /etc/sysconfig/i18n
mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2']
resize_rootfs_tmp: /dev

Keybase proof

I hereby claim:

  • I am pittjl on github.
  • I am throne (https://keybase.io/throne) on keybase.
  • I have a public key whose fingerprint is 4E7F F99F 4569 B053 D240 6AB8 CD35 4725 1113 95C2

To claim this, I am signing this object:

@pittjl
pittjl / gist:4140164
Created November 24, 2012 15:35 — forked from pithyless/gist:1208841
Install Python 2.7 (homebrew + pip + virtualenv) on Mac OS X Lion

Install Python

$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7

Symlinks...

# Installs Dell OMSA to debian/ubuntu box without web components
# Specific to the R210ii at this time
# It appears you need to log out and back in to have the tools added to PATH
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
gpg -a --export 1285491434D8786F | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install srvadmin-base srvadmin-idrac srvadmin-storageservices
sudo service dataeng start
@pittjl
pittjl / cpanm-log2timeline-strawberry
Created October 23, 2012 00:21
cpanm command-line for log2timeline modules
cpanm DateTime Date::Manip XML::LibXML Carp::Assert Digest::CRC Data::Hexify Image::ExifTool File::Mork DateTime::Format::Strptime Parse::Win32Registry HTML::Scrubber Mac::PropertyList XML::Entities