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
| // Run this on https://developer.mozilla.org/en/docs/Web/HTML/Element | |
| var tags = [], nodeList = document.querySelectorAll('td a code'); | |
| for (i in nodeList) { | |
| if ((nodeList[i].innerText) && (nodeList[i].innerText.indexOf('<') > -1)) { | |
| var tag = nodeList[i].innerText.replace('<','').replace('>',''); | |
| if (tags.indexOf(tag) == -1) { | |
| tags.push(tag); | |
| } | |
| } | |
| } |
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
| # Install rbenv | |
| git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv | |
| # Add rbenv to the path: | |
| echo '# rbenv setup' > /etc/profile.d/rbenv.sh | |
| echo 'export RBENV_ROOT=/usr/local/rbenv' >> /etc/profile.d/rbenv.sh | |
| echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh | |
| echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh | |
| chmod +x /etc/profile.d/rbenv.sh |