create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| module Sass::Script::Functions | |
| def random(max = Sass::Script::Number.new(100)) | |
| Sass::Script::Number.new(rand(max.value), max.numerator_units, max.denominator_units) | |
| end | |
| end |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <script type="text/ng-template" id="one.html"> | |
| <div>This is first template</div> | |
| </script> | |
| <script type="text/ng-template" id="two.html"> | |
| <div>This is second template</div> | |
| </script> |
| /* | |
| |-------------------------------------------------------------------------- | |
| | class ComponentA | |
| |-------------------------------------------------------------------------- | |
| | | |
| | [long description] | |
| | | |
| | Example | |
| <div class="{{ identifier }}"> | |
| <div class="component-a__element"> |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Block Grid for Neat | |
| |-------------------------------------------------------------------------- | |
| | | |
| | An Automatic Rows type grid layout with no margins | |
| | | |
| | Overcomes a limitation of Bourbons's flex-grid(), where you can't set a | |
| | value for $fg-gutter, impacting the width of the elements | |
| | |
| function text_contrast(hexcolor) { | |
| //parse hex | |
| var rgb = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color); | |
| // Convert to RGB value between 0 and 1, and retrieve luminance | |
| // Alternative methods: (0.2126*R) + (0.7152*G) + (0.0722*B) or (0.299*R + 0.587*G + 0.114*B) | |
| var L = (0.3 * parseInt(rgb[1], 16)/255) + (0.59 * parseInt(rgb[2], 16)/255) + (0.11 * parseInt(rgb[3], 16)/255); | |
| console.log(L); | |
| return L > 0.5 ? "#000": "#FFF"; | |
| } |
| /* | |
| DS.attr('object') | |
| */ | |
| App.ObjectTransform = DS.Transform.extend({ | |
| deserialize: function(value) { | |
| if (!$.isPlainObject(value)) { | |
| return {}; | |
| } else { | |
| return value; | |
| } |
| /** | |
| * Application code which demonstrates how to define multi-dimensional | |
| * Ember-data relationships. | |
| * | |
| * The example uses the following Model concepts: | |
| * - Issue (representing an Issue) | |
| * - User (representing a User) | |
| * - Vote (representing a User's vote for an Issue; a Pivot Model for | |
| * Issue and User ) | |
| * |