Skip to content

Instantly share code, notes, and snippets.

View yutin1987's full-sized avatar

YuTin Liu yutin1987

View GitHub Profile
{
"name": "",
"displayName": "",
"backgroundImage": "",
"gift": [
{ "displayName": "", "type": "image", "uri": [] },
{ "displayName": "", "type": "audio", "uri": [] },
{ "displayName": "", "type": "video", "uri": [] },
{ "displayName": "", "type": "web", "uri": [] },
{ "displayName": "", "type": "map", "point": [{ "latitude": 0, "longitude": 0 }] },
const PNG00 = "/juvenile/00.png";
const PNG06 = "/juvenile/06.png";
const PNG07 = "/juvenile/07.png";
const PNG10 = "/juvenile/10.png";
const PNG13 = "/juvenile/13.png";
const PNG16 = "/juvenile/16.png";
const PNG19 = "/juvenile/19.png";
const PNG20 = "/juvenile/20.png";
const PNG21 = "/juvenile/21.png";
const PNG22 = "/juvenile/22.png";
`-+syhddmmmddhyo+:`
.+hmmdddddddddddddddmmds/` ``...`
`/hmddddddddddddddddddddddddmy++osyhyyyhhs.
`ommddddddddddddddddddddddddddddmmdys+++syhhh:
.` /mmddddddddddddddddddddddddddddddddmmhyyyyyyyyh/
`:sdNy` .ymddddddddddddddddddddddddddddddddddddmdhhhyyyyyh-
`.+hmmmddmo -mmddddddddddddddddddddddddddddddddddddddmmhhhhhhhh+
odmmdddddddms` `+mmddddddddddddddddddddddddddddddddddddddddmmddhhhhh+
ymdmmmmmmmmdmmdmmdddddddddddddmmddddddddddddddddddddddddddddmd:ydhhd:
:Nmmmmmmmmmmmmmmddy+::+ydddms/:::/+osydmdddddddddddddddddddddN-`:+o:
@yutin1987
yutin1987 / tasks.csv
Created March 25, 2018 09:44
tasks.csv
類型 是否已知解法 是否已實作過 工時估算
研發型 X X 未知
挑戰型 O X 保守
開發型 O O 精準
@yutin1987
yutin1987 / members.csv
Last active March 29, 2018 14:41
members.csv
類型 行為特性 適合任務
刺客型 發現目標,找到夥伴同行 研發型、挑戰型、危機處理
拓荒型 需要目標,會拆解出任務並協調分工 研發型、挑戰型
戰士型 需要任務,會把任務完成甚至找到更好的解法 挑戰型、開發型
需要任務,甚至於需要告知解法才有辦法按步驟完成
@yutin1987
yutin1987 / init.coffee
Created November 18, 2017 01:16
undo-last-commit for atmo
{ BufferedProcess } = require 'atom'
atom.commands.add 'atom-text-editor', 'undo-last-commit': (event) ->
path = atom.workspace.getCenter().getActiveTextEditor()?.getPath()
directory = atom.project.getDirectories().filter((d) -> d.contains(path))[0]
output = ''
new BufferedProcess
command: 'git'
args: ['reset', 'HEAD^']
options:
@yutin1987
yutin1987 / .css
Last active September 9, 2017 13:51
hackmd & obs
body {
margin: 0 auto !important;
padding: 0 !important;
overflow: hidden;
background-color: transparent !important;
}
.navbar, .ui-infobar, .ui-toc-label { display: none; }
.ui-view-area {
position: fixed;
bottom: 0px;
import React, { PropTypes, Component } from 'react';
import { StyleSheet, View, TouchableOpacity, Image } from 'react-native';
import { Input } from 'component';
import length from 'lodash/size';
import isArray from 'lodash/isArray';
import Cropper from 'react-native-cropper';
import color from 'color';
import size from 'size';
import Text from '../Text/Text';
import Icon from '../Icon/Icon';
@yutin1987
yutin1987 / package.json
Last active April 25, 2017 11:36
high performance solution for test apollo use enzym on react-native
{
"jest": {
"preset": "react-native",
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
]
}
}
@yutin1987
yutin1987 / knex.js
Created February 26, 2017 07:43
mock knex
import knex from 'knex';
export const query = jest.fn(() => Promise.resolve([]));
const client = class extends knex.Client {
_query = query;
acquireConnection = () => Promise.resolve({});
processResponse = resp => resp;
releaseConnection = () => Promise.resolve();
};