Skip to content

Instantly share code, notes, and snippets.

View atl's full-sized avatar

Adam Lindsay atl

View GitHub Profile
@atl
atl / README.md
Last active February 15, 2019 16:57
enable ssh-agent transparently and pervasively in Mac OS X Lion/Mountain Lion

This is a quick configuration upgrade that allows you to continue using ssh as you have, but with the added benefit of ssh-agent forwarding when logged into remote hosts, meaning no more keys on intermediate servers and the like.

Requirements

This snippet assumes that you've been using ssh, ssh keys, and authorized_keys on remote hosts.

  • .ssh/id_dsa and/or .ssh/id_rsa already exist
  • keys are authorized on the remote servers you have been using
  • you have at least a minimal working .ssh/config file
@atl
atl / trac-init.sh
Last active December 11, 2015 05:49
Minimal initialization script to set up Trac in the Joyent Public Cloud
#!/usr/bin/sh
# Install trac
/opt/local/bin/pkgin -y in trac
# set up the base directory (set as default by the SMF manifest)
/opt/local/bin/mkdir /trac
/opt/local/bin/chown www:www /trac
# configure a minimal base environment
@atl
atl / README.md
Created March 7, 2013 09:37
IPython on Joyent provisioning scripts
@atl
atl / launcher.ipynb
Last active December 14, 2015 15:19
This is a IPython Notebook on how to provision an IPython Cluster on the Joyent Public Cloud. It is a companion for this blog post: http://atl.me/2013/joyent-ipython-cluster . It may be viewed on the Notebook Viewer: http://nbviewer.ipython.org/5107045 .
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@atl
atl / ubooquity
Last active December 19, 2017 06:33
ubooquity rc.d
#!/bin/sh
# PROVIDE: ubooquity
# REQUIRE: NETWORKING
# BEFORE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable this service:
#
# ubooquity_enable (bool): Set it to YES to enable mdnsd(8) on startup.