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
# You can put files here to add functionality separated per file, which | |
# will be ignored by git. | |
# Files on the custom/ directory will be automatically loaded by the init | |
# script, in alphabetical order. | |
# For example: add yourself some shortcuts to projects you often work on. | |
# | |
# brainstormr=~/Projects/development/planetargon/brainstormr | |
# cd $brainstormr | |
# |
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 | |
cygwin=false; | |
darwin=false; | |
mingw=false | |
case "`uname`" in | |
CYGWIN*) cygwin=true ;; | |
MINGW*) mingw=true;; | |
Darwin*) darwin=true | |
# Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home | |
# See https://developer.apple.com/library/mac/qa/qa1170/_index.html |
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
target/ | |
!.mvn/wrapper/maven-wrapper.jar | |
### STS ### | |
.apt_generated | |
.classpath | |
.factorypath | |
.project | |
.settings | |
.springBeans |
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
root=true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
charset = utf-8 | |
[*.java] | |
indent_style = tab | |
indent_size = 4 |
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
Host * | |
# ForwardAgent no | |
ForwardX11 yes | |
ForwardX11Trusted yes | |
# RhostsRSAAuthentication no | |
# RSAAuthentication yes | |
# PasswordAuthentication yes | |
# HostbasedAuthentication no | |
# GSSAPIAuthentication no | |
# GSSAPIDelegateCredentials no |
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
function proxy_on(){ | |
export no_proxy = "localhost,127.0.0.1,localaddress,.localdomain.com" | |
export http_proxy = "http://127.0.0.1:1081" | |
export https_proxy = $http_proxy | |
export socket_proxy = "socks5://127.0.0.1:1081" | |
echo -e "Proxy Open!" | |
} | |
function proxy_off(){ | |
unset http_proxy |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFsKnlEBEADhxnmK1JaDvOG7G13MQyMEfPd7UwRE8QMdQ+VKttqONefBi6rC | |
xCTn01ivV34TvD7Yur8Se/aDx8EEBbpqv3HZqrCDM0hoyY/V/aC4YcnvgDBE44YK | |
Z2CsINAsyNGfxaXTM/mtyKX1VyRknsMKQNeimMDBzhsocqpWzNjqCGxn0HBLQmxK | |
nHJzhrK7BTO/og1p48laAwoigw/74OeZl20C1+WiZy7zqgTq0Rw27o1bsjhryzRC | |
/xWoKUDjq9pINZcJbOqYCvEd0fSwOd7aRUUdgME0nJqvze4zROvDM1YnZpPEREqh | |
egjxfqRK8r/EA4jiohV7FMU7WJx9lvuB7jPFA2CQ/7HFe0C3rZHL2yTSQDulNkRQ | |
C5LVsNWzxzR3KgPWEn03PpsZeB0cLnxL/jyMm/CH3lkvwsmJNOhoaltjHiYVOqMW | |
u8b9j7Dage7Ve5jnXFtjvIm34PJSdUeTCg4LBHEGrJ3PTDGyjLac2SZy40LrgDG6 |
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
From http://pgp.mit.edu/faq.html: | |
You cannot delete keys nor modify UIDs for keys uploaded to PGP key servers. | |
To change your email, you must add a new UID. | |
$ gpg --edit-key <keyID> | |
gpg> adduid | |
Real name: <name> |
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
OS X Install GnuPG | |
brew install gpg | |
生成自己的钥匙 | |
gpg --gen-key | |
导出公钥 | |
gpg --armor --output filename --export [UID] | |
导入公钥 |
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
############################################################# | |
# For Proxy | |
# export http_proxy="127.0.0.1:1080" | |
# export http_proxy="socks5://127.0.0.1:1080" | |
# export ALL_PROXY=socks5://127.0.0.1:1080 | |
# alias setproxy="export ALL_PROXY=socks5://127.0.0.1:1080" | |
# alias unsetproxy="unset ALL_PROXY" | |
# alias ip="curl -i http://ip.cn" | |
# export http_proxy="127.0.0.1:1080" | |
# export http_proxy="socks5://127.0.0.1:1080" |