Debris 20190529

Problem fixed

Set http proxy for package control

  1. change the user setting of package control
    add some channels

  2. use the http proxy

    • check the shadowsocks’s HTTP proxy listen address and port
    • add the HTTP proxy listen address and port to the user setting file
      1
      2
      3
      4
      5
      6
      7
      "channels":
      [
      "http://cst.stu.126.net/u/json/cms/channel_v3.json",
      "https://raw.githubusercontent.com/wilon/sublime/master/download/channel_v3.json"
      ],
      "http_proxy": "127.0.0.1:1087",
      "https_proxy": "127.0.0.1:1087",

Skills

Use the sublime text3 to connect the remote server

  1. open the package control and downlad the SFTP
  2. right click the local folder in sublime text3 to map it to remote folder
  3. setting the config file which had been created above

Gist and sublime text3 integration

  1. open the package control and downlad the Gist
  2. get the GitHub Token

    1
    curl -v -u zhangruochi -X POST https://api.github.com/authorizations --data {"\"scopes\":[\"gist\"], \"note\": \"SublimeText 2/3 Gist plugin\”}”
  3. add the token to the user setting of Gist in Sublime Text

    1
    {"token":xxxxxx}
Donate article here