vim {filename}
General | |
---|---|
:e {filename} |
edit a file |
:q |
quit |
:q! |
quit without writing |
:wa |
write all changed files (save all changes), and keep working |
# It looks like -multiwindow mode triggers the static color visual in both the internal x2go xserver and the external vcxsrv | |
# But it also looks like -multiwindow mode is how x2go client allows resizing of the remote desktop | |
# ...so I'm looking for a way to allow resizing of remote desktop w/out triggering static color visual. | |
# | |
# ...output of vcxsrv.exe's usage note: | |
Usage... | |
Vcxsrv [:<display>] [option] | |
:display-number |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# Pierre Haessig — March 2014 | |
""" | |
Qt adaptation of Gael Varoquaux's tutorial to integrate Matplotlib | |
http://docs.enthought.com/traitsui/tutorials/traits_ui_scientific_app.html#extending-traitsui-adding-a-matplotlib-figure-to-our-application | |
based on Qt-based code shared by Didrik Pinte, May 2012 | |
http://markmail.org/message/z3hnoqruk56g2bje |
function IO(unsafePerform) { | |
this.unsafePerform = unsafePerform; | |
} | |
IO.prototype.of = IO.of = function (v) { | |
return new IO(function (ctx, cb) { | |
cb(null, v); | |
}); | |
}; |
bind-key C-b send-prefix | |
bind-key C-o rotate-window | |
bind-key C-z suspend-client | |
bind-key Space next-layout | |
bind-key ! break-pane | |
bind-key " split-window | |
bind-key # list-buffers | |
bind-key $ command-prompt -I #S "rename-session '%%'" | |
bind-key % split-window -h | |
bind-key & confirm-before -p "kill-window #W? (y/n)" kill-window |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
I believe in the freedom of information, free as in money, and free as in freedom. That this is a fundamental requirement for empowerment.
I understand that ideas are not copyrightable. I expect that you understand this too. I expect that we can both regard all ideas discussed to be of Public Domain, as they are.
I understand that the implementation of ideas is copyrightable.
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
My typical setup for a development box in VirtualBox uses two NICs. The first uses NAT to allow the box to communicate with the outside world through my host computer’s network connection. (NAT is the default, so shouldn't require any setup.) The second is a "host-only" connection that allows my host and guest to interact.
To create a host-only connection in VirtualBox, start by opening the preferences in VirtualBox. Go to the "Network" tab, and addd a Host-only Network. Modify the host-only network, and disable DHCP. Make a note of the IP address. (Feel free to set the IP address as well, if you like.)
Next, assign this host-only adapter to the virtual machine. Select the VM and press "Settings". Go to the "Network" tab, and select "Adpater 2". Enable the adapter, set it to a "Host-only Adapter", and select the adpater you created above.