Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| console.reset = function () { | |
| return process.stdout.write('\033c'); | |
| } |
| # -*- Conf -*- | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| showbranch = auto | |
| ui = true | |
| # color.branch | |
| # A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |
| $whatson: #ed8f25; | |
| $whatsonBg: lighten($whatson, 20%); | |
| $childcare: #7c398a; | |
| $childcareBg: lighten($childcare, 40%); | |
| $health: #9cc700; | |
| $healthBg: lighten($health, 30%); | |
| $shopping: #0065fd; | |
| $shoppingBg: lighten($shopping, 30%); | |
| $groups: #cb0033; | |
| $groupsBg: lighten($groups, 50%); |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
| /** | |
| * Returns document meta description | |
| */ | |
| getMetaDescription = function() { | |
| var metas = document.getElementsByTagName('meta'); | |
| for(var i in metas) { | |
| if (typeof(metas[i].name) != 'undefined' && metas[i].name.toLowerCase() == "description") { | |
| return encodeURIComponent(metas[i].content); | |
| } | |
| } |