Short url: caseywatts.com/quicktimegifs
- Put a file
in.mov
in the folder~/giffing/
- Run Lines 2 and 3
- Enjoy!
The Yale VPN uses Cisco AnyConnect. | |
If Cisco's Linux client works for you, congratulations. | |
If, like me, the official client leaves you stranded, then you need to install | |
OpenConnect and (assuming you are using Network Manager) the appropriate add-on for the NM applet. | |
On a Debian-based system, you can type the following command: | |
$ sudo apt-get install openconnect network-manager-openconnect network-manager-openconnect-gnome |
require 'rubygems' | |
require 'mechanize' | |
FIRST_NAME = 'FIRST_NAME' | |
LAST_NAME = 'LAST_NAME' | |
PHONE = 'PHONE' | |
EMAIL = 'EMAIL@provider.com' | |
PARTY_SIZE = 2 | |
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' } |
Short url: caseywatts.com/quicktimegifs
in.mov
in the folder ~/giffing/
I use tmux splits (panes). Inside one of these panes there's a Vim process, and it has its own splits (windows).
In Vim I have key bindings C-h/j/k/l
set to switch windows in the given direction. (Vim default mappings for windows switching are the same, but prefixed with C-W
.) I'd like to use the same keystrokes for switching tmux panes.
An extra goal that I've solved with a dirty hack is to toggle between last active panes with C-\
.
Here's how it should work:
#!/usr/bin/env bash | |
########################################################## | |
# | |
# This is a shell script for keeping a journal that is | |
# * plaintext, | |
# * time-stamped, | |
# * encrypted, and | |
# * edited with vim. | |
# |
Drop both conf files into /etc/openvpn
and /etc/init.d/openvpn
should pick up on both and fire them up. Configure the ip addr of your host you wish to vpn through in the configs on the server
lines.
Key difference is the openvpn-split.conf
only pushes routes for netblocks you want to route over the vpn. In the below case, its the two routable /16s. The openvpn-everything.conf
pushes a gateway down to clients, shunting all traffic through the vpn endpoint. Also push DNS servers if you have records locked up in campus DNS.
You also have to do all the easy-rsa business which is fairly well documented on the web. Drag the client certs which come from that business over to your vpn client. I use Tunnelblick in OS X.
Tested using openvpn-2.2.2-1.el5.rf
from rpmforge on CentOS 5.8 in a Xen DomU.
rdj:cf3dcsunix silkey$ svn st | |
X trunk/common | |
X trunk/inputs/common | |
X trunk/inputs/core | |
M trunk/inputs/dcsunix/classes.cf | |
M trunk/inputs/dcsunix/main.cf | |
M trunk/dcsunix/linux/pub/etc/sudoers | |
Performing status on external item at 'trunk/inputs/core' |