Note: This was for my Ubuntu setup - need to update this for my macbook setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.nav { | |
&__list { | |
&__item { | |
&--featured { | |
} | |
} | |
} | |
} |
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
NewerOlder