解压tar包中特定文件
| |
| |
被墙煎的滋味确实很难受,ssh转发大家的方法还是比较方便的。
| |
但是很多的软件并不一定支持sock5代理,这个时候就需要将sock5代理转化为http代理。ArchLinux下的配置安装方法为:
| |
/etc/privoxy/config , 添加以下语句 | |
| |
Bingo! Enjoy it:)
@ http://www.cnblogs.com/highriver/archive/2010/06/24/1764520.html
解决Spark乱码:
Linux下Java图形界面中文显示乱码问题往往是所合适的jre/fonts里面没有合适的字体。
比如spark会往~/.install4j里面写入最后一行,说明spark使用的jre是其自带的jre.
| |
所以遇到乱码问题解决:
1,找到jre路径,创建fallback文件夹
| |
进入fallback文件夹,链接中文字体(我选的是文泉驿正黑)
| |
Since someone is asking me to provide an English version about git proxy configuration in my former blog. Here it is. 1). Basically, I know two ways to use git behind a proxy.
find a proxy command to bypass the connection: connect.c
| |
| |
Here I’m using a http proxy offered by my school, which uses port 8080 The connect command also support socket proxy. Use -S host:port to indicate that.
| |
The connect command reads proxy username and password from
CONNECT_USERandCONNECT_PASSWORDevironment. The default username is current login user if no CONNECT_USER is set. Password will be requested interactively if CONNECT_PASSWORD is empty. GIT_PROXY_COMMAND indicates that git should use the command “proxy”(the wrapper we setup at step 2) as its proxy_command. This can also be set in .git/config.
Now, everything we need is done. Have a try:
| |