Skip to content

Instantly share code, notes, and snippets.

@burke
burke / remotepaste.md
Last active June 15, 2024 12:55
This sets up keybindings in tmux that allow you to copy/paste to/from your OS X clipboard from tmux running inside an SSH connection to a remote host. Partially borrowed from http://seancoates.com/blogs/remote-pbcopy

Local (OS X) Side

~/Library/LaunchAgents/pbcopy.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
     <key>Label</key>
     <string>localhost.pbcopy</string>
@primalmotion
primalmotion / Changelog - Archipel Beta 6.0 (Apophis).md
Last active December 14, 2015 16:19
Changelog - Archipel Beta 6.0 (Apophis)
@nicolasochem
nicolasochem / gist:3805805
Created September 30, 2012 04:01
central agent specifications
Central agent specifications
Central agent is a new archipel module configured in archipel.conf :
[CENTRALAGENT]
centralagent = "force", "passive", "auto"
force = this hypervisor is the central agent, subscriber of the pubsub
passive = this hypervisor will publish updates to the central agent
auto = will first check if there already is a central agent. If there is none, become central agent, otherwise, be passive. (this can be delayed to later)
There are 2 pubsubs :
@aljungberg
aljungberg / cappuccino-0.9.6-changelog.markdown
Created August 22, 2012 21:55
Cappuccino 0.9.6-RC2 Release Notes
@primalmotion
primalmotion / Changelog - Archipel Beta 5.0 (Moon).md
Created February 19, 2012 23:38
Changelog - Archipel Beta 5.0 (Moon)
@primalmotion
primalmotion / gist:1467003
Created December 12, 2011 12:50
alloc+define
cat definition.xml
<iq type='set'>
    <query xmlns='archipel:hypervisor:control'>
        <archipel action='alloc' name='MA VM'>
            <domain type='kvm'>
 THIS WILL BE IGNORED: you can remove the name tag
@primalmotion
primalmotion / script
Created December 7, 2011 18:18 — forked from cho45/script
Gyazo.app
#!/usr/bin/env ruby
require 'fileutils'
require 'pathname'
require 'uri'
require 'net/http'
require 'securerandom'
Net::HTTP.version_1_2
include FileUtils
@cho45
cho45 / script
Created November 24, 2011 11:13
Gyazo.app
#!/usr/bin/env ruby
require 'fileutils'
require 'pathname'
require 'uri'
require 'net/http'
require 'securerandom'
Net::HTTP.version_1_2
include FileUtils
@primalmotion
primalmotion / gist:1253295
Created September 30, 2011 09:51
Archipel Beta 4 Changelog
@primalmotion
primalmotion / gist:1106841
Created July 26, 2011 14:04
Archipel Beta 3.2 Changelog