I hereby claim:
- I am turingou on github.
- I am turing (https://keybase.io/turing) on keybase.
- I have a public key whose fingerprint is 8E29 8B80 4274 5B10 232F 174F 5B12 3599 1CF7 7ABC
To claim this, I am signing this object:
/**! | |
* 微信内置浏览器的Javascript API,功能包括: | |
* | |
* 1、分享到微信朋友圈 | |
* 2、分享给微信好友 | |
* 3、分享到腾讯微博 | |
* 4、隐藏/显示右上角的菜单入口 | |
* 5、隐藏/显示底部浏览器工具栏 | |
* 6、获取当前的网络状态 | |
* |
var a = function(fn1, fn2) { | |
var value = 123; | |
return { | |
fn1: fn1(value), | |
fn2: fn2(value) | |
} | |
}; | |
var b = a(function(value){ | |
return function() { |
I hereby claim:
To claim this, I am signing this object:
function nyan(option) { | |
var bpm = option.bpm || 120; | |
// Intro | |
var intro = beeplay({bpm: bpm}) | |
.play(null, 2) | |
.play('D#5', 1/4).play('E5', 1/4).play('F#5', 1/2) | |
.play('B5', 1/2).play('D#5', 1/4).play('E5', 1/4) | |
.play('F#5', 1/4).play('B5', 1/4).play('C#6', 1/4).play('D#6', 1/4) | |
.play('C#6', 1/4).play('A#5', 1/4).play('B5', 1/2) | |
.play('F#5', 1/2).play('D#5', 1/4).play('E5', 1/4) |
<!DOCTYPE html> | |
<html ng-app="airpub" ng-controller="global"> | |
<head ng-controller="meta"> | |
<base href="/" /> | |
<meta charset="UTF-8"> | |
<title ng-bind="title"></title> | |
<meta name="fragment" content="!" /> | |
<meta name="description" content="{{description}}"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<!-- dependencies stylesheets and scripts --> |
### Keybase proof | |
I hereby claim: | |
* I am guo-yu on github. | |
* I am turing (https://keybase.io/turing) on keybase. | |
* I have a public key whose fingerprint is 8E29 8B80 4274 5B10 232F 174F 5B12 3599 1CF7 7ABC | |
To claim this, I am signing this object: |
<!-- 引入menkr cdn 提供的seajs源 和 配置文件 --> | |
<script src="http://cdn.menkr.com/sea.js" data-config="config/config.js" charset="utf-8"></script> | |
<script> | |
// 使用别名(alias)加载组件 | |
seajs.use(['jquery', 'moment'], function($, moment) { | |
$(document).ready(function() { | |
console.log('Menkr CDN 上线时间距离现在:') | |
console.log(moment("20130329", "YYYYMMDD").fromNow()) | |
}); | |
}); |
var Book = function(name) { | |
this.name = name; | |
this.demo = '123'; | |
} | |
var Method = function() { | |
// 继承了 Book 的静态属性 this.demo = '123' | |
Book.apply(this, arguments); | |
} |
#include "include.h" | |
/* | |
{ | |
"method":"helloworld.onoff", | |
"params":"on"/"off" | |
} | |
*/ |
var sdk = require('sdk'); | |
// init a API | |
var demo = new sdk({ | |
read: { | |
url: '/demo/read/{{name}}', | |
method: 'get' | |
}, | |
update: { | |
url: '/demo/update', |