#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
I hereby claim:
To claim this, I am signing this object:
| void ofApp::update() { | |
| std::stringstream strm; | |
| strm << "FPS: " << round(ofGetFrameRate()); | |
| ofSetWindowTitle(strm.str()); | |
| } |
| #http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html | |
| #http://www.dueyfinster.com/2013/08/quickly-navigate.html | |
| export MARKPATH=$HOME/.marks | |
| function jump { | |
| cd -P "$MARKPATH/$1" 2>/dev/null || echo "No such mark: $1" | |
| } | |
| function mark { | |
| mkdir -p "$MARKPATH"; ln -s "$(pwd)" "$MARKPATH/$1" | |
| } | |
| function unmark { |