为什么80%的码农都做不了架构师?>>>
#sublime text
##Settings - User
{"font_size": 14.0,"tab_size": 2,"scroll_past_end": true,"translate_tabs_to_spaces": true,"trim_trailing_white_space_on_save": true,"update_check": false,"word_wrap": "auto"
}
##安装插件控制
- 按Ctrl+`调出console
- 在此网站Package Control 安装找到你的sublime2或者sublime3的代码,粘贴到console里回车
sublime text 3
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
sublime text 2
import urllib2,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
- 重启Sublime Text
- 如果在Perferences->package settings中看到package control这一项,则安装成功
附录: 如果console方式安装不了,则可到这里下载文件来安装:http://www.cnblogs.com/luoshupeng/archive/2013/09/09/3310777.html
#Fiddler
Fiddler连接远程终端
Fiddler软件打开Fiddler Options的connection面板,打开允许远程连接开关,并设置监听的端口与其他参数
在远程终端连接与本机相同的网络,并手动设置代理,host为本机的IP,端口为监听端口