I hereby claim:
- I am juanfernandes on github.
- I am juanfernandes (https://keybase.io/juanfernandes) on keybase.
- I have a public key ASCNPfnhhCmCmE2iGXsOlKcNB4MfPGdrKOm8AuoJDiYT7wo
To claim this, I am signing this object:
# http://lancespeelmon.wordpress.com/2012/05/10/three-tips-for-creating-the-best-ever-git-command-line/ | |
c_cyan=`tput setaf 6` | |
c_red=`tput setaf 1` | |
c_green=`tput setaf 2` | |
c_sgr0=`tput sgr0` | |
parse_git_branch () | |
{ | |
if git rev-parse --git-dir >/dev/null 2>&1 | |
then |
Let's say you have the following HTML: | |
<div id="module"> | |
<p> | |
This is some <b>example</b> text | |
<span>with some random markup.</span> | |
</p> | |
</div> | |
If you want to grab all the text content inside of #module, you can do this: |
I hereby claim:
To claim this, I am signing this object:
.nav { | |
&__list { | |
&__item { | |
&--featured { | |
} | |
} | |
} | |
} |
How To Set Up an NFS Mount on Ubuntu 14.04 | |
Source: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04 | |
Apr 30, 2014 Networking Ubuntu | |
Introduction | |
NFS, or Network File System, is a distributed filesystem protocol that allows you to mount remote directories on your server. This allows you to leverage storage space in a different location and to write to the same space from multiple servers easily. NFS works well for directories that will have to be accessed regularly. | |
In this guide, we'll cover how to configure NFS mounts on an Ubuntu 14.04 server. | |
Prerequisites |
<div class="foo"> | |
Lorem ipsum dolor sit amet <br /> | |
Lorem ipsum dolor sit amet | |
</div> | |
<div class="bar"> | |
Lorem ipsum dolor sit amet <br /> | |
Lorem ipsum dolor sit amet | |
</div> |
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)
There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful
Tool | Link | Comments |
---|