yarn add -D \
babel-plugin-syntax-flow \
babel-plugin-transform-class-properties \
babel-plugin-transform-flow-strip-types \
babel-plugin-transform-es3-member-expression-literals \
babel-plugin-transform-es3-property-literals \
babel-plugin-transform-object-assign\
babel-plugin-transform-object-rest-spread \
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
// ==UserScript== | |
// @name iCopy5 | |
// @namespace http://tampermonkey.net/ | |
// @version 5.4.2 | |
// @description 一键复制iCafe信息,支持生成gitMsg,支持多选,支持预览 | |
// @author [email protected] | |
// @match https://console.cloud.baidu-int.com/devops/icafe/* | |
// @grant none | |
// @license MIT | |
// @updateAt 2022-01-12 |
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
// ==UserScript== | |
// @name iCodeReviewHelperAuto | |
// @namespace http://tampermonkey.net/ | |
// @version 2.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://icode.baidu.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name iCafe Helper 简洁版 | |
// @namespace http://tampermonkey.net/ | |
// @version 1.1 | |
// @description 一键复制iCafe单信息,形成iCode提测邮件icode信息 | |
// @author [email protected] | |
// @match http://newicafe.baidu.com/* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name iCode Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 1.3 | |
// @description 一键复制iCafe单信息,形成Git Commit Msg,支持旧版迭代计划和工作台 | |
// @author [email protected] | |
// @match http://newicafe.baidu.com/* | |
// @grant none | |
// ==/UserScript== |
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
"use strict"; | |
// var angular = require('angular'); | |
(function () { | |
var isFunction = angular.isFunction, isString = angular.isString; | |
function applyPairs(memo, keyValTuple) { | |
var key, value; | |
if (Array.isArray(keyValTuple)) | |
key = keyValTuple[0], value = keyValTuple[1]; | |
if (!isString(key)) | |
throw new Error("invalid parameters to applyPairs"); |
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
global | |
log 127.0.0.1 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon |
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
# Installing tmux on CentOS 6 | |
# If you don't have libevent install use wget to install the libevent and install | |
git clone https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
tar zxf libevent-2.0.22-stable.tar.gz | |
cd libevent-2.0.22-stable | |
./configure & make install | |
# If you don't have curses install use yum to install the curses |
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
// Generated on 2014-07-08 using generator-angular 0.9.3 | |
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
var modRewrite = require('connect-modrewrite'); |
NewerOlder