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
| .spinner { | |
| width: 40px; | |
| height: 40px; | |
| margin: 50px auto; | |
| background-color: #555; | |
| border-radius: 100%; | |
| -webkit-animation: scaleout 1s infinite ease-in-out; | |
| animation: scaleout 1s infinite ease-in-out; | |
| } |
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
| $(window).on('unload', function() { | |
| $(window).scrollTop(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
| /*! | |
| * Bootstrap v3.3.5 (http://getbootstrap.com) | |
| * Copyright 2011-2015 Twitter, Inc. | |
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
| */ | |
| .getbootstrap-grid .btn-default, | |
| .getbootstrap-grid .btn-primary, | |
| .getbootstrap-grid .btn-success, | |
| .getbootstrap-grid .btn-info, |
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
| $("#nav ul li a[href^='#']").on('click', function(e) { | |
| // prevent default anchor click behavior | |
| e.preventDefault(); | |
| // store hash | |
| var hash = this.hash; | |
| // animate | |
| $('html, body').animate({ |
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
| body { | |
| height: 6000px; | |
| font-family: Helvetica, Arial; | |
| } | |
| #top-menu { | |
| position: fixed; | |
| z-index: 1; | |
| background: white; | |
| left: 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 isMobile = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|Windows Phone)/); | |
| var is_iPad = navigator.userAgent.match(/(iPad)/); | |
| // | |
| var res1440 = false; | |
| var res1080 = false; | |
| var res1050 = false; | |
| var res900 = false; | |
| var res768 = false; | |
| // | |
| var userAgent = window.navigator.userAgent.toLowerCase(); |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Document</title> | |
| <link rel="stylesheet" type="text/css" href="http://code.jquery.com/qunit/qunit-1.19.0.css" media="all" /> | |
| </head> | |
| <body> | |
| <div class="testing"> | |
| <div id="qunit"></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
| isset is_null ===null ==null empty | |
| null | F | T | T | T | T | | |
| unset | F | T | T | T | T | | |
| "" | T | F | F | T | T | | |
| [] | T | F | F | T | T | | |
| 0 | T | F | F | T | T | | |
| false | T | F | F | T | T | | |
| true | T | F | F | F | F | | |
| 1 | T | F | F | F | F | | |
| \0 | T | F | F | F | F | |
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
| <?php | |
| // autoload_classmap.php @generated by Composer | |
| $vendorDir = dirname(dirname(__FILE__)); | |
| $baseDir = dirname($vendorDir); | |
| // Auto reading Class | |
| $n = array(); | |
| foreach (glob($vendorDir . '/my_vendor_path/*.php') as $k => $v) { |
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
| /* BREAKPOINTS */ | |
| $break-big: "screen and (min-width:1660px)"; | |
| $break-large: ""; // Default | |
| $break-medium: "screen and (min-width:461px) and (max-width:768px)"; | |
| $break-small: "screen and (max-width:460px)"; | |
| $break-smaller: "screen and (max-width:768px)"; | |
| /* MINIX */ |