I hereby claim:
- I am towry on github.
- I am towry (https://keybase.io/towry) on keybase.
- I have a public key whose fingerprint is B48B 3AEB 954C 5CC4 F323 B0FE E6AA 531E C52D DED3
To claim this, I am signing this object:
/*! | |
https://blog.jcoglan.com/2011/03/05/translation-from-haskell-to-javascript-of-selected-portions-of-the-best-introduction-to-monads-ive-ever-read/ | |
this is a function with side effect, to dealing with side effect, | |
we can format it into return value, because pure function can only | |
have input and output (return) effect to outside world. | |
```js |
//: Playground - noun: a place where people can play | |
import Foundation | |
import PlaygroundSupport | |
URLCache.shared = URLCache(memoryCapacity: 0, diskCapacity: 0, diskPath: nil) | |
let url = URL(string: "http://www.baidu.com") | |
let task = URLSession.shared.dataTask(with: url!) {data, response, error in |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
body { | |
padding-top: 3rem; | |
} |
see the Makefile
: https://github.com/towry/TasskySidebar/blob/master/Makefile
// usage | |
import historyFallback from 'lib/polyfill/historyFallback' | |
import historySupport from 'lib/support/history'; | |
let redirected = historyFallback('/', historySupport ? 'history' : 'hash'); | |
if (!redirected) { | |
// You app ... | |
// Vue.use(VueRouter); |
/*! | |
* Copyright 2016 MoSeeker, Inc. | |
* @author Towry Wang | |
*/ | |
var verge = require('verge'); | |
var classes = require('dom-classes'); | |
var objectAssign = require('object-assign'); | |
function LazyLoad(options) { |