Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
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
$(document).ready(function() { | |
$("#demo-input-local-custom-formatters").tokenInput([{ | |
"first_name": "Arthur", | |
"last_name": "Godfrey", | |
"email": "[email protected]", | |
"url": "https://si0.twimg.com/sticky/default_profile_images/default_profile_2_normal.png" | |
}, | |
{ | |
"first_name": "Adam", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>TeXShop Extended</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
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 | |
// Licence: Do Whatever The Fuck You Want! http://www.wtfpl.net/about/ | |
// Author: Your bro! | |
$fbAuth = array("facebook_id" => "123456789", facebook_token" => "<Use charles proxy to do man-in-middle SSL sniffing and extract fb token>"); | |
// Do the magic. | |
$tinderToken = tinderCall("auth", "token", $fbAuth); // Authenticate |
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 phidget = require('phidget'); | |
var bridge = new phidget.bridge(); | |
var scale = bridge.attach(function (err) { | |
console.log('\n0 ----------------\n'); | |
console.log(phidget.getValue(350222, function(data){ console.log(data) })); | |
console.log('\n1 ----------------\n'); | |
console.log(phidget.getValue(4, function(data){ console.log(data) })); | |
console.log('\n2 ----------------\n'); | |
console.log(phidget.getValue(-1, function(data){ console.log(data) })); | |
console.log('\n3 ----------------\n'); |
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 SupplementBox = React.createClass({ | |
render: function() { | |
var content; | |
if (this.props.selected_supplement == null || typeof this.props.selected_supplement.master === "undefined") { | |
content = function(){ | |
return( | |
<div></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
// This is how it's called | |
<SubscriptionBuilder handleCartClick={this.props.handleCartClick} cart_workout={ this.state.cart_workout } cart_rest={ this.state.cart_rest }/> | |
. | |
. | |
. | |
var SubscriptionBuilder = React.createClass({ | |
render: function() { | |
var cart_items = function(product, index) { |
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
Spree::CheckoutController.class_eval do | |
def before_address | |
# If the user has a default address, a callback takes care of setting | |
# that; but if he doesn't, we need to build an empty one here. | |
# Regardless of checkout steps, build a shipping address | |
@order.bill_address ||= Spree::Address.build_default | |
@order.ship_address ||= Spree::Address.build_default | |
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
var React = require('react'); | |
var CreatorBox = module.exports = React.createClass({ | |
render: function() { | |
return ( | |
<a href="#" className="btn btn-default" role="button">Button</a> | |
) | |
} | |
}) |
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
Andres at and-mbp in ~/Projects/react-router-mega-demo on master | |
$ ./script/dev | |
Running node-supervisor with | |
program 'app.js' | |
--watch '.' | |
--extensions 'node,js' | |
--exec 'node' | |
Starting child process with 'node app.js' |
OlderNewer