Skip to content

Instantly share code, notes, and snippets.

View lovejavaee's full-sized avatar
👋
Java | C++ | Python | ML | DL

Jeff M lovejavaee

👋
Java | C++ | Python | ML | DL
View GitHub Profile
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
Host *
# ForwardAgent no
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
@lovejavaee
lovejavaee / .editorconfig
Last active September 19, 2018 03:30
editor config
root=true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.java]
indent_style = tab
indent_size = 4
target/
!.mvn/wrapper/maven-wrapper.jar
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
#/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
# 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
#
@lovejavaee
lovejavaee / zsh_keybindings.zsh.md
Created September 21, 2018 03:29
zsh bindkey

Zsh keybindings

# Keybindings #
###############

# Keybindings to make special keys work - https://wiki.archlinux.org/index.php/Zsh#Key_Bindings
bindkey -v # vi mode
bindkey "\e[1~" beginning-of-line # Home