This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Font features | |
| */ | |
| p { | |
| font-family: Gabriola, cursive; | |
| font-size: 24pt; | |
| -ms-font-feature-settings: "ss06" 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| L(w, "drop", function (a) { | |
| a = a || window.event; | |
| a.preventDefault && a.preventDefault(); | |
| if (a.dataTransfer.files.length) try { | |
| var b = new FileReader; | |
| b.onload = function (a) { | |
| a = a || window.event; | |
| if (b.readyState == b.DONE && a.target.result) { | |
| for (var c = document.getElementById("dragi"), d = a.target.result, a = [], n = 0, m = 0; m < d.length; m++) { | |
| for (var l = d.charCodeAt(m); 255 < l;) a[n++] = l & 255, l >>= 8; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html, body { | |
| display: table; | |
| height: 100%; | |
| width: 100%; | |
| } | |
| body { | |
| display:table-cell; | |
| vertical-align:middle; | |
| text-align: center; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * FizzBuzz with CSS | |
| */ | |
| body { | |
| counter-reset: fizzbuzz; | |
| } | |
| div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * FizzBuzz with CSS | |
| */ | |
| body { | |
| counter-reset: fizzbuzz; | |
| } | |
| div { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Copyright (c) 2013 Ryan Seddon | |
| Permission is hereby granted, free of charge, to any person | |
| obtaining a copy of this software and associated documentation | |
| files (the "Software"), to deal in the Software without | |
| restriction, including without limitation the rights to use, | |
| copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the | |
| Software is furnished to do so, subject to the following | |
| conditions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Forever iOS network activity spinner</title> | |
| <style> | |
| p { | |
| -webkit-transition: 0.5s ease; | |
| -moz-transition: 0.5s ease; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @css { | |
| @supports (flex-flow: row wrap) { | |
| .foo | |
| display: block | |
| > span | |
| display: inline-block | |
| margin-right: 0.3ch; | |
| foo.bar | |
| > span |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function curried(fn) { | |
| var args = Array.prototype.slice.call(arguments, 1); | |
| return function() { | |
| return fn.apply(this, args.concat(Array.prototype.slice.call(arguments, 0))); | |
| } | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var app = angular.module('app'); | |
| app.config(function($provide) { | |
| $provide.decorator('ngControllerDirective', ['$delegate', function($delegate) { | |
| $delegate[0].priority = 900; | |
| return $delegate; | |
| }]); | |
| }); |