Skip to content

Instantly share code, notes, and snippets.

@rpatterson
rpatterson / VBox - Replug Guests.xml
Last active August 27, 2023 08:49 — forked from filimonov/replug_vbox_network.cmd
"Replug" the cable of running VirtualBox VM (network freeze in guest VM after host windows hybernate - awake)
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2020-08-08T11:46:34.3582137</Date>
<Author>HOST\Adminstrator</Author>
<Description>Reconnect VirtualBox guest network connections when a change in the host networking interferes with guest network connectivity.</Description>
<URI>\VBox - Replug Guests</URI>
</RegistrationInfo>
<Triggers>
<EventTrigger>
@rpatterson
rpatterson / vimium-emacs.md
Last active February 24, 2020 03:22
Emacs-Style Key Bindings for Vimium

My Vimium Key Bindings (Emacs-Style)

This is a full set of key bindings (as of Vimium v1.45); covering all Vimium functionality. I have tried to map all Vimium functionality to comparable Emacs functionality (whenever possible). In cases where there is no equivalent, those commands are prefixed by <c-g> (indicating <c-g>oogle Chrome; and because <c-g> does not conflict with other Emacs shortcuts at all).

Commented Shortcuts: There are a few Emacs-style shortcuts that are simply not possible in Vimium. All of my shortcuts (including those which were not possible; i.e. where I used a decent alternative) have been commented below. This should help to clarify my rationale.

_Compatibility: All of these shortcuts were tested on Mac OS X (Mavericks). Please note that all of my shortcuts operate under the assumption that your Emacs Meta key is the Alt/Option key. This really was my only choice, because the key is already used in Chrome for shortcuts that c

@rpatterson
rpatterson / keybase.md
Created April 21, 2018 19:47
Keybase proof

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@rpatterson
rpatterson / 00-irc-log.textile
Created March 26, 2012 11:29 — forked from amcgregor/00-irc-log.textile
Yhg1s making #python an intolerable place for a community with a supposed code of conduct
I keep having a problem where python seems to “go to the
background” on windows. subprocess.Popen.wait() returns
immediately even thought it’s actually still running and if I
invoke a python process in a .cmd file, the same thing happens
*
* inestical (~inestical@a91-155-182-158.elisa-laajakaista.fi) has joined
channel #python
zenwryly: what are you launching with subprocess.Popen?
* kesor (~kesor@bzq-79-180-228-46.red.bezeqint.net) has quit: Read error: No
route to host
*
wilfish (~wilfish@wsip-70-164-30-146.ri.ri.cox.net) has quit: Quit: Zzz…
@rpatterson
rpatterson / default.cfg
Created March 25, 2012 22:42
~/.buildout/default.cfg
[buildout]
# index = http://download.zope.org/ppix
unzip = true
eggs-directory = /opt/src/eggs
download-directory = /opt/src/downloads
download-cache = /opt/src/downloads
extends-cache = /opt/src/downloads
zope-directory = /opt/src/build
varnish-directory = /opt/src/build