d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 拖动上下文,贯穿拖动排序的整个生命周期 | |
*/ | |
export interface DraggingContext { | |
startPosition: [number, number]; | |
activated: boolean; | |
source: HTMLTableRowElement; | |
sourceIndex: number; | |
sourceHeight: number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(function(require, exports, module) { | |
/*! | |
** Thenable -- Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable | |
** Copyright (c) 2013-2014 Ralf S. Engelschall <http://engelschall.com> | |
** Licensed under The MIT License <http://opensource.org/licenses/MIT> | |
** Source-Code distributed on <http://github.com/rse/thenable> | |
*/ | |
/* promise states [Promises/A+ 2.1] */ | |
var STATE_PENDING = 0; /* [Promises/A+ 2.1.1] */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash -c "$(curl -s https://gist.githubusercontent.com/techird/f301476006209e039630/raw)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ./.git/hooks/ && curl -s https://gist.githubusercontent.com/techird/0104a1dd01c2d19919c5/raw > ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit && echo 'Install Success!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# @Author: techird | |
# @Date: 2014/11/19 11:10 | |
# @Last Modified by: techird | |
# @Last Modified time: 2014/11/19 11:10 | |
#git diff --cached --name-only --diff-filter=ACMR | |
files=$(git diff --cached --name-only --diff-filter=ACMR | grep "\.js$") | |
if [ "$files" = "" ]; then | |
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.triangle { | |
content: ' '; | |
display: block; | |
width: 0; | |
height: 0; | |
line-height: 0; | |
font-size: 0; | |
border-style: solid; | |
border-color: transparent; | |
} |
NewerOlder