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
| <!-- iOS status bar style --> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> | |
| <!-- App mode --> | |
| <meta name="apple-mobile-web-app-capable" content="yes" /> | |
| <!-- Custom Title for homescreen icon (iOS6) --> | |
| <meta name="apple-mobile-web-app-title" content="Sitename"> |
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
| $total-columns: 4; | |
| #main { | |
| @include container(4,30em 12); // at min-width 30-em we establish a 12-column grid | |
| section.nav { | |
| @include span-columns(4); // by default we have 4 columns | |
| @include at-breakpoint(30em 12) { // at 30em we want 12 columns | |
| @include span-columns(12); // now we have 12 | |
| } | |
| } |
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
| # SASS Random colors ex. background-color: getRandomColor(); | |
| # Add to config.rb | |
| module Sass::Script::Functions | |
| def getRandomColor() | |
| Sass::Script::String.new("#%06x" % (rand * 0xffffff)) | |
| end | |
| end |
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
| { | |
| "bold_folder_labels": true, | |
| "close_windows_when_empty": true, | |
| "color_scheme": "Packages/tomorrow-theme/textmate/Tomorrow-Night-Eighties.tmTheme", | |
| "find_selected_text": true, | |
| "scroll_past_end": true, | |
| "folder_exclude_patterns": | |
| [ | |
| ".svn", | |
| ".git", |
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
| .htaccess | |
| wp-config.php | |
| xmlrpc.php | |
| wp-content/uploads/ | |
| wp-content/blogs.dir/ | |
| wp-content/upgrade/* | |
| wp-content/backup-db/* | |
| wp-content/advanced-cache.php | |
| wp-content/wp-cache-config.php | |
| wp-content/cache/* |
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 | |
| /* gets the data from a URL */ | |
| function get_data($url) { | |
| $ch = curl_init(); | |
| $timeout = 5; | |
| $options = array( | |
| CURLOPT_URL => $url, | |
| CURLOPT_RETURNTRANSFER => 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
| /** Modified Trello theme. Use with Stylish for Chrome. @urre | |
| Preview: http://cl.ly/image/0l1x1D2w2M0x | |
| Remove 33-41 if you dont need the Superprints logo :) | |
| */ | |
| html, | |
| body, | |
| input, | |
| select, | |
| textarea { font-size: 16px !important } |
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
| server{ | |
| listen 80; | |
| server_name dropbox.urre.me | |
| location / { | |
| set $index index.html; | |
| rewrite ^.*\/$ $fastcgi_script_name$index last; | |
| proxy_pass https://dl.dropboxusercontent.com/u/XXXXXXX/; | |
| proxy_redirect off; |
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 MyRouter = Backbone.Router.extend({ | |
| routes: { | |
| "/foo": "foo" | |
| }, | |
| foo: function(){ | |
| myController.doFoo(); | |
| } | |
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
| /** | |
| * A little convenient SASS mixin for Animate.css (https://daneden.me/animate/) | |
| * by @urre 131219 | |
| * Usage: @include superanimate(fadeInUp, 1.2s, .6s); | |
| */ | |
| @mixin superanimate($animationtype, $duration, $delay) { | |
| opacity :1; |