{"id":1135,"date":"2014-09-15T12:18:40","date_gmt":"2014-09-15T15:18:40","guid":{"rendered":"http:\/\/www.franklinjr.com\/blog\/?p=1135"},"modified":"2014-09-15T12:18:40","modified_gmt":"2014-09-15T15:18:40","slug":"ftp-no-sublime-text-2","status":"publish","type":"post","link":"https:\/\/www.franklinjr.com\/blog\/index.php\/2014\/09\/15\/ftp-no-sublime-text-2\/","title":{"rendered":"FTP no sublime text 2"},"content":{"rendered":"<p>Primeiro temos que habilitar o package controle, para isso aperte no teclado ctrl + ` ou v\u00e1 em view &gt; show console e cole o texto abaixo<\/p>\n<pre lang=\"text\" line=\"1\"> import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; 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:\/\/sublime.wbond.net\/' + 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')<\/pre>\n<p>Depois, no windows, aperte ctrl+shift+p,\u00a0e cole isso<\/p>\n<p><em>Package Control: Install Package<\/em><\/p>\n<p>Quando o reposit\u00f3rio carregar, procure por SFTP e clique para instalar\u00a0\ud83d\ude42<\/p>\n<p>Com base nos links abaixo:<br \/>\n<a title=\"Instalar control package\" href=\"https:\/\/sublime.wbond.net\/installation#st2\" target=\"_blank\">https:\/\/sublime.wbond.net\/installation#st2<\/a><br \/>\n<a title=\"Instalar SFTP no sublime text\" href=\"http:\/\/wbond.net\/sublime_packages\/sftp\/installation\" target=\"_blank\">http:\/\/wbond.net\/sublime_packages\/sftp\/installation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Primeiro temos que habilitar o package controle, para isso aperte no teclado ctrl + ` ou v\u00e1 em view &gt; show console e cole o texto abaixo import urllib2,os,hashlib; h = &#8216;7183a2d3e96f11eeadd761d777e62404&#8217; + &#8216;e330c659d4bb41d3bdf022e94cab3cd0&#8217;; pf = &#8216;Package Control.sublime-package&#8217;; 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 = [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[534],"tags":[535,536,537],"class_list":["post-1135","post","type-post","status-publish","format-standard","hentry","category-desenvolvimento","tag-ftp","tag-sftp","tag-sublime"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>FTP no sublime text 2 - Franklin Jr.<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/www.franklinjr.com\/blog\/index.php\/2014\/09\/15\/ftp-no-sublime-text-2\/\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/index.php\\\/2014\\\/09\\\/15\\\/ftp-no-sublime-text-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/www.franklinjr.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FTP no sublime text 2\"}]}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FTP no sublime text 2 - Franklin Jr.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.franklinjr.com\/blog\/index.php\/2014\/09\/15\/ftp-no-sublime-text-2\/","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.franklinjr.com\/blog\/index.php\/2014\/09\/15\/ftp-no-sublime-text-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/www.franklinjr.com\/blog\/"},{"@type":"ListItem","position":2,"name":"FTP no sublime text 2"}]}]}},"_links":{"self":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1135"}],"version-history":[{"count":3,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1135\/revisions"}],"predecessor-version":[{"id":1139,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1135\/revisions\/1139"}],"wp:attachment":[{"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.franklinjr.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}