Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| <script> | |
| angular.directive('tj:focus', function(){ | |
| return function(scope, element){ | |
| element[0].focus(); | |
| }; | |
| }); | |
| </script> | |
| <div> | |
| <input type="text" ng:model="model" tj:focus /> |
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| tr { | |
| border-width: 1px 0px 1px 0px; | |
| border-style: solid; | |
| border-color: #fff; | |
| display: block; | |
| } | |
| tr:hover { |
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| tr { | |
| border-width: 1px 0px 1px 0px; | |
| border-style: solid; | |
| border-color: #fff; | |
| display: block; | |
| } | |
| tr:hover { |
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| tr { | |
| border-width: 1px 0px 1px 0px; | |
| border-style: solid; | |
| border-color: #fff; | |
| display: block; | |
| } | |
| tr:hover { |
| @mixin same($values...){ | |
| $length: length($values); | |
| $value: nth($values, $length); | |
| @for $i from 1 to $length{ | |
| #{nth($values, $i)}: $value; | |
| } | |
| } | |
| //Usage: |
| /** | |
| * (C)Leanest CSS spinner ever | |
| */ | |
| @keyframes spin { | |
| to { transform: rotate(1turn); } | |
| } | |
| .progress { | |
| display: inline-block; |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| var tag="mytag";r="";$tw.wiki.each(function(t){if(t.hasTag(tag)){r=r+" "+(t.fields.text||"")}});r.trim().replace(/\s+/gi," ").split(" ").length |
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |