Skip to content

Instantly share code, notes, and snippets.

View techird's full-sized avatar

techirdliu techird

  • Tencent, Inc
  • Shenzhen City, GuangDong, China.
View GitHub Profile
git clone https://github.com/fex-team/kityminder-core
cd kityminder-core
npm install
bower install
git submodule init
git submodule update
cd lib/kity
npm install
npm install -g grunt-cli
grunt
@techird
techird / gist:54888fde59d90f87394c339449a452db
Created November 9, 2017 06:50 — forked from fabiofl/gist:5873100
Clear Mac OS X's icon cache.
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;
@techird
techird / tableSortable.ts
Last active May 22, 2018 13:24
表格拖动排序交互
/**
* 拖动上下文,贯穿拖动排序的整个生命周期
*/
export interface DraggingContext {
startPosition: [number, number];
activated: boolean;
source: HTMLTableRowElement;
sourceIndex: number;
sourceHeight: number;