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
/* | |
* jQuery Double Tap | |
* Developer: Sergey Margaritov (github.com/attenzione) | |
* License: MIT | |
* Date: 22.10.2013 | |
* Based on jquery documentation http://learn.jquery.com/events/event-extensions/ | |
*/ | |
(function($){ |
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 | |
title My App | |
meta name="viewport" content="width=device-width, initial-scale=1.0" | |
= stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true | |
= javascript_include_tag "application", 'data-turbolinks-track' => true | |
= csrf_meta_tags | |
body |
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 theme for the Clearly browser extension by Evernote. | |
* See: www.evernote.com/clearly/ | |
* | |
* Options used alongside this CSS: | |
* Body font: "Adelle", Georgia, 微軟正黑體, Helvetica, Arial, sans-serif | |
* Header font: Soho-condensed, PT Serif, 微軟正黑體, Helvetica | |
* Monospace font: 微軟正黑體Mono, Inconsolata, Consolas, Droid Sans Mono | |
* Background: #FFFFFF | |
* Foregound: #333333 |
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
<span itemscope="" itemref="[Shape]" itemtype="http://growbutton.com/ns#button"> | |
<span itemprop="url">[URL]</span> | |
<span itemprop="title">[Title]</span> | |
<span itemprop="image">[Image]</span> | |
<span itemprop="apikey">[ApiKey]</span> | |
</span> | |
[Shape] : square or rectangle, Shape of the Grow! button | |
[URL] : URL of the content page | |
[Title] : Title of the content page |
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($) { | |
$.github = function(method, id, callback) { | |
return $.ajax('https://api.github.com' + method + '/' + id, { | |
cache : true, | |
dataType : 'jsonp', | |
success : function(data) { | |
if(data.meta.status != 200) { | |
return console.error(data.meta); | |
} | |
return callback(data.data); |
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
# Global restrictions configuration file. | |
# Designed to be included in any server {} block.</p> | |
location = /favicon.ico { | |
log_not_found off; | |
access_log off; | |
} | |
location = /robots.txt { | |
allow all; | |
log_not_found off; |