Skip to content

Instantly share code, notes, and snippets.

View lazyTai's full-sized avatar

刘明泰 lazyTai

View GitHub Profile
@lazyTai
lazyTai / gist:ac333ab55fd1e5e93fc8837de795d56a
Last active March 18, 2019 09:47
Feel better now? The rise and rise of the anxiety economy
今日导读
近年来社会环境快速变化,使得“焦虑”渐渐成为了人们生活中的热门词汇。十四亿人民中有多少人处于焦虑之中?目前每 100 个中国人当中就有 13 人是焦虑症患者。这个数据的真实性我们无从考证,但焦虑的确在我们的生活中被高频地提及。人们渴望消除它,同时又在这种渴求中增加新的焦虑。焦虑经济带来了怎样的市场和商机?你是“焦虑中毒者”还是“焦虑的观众”?让我们跟着 Zurini 老师一起走进今天的新闻。
带着问题听讲解
如何理解 trade on 这个短语?
正在蓬勃发展的抗焦虑衍生品是什么?
你焦虑吗?是否想过如何解决?
新闻正文
Feel better now? The rise and rise of the anxiety economy
现在感觉好多了?焦虑经济的不断崛起
---hong---
--登录
--注册
--分类
--左侧抽屉组件
首页左侧抽屉--关于定易
首页左侧抽屉--商务合作
首页左侧抽屉--意见反馈
@lazyTai
lazyTai / rcc react.js
Last active April 1, 2019 14:16
rcc react
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 June 8, 2018 03:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-06-08T03:27:19.910Z","extensionVersion":"v2.9.2"}
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");
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"
@lazyTai
lazyTai / blog
Created October 6, 2017 08:57
blog
打算研究下面的内容完毕之后
1.react 源码分享
2.swiper 研究
3.redux 源码研究
4.unity 动画
/*
* 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 October 1, 2017 03:07
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) {
SpringConfig
.fromOrigamiTensionAndFriction
```
fromOrigamiTensionAndFriction: function(tension, friction) {
return new SpringConfig(
OrigamiValueConverter.tensionFromOrigamiValue(tension),
OrigamiValueConverter.frictionFromOrigamiValue(friction));
},