Skip to content

Instantly share code, notes, and snippets.

刘明泰 lazyTai

Block or report user

Report or block lazyTai

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lazyTai
lazyTai / gist:ac333ab55fd1e5e93fc8837de795d56a
Last active Mar 18, 2019
Feel better now? The rise and rise of the anxiety economy
View gist:ac333ab55fd1e5e93fc8837de795d56a
今日导读
近年来社会环境快速变化,使得“焦虑”渐渐成为了人们生活中的热门词汇。十四亿人民中有多少人处于焦虑之中?目前每 100 个中国人当中就有 13 人是焦虑症患者。这个数据的真实性我们无从考证,但焦虑的确在我们的生活中被高频地提及。人们渴望消除它,同时又在这种渴求中增加新的焦虑。焦虑经济带来了怎样的市场和商机?你是“焦虑中毒者”还是“焦虑的观众”?让我们跟着 Zurini 老师一起走进今天的新闻。
带着问题听讲解
如何理解 trade on 这个短语?
正在蓬勃发展的抗焦虑衍生品是什么?
你焦虑吗?是否想过如何解决?
新闻正文
Feel better now? The rise and rise of the anxiety economy
现在感觉好多了?焦虑经济的不断崛起
View 小程序任务分配.txt
---hong---
--登录
--注册
--分类
--左侧抽屉组件
首页左侧抽屉--关于定易
首页左侧抽屉--商务合作
首页左侧抽屉--意见反馈
View rcc react.js
import React from 'react';
import style from './basisiStyle.css'
import {Input, Form, Select, Icon, Radio, DatePicker, Button} from 'antd'
const FormItem = Form.Item;
const Option = Select.Option
const RadioGroup = Radio.Group;
class Basics extends React.Component {
render() {
@lazyTai
lazyTai / cloudSettings
Created Jun 8, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2018-06-08T03:27:19.910Z","extensionVersion":"v2.9.2"}
View megerCanvas.js
import React from 'react'
import {connect} from 'react-redux';
import {Route, Switch,} from 'dva/router'
import Konva from 'konva'
import {Stage, Layer, Rect, Text} from 'react-konva';
class MegerCanvas extends React.Component {
showImageO(beauty) {
var mycv = document.getElementById("canvasForO");
var ctx = mycv.getContext("2d");
View data
export const array = [
{
"id": 1,
"title": "Blog Title",
"content": "Some really short blog content. Actually the least interesting post ever",
"created_at": "2016-01-10T23:07:43.248Z",
"updated_at": "2016-01-10T23:07:43.248Z",
"author": {
"id": 81,
"name": "Mr Shelby"
View blog
打算研究下面的内容完毕之后
1.react 源码分享
2.swiper 研究
3.redux 源码研究
4.unity 动画
View Tween
/*
* Tween.js
* t: current time(当前时间);
* b: beginning value(初始值);
* c: change in value(变化量);
* d: duration(持续时间)。
* you can visit 'http://easings.net/zh-cn' to get effect
*/
var Tween = {
Linear: function (t, b, c, d) { return c * t / d + b; },
@lazyTai
lazyTai / react trasition
Last active Oct 1, 2017
react trasition
View react trasition
import React from 'react'
import ReactDOM, { findDOMNode } from 'react-dom'
// import addClass from 'dom-helpers/class/addClass';
import { addClass } from 'dom-helpers/class';
import raf from 'dom-helpers/util/requestAnimationFrame';
import { querySelectorAll } from 'dom-helpers/query';
const timeout = 400
export class Group extends React.Component {
constructor(props) {
View SpringConfig .fromOrigamiTensionAndFriction
SpringConfig
.fromOrigamiTensionAndFriction
```
fromOrigamiTensionAndFriction: function(tension, friction) {
return new SpringConfig(
OrigamiValueConverter.tensionFromOrigamiValue(tension),
OrigamiValueConverter.frictionFromOrigamiValue(friction));
},
You can’t perform that action at this time.