Thursday, May 1, 2014

Sublime Text Tips, Emmet, Proxy

If you want to install a package through the console and you are behind the firewall. you can run the code in console 1st to setup the proxy.

urllib.request.ProxyHandler({"http":"http://[proxy_user]:[proxy_password]@[proxy_IP]:[proxy_port]"} )

image


there is another plugin called emmet, which is a must have tool for web developers.
install it,
image
in your html page, just type html then tab, you will see the boilerplate code,
image


in the body, If you type .container>ul>li.content*5>a[href='#']{item $}    
image

to show a route layout by typing “#content>h1.header>^panel.body>^footer”
image


if you want to put some contens in the body, type “lorem”

image



then tab



image

No comments:

 
Locations of visitors to this page