(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| This example shows how you can use your data structure as a basis for | |
| your Firebase security rules to implement role-based security. We store | |
| each user by their Twitter uid, and use the following simplistic approach | |
| for user roles: | |
| 0 - GUEST | |
| 10 - USER | |
| 20 - MODERATOR | 
| // Usage: @include transition(width, height 0.3s ease-in-out); | |
| // Output: -webkit-transition(width 0.2s, height 0.3s ease-in-out); | |
| // transition(width 0.2s, height 0.3s ease-in-out); | |
| // | |
| // Pass in any number of transitions | |
| @mixin transition($transitions...) { | |
| $unfoldedTransitions: (); | |
| @each $transition in $transitions { | |
| $unfoldedTransitions: append($unfoldedTransitions, unfoldTransition($transition), comma); | |
| } | 
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
People
|   :bowtie: | π :smile: | π :laughing: | 
|---|---|---|
| π :blush: | π :smiley: | :relaxed: | 
| π :smirk: | π :heart_eyes: | π :kissing_heart: | 
| π :kissing_closed_eyes: | π³ :flushed: | π :relieved: | 
| π :satisfied: | π :grin: | π :wink: | 
| π :stuck_out_tongue_winking_eye: | π :stuck_out_tongue_closed_eyes: | π :grinning: | 
| π :kissing: | π :kissing_smiling_eyes: | π :stuck_out_tongue: | 
[ Launch: blurrrrrrrrrrrr FILTER fade ] 5584493 by enoex[ Launch: blurrrrrrrrrrrr FILTER fade ] 5422491 by enoex[ Launch: blurrrrrrrrrrrr FILTER fade ] 5422471 by enjalot[ Launch: blurrrrrrrrrrrr FILTER circle ] 5422321 by enoex[ Launch: blurrrrrrrrrrrr FILTER ] 5418074 by enoex[ Launch: blurrrrrrrrrrrr FILTER ] 5418024 by enoex[ Launch: Tributary inlet ] 5417941 by enoex
| <!-- Raven.js Config --> | |
| <script src="{{ JS_PATH }}/lib/raven.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| // Ignore list based off: https://gist.github.com/1878283 | |
| var ravenOptions = { | |
| // Will cause a deprecation warning, but the demise of `ignoreErrors` is still under discussion. | |
| // See: https://github.com/getsentry/raven-js/issues/73 | |
| ignoreErrors: [ | |
| // Random plugins/extensions | |
| 'top.GLOBALS', | 
| // encode(decode) html text into html entity | |
| var decodeHtmlEntity = function(str) { | |
| return str.replace(/&#(\d+);/g, function(match, dec) { | |
| return String.fromCharCode(dec); | |
| }); | |
| }; | |
| var encodeHtmlEntity = function(str) { | |
| var buf = []; | |
| for (var i=str.length-1;i>=0;i--) { | 
| // ---------------------------------------------------------- | |
| // 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) {} |