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
{ | |
"ease": [0.25, 0.1, 0.25, 1.0], | |
"linear": [0.00, 0.0, 1.00, 1.0], | |
"ease-in": [0.42, 0.0, 1.00, 1.0], | |
"ease-out": [0.00, 0.0, 0.58, 1.0], | |
"ease-in-out": [0.42, 0.0, 0.58, 1.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
// want to uses this module like: | |
// `var $ = require('jquery');` | |
// | |
// so it incudes all plugins | |
var jquery = require('actual-jquery'); | |
require('plugin.jquery'); | |
module.exports = jquery; |
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
#import "PomTaskView+Constraints.h" | |
@implementation PomTaskView (Constraints) | |
- (void)updateConstraints { | |
[super updateConstraints]; | |
NSMutableArray *constraints = [NSMutableArray new]; | |
NSDictionary *views = [self subviewsDictionary]; |
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
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"> |
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
<FilesMatch "\.(eot|woff|svg|ttf)$"> | |
RewriteEngine On | |
# Let proxy servers with empty referer through | |
RewriteCond %{HTTP_REFERER} ^$ | |
RewriteCond %{HTTP:VIA} !^$ [OR] | |
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR] | |
RewriteCond %{HTTP:FORWARDED} !^$ [OR] | |
RewriteCond %{HTTP:FORWARDED-FOR} !^$ [OR] | |
RewriteCond %{HTTP:X-FORWARDED} !^$ [OR] |
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
class CommentsTableViewBackgroundView: UIView { | |
dynamic var isEmpty = true | |
dynamic var isLoading = false | |
let activityIndicator = UIActivityIndicatorView(activityIndicatorStyle: .WhiteLarge) | |
lazy var label: UILabel = { | |
let label = UILabel() |
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
process.on('uncaughtException', function(err) { | |
console.log('Threw Exception: ', err, err.stack); | |
}); |
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
# Usage | |
ProfileQuery.call(1) | |
# Object | |
class ProfileQuery | |
def self.call(options) | |
new(options).call | |
end | |
def initialize(profile_id) |
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
Verifying that +moudy is my openname (Bitcoin username). https://onename.com/moudy |
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
extension DataStore { | |
enum Endpoint { | |
case OrganizationPosts(String) | |
case LikePost(Int) | |
case CreatePost | |
case CreatePostComment(Int) | |
case GetPostComments(Int) |