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
package main | |
import ( | |
"fmt" | |
"k8s.io/kubernetes/cmd/kubelet/app" | |
"k8s.io/kubernetes/pkg/volume" | |
) | |
func main() { |
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
{ | |
"apiVersion": "pingcap.com/v1alpha1", | |
"kind": "TidbCluster", | |
"metadata": { | |
"name": "demo", | |
"namespace": "operators" | |
}, | |
"spec": { | |
"pd": { | |
"image": "pingcap/pd:v2.1.0", |
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
package filepath | |
import ( | |
"errors" | |
"os" | |
"path/filepath" | |
"runtime" | |
) | |
// See https://github.com/kubernetes/kubernetes/pull/61489#discussion_r179732719 |
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
INFO global: Vagrant version: 1.9.5 | |
INFO global: Ruby version: 2.2.5 | |
INFO global: RubyGems version: 2.4.5.1 | |
INFO global: VAGRANT_OLD_ENV_USER="cofyc" | |
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="Apple_Terminal" | |
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM_VERSION="361.1" | |
INFO global: VAGRANT_OLD_ENV_XPC_SERVICE_NAME="0" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.9.5/bin/vagrant" | |
INFO global: VAGRANT_OLD_ENV_DISPLAY="/private/tmp/com.apple.launchd.KuClk7L7wV/org.macosforge.xquartz:0" |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"sync" | |
"time" | |
) | |
var ( |
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
#!/usr/bin/env python | |
# | |
# A handy tool to compile and execute C source directly. | |
# | |
# @author Yecheng Fu <[email protected]> | |
import os | |
import sys | |
import tempfile | |
import subprocess |
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
/** | |
* dnspod-sr architecture | |
* Date: Fri Jan 23 22:44:47 2015 +0800 | |
* Author: Yecheng Fu <[email protected]> | |
*/ | |
digraph G { | |
// graph | |
labelloc="t" | |
splines=true | |
label="dnspod-sr architecture" |
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
# Uncrustify 0.59 | |
# Default Config: http://uncrustify.sourceforge.net/default.cfg | |
# | |
# General options | |
# | |
# The type of line endings | |
newlines = auto # auto/lf/crlf/cr |
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
// ==UserScript== | |
// @name Re-enable password pasting | |
// @namespace http://yechengfu.com | |
// @version 0.1 | |
// @description Re-enable password pasting. | |
// @author Yecheng Fu | |
// @match https://accounts.ctrip.com/* | |
// @grant none | |
// @refer http://prioritized.net/blog/re-enabling-password-pasting-on-annoying-web-forms/ | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name rfc fix | |
// @namespace http://yechengfu.com | |
// @version 0.1 | |
// @description Fix h1 headers on http://tools.ietf.org/html/rfc* pages. | |
// @author Yecheng Fu | |
// @match http://tools.ietf.org/html/rfc* | |
// @require http://a.tbcdn.cn/libs/jquery/1.7.1/jquery.js | |
// @grant none | |
// ==/UserScript== |
NewerOlder