This file contains hidden or 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
{"lastUpload":"2019-11-12T03:40:21.845Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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 | |
# Redirect output to stderr. | |
exec 1>&2 | |
# enable user input | |
exec < /dev/tty | |
consoleregexp='console.log' | |
# CHECK | |
if test $(git diff --cached | grep $consoleregexp | wc -l) != 0 | |
then |
This file contains hidden or 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
input { | |
width:500px; | |
} |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="KISSY XTemplate Test" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script src="http://g.tbcdn.cn/kissy/k/1.4.3/seed.js"></script> | |
</head> | |
<body> | |
<script> |
This file contains hidden or 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 | |
# build from git repo to svn repo | |
srcDir=~/Sites/workspace/pix/ | |
vsDir=~/Sites/vhosts/a.tbcdn.cn/apps/pix/ | |
toolsDir=$srcDir'tools/' | |
echo 'Now build from Git branch to SVN branch' | |
gitTimeStamp=`git st $srcDir | grep -Eo '(SVN.*$|SVN/TRUNK)'` | |
gitTimeStamp=${gitTimeStamp##SVN/} |
This file contains hidden or 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
#Default GitHub | |
Host github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa | |
#Default GitHub | |
Host github-company | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa_OTHER_LABEL |
This file contains hidden or 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/bash | |
# change my hosts | |
# | |
# USAGE # | |
# chost local(default) | |
# chost daily | |
# chost online | |
# | |
mode=$1 |
This file contains hidden or 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/bash | |
# YUI Compressor Bash Script | |
# @author [email protected] | |
# @version 0.1 2012-04-20 | |
# 安装 # | |
# 1. 设置好你的JAVA_HOME环境变量 | |
# 2. 在自己的家目录下面创建一个bin文件夹 ~/bin | |
# 2. 复制这个 compress.sh 以及 yuicompressor.jar 到 ~/bin,并执行 | |
# chmod +x compress.sh(以保证compress.sh可执行) |