start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| # Install Monaco font in Linux | |
| # Version from nullvideo https://gist.github.com/rogerleite/99819#gistcomment-2799386 | |
| sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco && \ | |
| sudo wget https://gist.github.com/rogerleite/b50866eb7f7b5950da01ae8927c5bd61/raw/862b6c9437f534d5899e4e68d60f9bf22f356312/mfont.ttf -O - > \ | |
| /usr/share/fonts/truetype/ttf-monaco/Monaco_Linux.ttf && \ | |
| sudo fc-cache |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| /* | |
| * base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers | |
| * | |
| * (C) 2010, Nodejitsu Inc. | |
| * (C) 2011, Cull TV, Inc. | |
| * | |
| */ | |
| var base64 = exports; |
| { | |
| "jshint_options" : | |
| { | |
| "adsafe": false, | |
| "bitwise": false, | |
| "newcap": true, | |
| "eqeqeq": true, | |
| "immed": true, | |
| "nomen": false, | |
| "onevar": true, |
| # Use git and git+ssh instead of https | |
| [url "git://github.com/"] | |
| insteadOf = https://github.com/ | |
| [url "[email protected]:"] | |
| pushInsteadOf = "git://github.com/" | |
| [url "[email protected]:"] | |
| pushInsteadOf = "https://github.com/" |
| /** | |
| * | |
| * Here's a thing that will look through all the text nodes of a document, and | |
| * upon encountering an emoji codepoint, will replace it with an image. | |
| * For now, those images are pulled from GitHub, which isn't very nice, so I | |
| * need to find a more suitable host. | |
| * | |
| * Much of this code was gleaned from staring at the minified GitHub JS. | |
| * | |
| * Copyright (c) 2013 Mark Wunsch. Licensed under the MIT License. |
⇐ back to the gist-blog at jrw.fi
Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.
I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.
This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso