Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| .twitter-typeahead .tt-query, | |
| .twitter-typeahead .tt-hint { | |
| margin-bottom: 0; | |
| } | |
| .tt-hint { | |
| display: block; | |
| width: 100%; | |
| height: 38px; | |
| padding: 8px 12px; | |
| font-size: 14px; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| case '$STATEMENT$': | |
| $END$ | |
| break; |
Simple Dashing widget to countdown until a certain moment. Flashes the widget when finished.
##Usage
To use this widget, copy countdown.html, countdown.coffee, and countdown.scss into the /widgets/countdown directory.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
| // console.lol by @RonnyOrbach, idea by Erez Avny | |
| if (typeof console != 'undefined') console.lol = function(){ | |
| var args = [].slice.call(arguments, 0); | |
| args.unshift("LOL"); | |
| args.push("LOLOLOL!") | |
| console.log.apply(console, args); | |
| }; |
| #!/bin/sh | |
| # .git/hooks/post-checkout | |
| # chmod +x .git/hooks/post-checkout | |
| if [ $(git symbolic-ref HEAD | cut -d '/' -f 3) == 'master' ]; then | |
| lines[0]="Master, Master, where's the dreams that I've been after?" | |
| lines[1]="Master, Master, you promised only lies" | |
| lines[2]="Laughter, laughter, all I hear or see is laughter" | |
| lines[3]="Laughter, laughter, laughing at my cries" | |
| echo " ${lines[$((RANDOM%${#lines[*]}))]}"; |
| // ---------------------------------------------------------- | |
| // A short snippet for detecting versions of IE in JavaScript | |
| // without resorting to user-agent sniffing | |
| // ---------------------------------------------------------- | |
| // If you're not in IE (or IE version is less than 5) then: | |
| // ie === undefined | |
| // If you're in IE (>=5) then you can determine which version: | |
| // ie === 7; // IE7 | |
| // Thus, to detect IE: | |
| // if (ie) {} |