I hereby claim:
- I am gutenye on github.
- I am gutenye (https://keybase.io/gutenye) on keybase.
- I have a public key whose fingerprint is 192B 7750 A6D1 437C DE18 EC14 BDE2 D897 FD33 7D66
To claim this, I am signing this object:
| version: "2" | |
| services: | |
| app: | |
| image: jeshan/bitcore-node | |
| environment: | |
| - NETWORK=testnet | |
| #network_mode: host | |
| volumes: | |
| - './data:/root/bitcoin-node/data' |
| require('babel-polyfill') | |
| const GraphQLThinky = require('graphql-thinky').default | |
| const Thinky = require('thinky') | |
| const Fixtures = require('rethinkdb-fixtures') | |
| const { graphql } = require('graphql') | |
| const { makeExecutableSchema } = require('graphql-tools') | |
| global.pd = console.log.bind(console) | |
| // Thinky //{{{1 | |
| const DB = 'test' |
| /** | |
| * Footprints Configuration | |
| * (config.footprints) | |
| * | |
| * Footprints are routes that are auto-generated from your model and controller | |
| * definitions in api/controllers and api/models. | |
| * | |
| * @see http://trailsjs.io/doc/config/footprints | |
| */ | |
| module.exports = { |
| import java.net.*; | |
| import java.io.*; | |
| public class Hello { | |
| public static void main(String[] args) { | |
| HttpURLConnection connection = null; | |
| String data = "{\"jsonrpc\": \"1.0\", \"method\": \"getaccountaddress\", \"params\": [\"a\"] }"; | |
| String username = "rpc"; | |
| String password = "rpc123"; | |
| try { |
| <?xml version='1.0' encoding='utf-8'?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
| #!/usr/bin/env node | |
| // | |
| // | |
| // Does not use ES6 Spread operator or any external dependency. | |
| // flatten an array of arbitrarily nested arrays into a flat array. | |
| // | |
| // USAGE | |
| // |
I hereby claim:
To claim this, I am signing this object:
App.IndexRoute = Ember.Route.extend({
model: function() {
return Ember.Object.create({name: 1})
},
setupController: function(controller, model) { // 他省略了setupController
controller.set('model', model) // 这里的model就是上面的 Ember.Object.create({name: 1})
controller.set('age', 2) // 模板里面 {{age}}
}| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Ember Hello</title> | |
| <script | |
| src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| <script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
| <script src="http://builds.emberjs.com/tags/v1.4.0/ember.min.js"></script> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>Ember Hello</title> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> | |
| <script src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js"></script> | |
| <script src="http://builds.emberjs.com/tags/v1.4.0/ember.min.js"></script> | |
| </head> | |
| <body> |