• Editor artifact: how to install plug-ins in sublime?


    Sublime is a lightweight editor with powerful functions and easy to install plug-ins. However, as a novice, I didn’t know how to install plug-ins at first. So, I looked up the data and summarized two methods: 1、 Install through package control. This option is not available for the newly installed sublime. Follow these steps to […]

  • Introduction to keypress.js used to capture keyboard input


    keypress.jsIt is a JavaScript library that captures keyboard input. It is simple and easy to use. The lightweight compression version is only about 9KB, and does not rely on other JavaScript libraries. We usually use keyboard events to listen for Keydown and Keyup events. When any key of the keyboard is pressed, the Keydown event […]

  • Some problems and solutions of sublime


    1、 How to turn off automatic update of sublime openSublimeFindPreferences – Settings(profile)Open it like this In the last curly bracket(})Add a sentence before: “update_check”:false, 2、 Close remember last opened file Same locationAdd in (profile) “hot_exit”: false, “remember_open_files”: false 3、 Chinese file name display box Old Place(profile) add “dpi_scale”:1.0 4、 Chinese scrambling under GBK coding 1. […]

  • CSS3 using border to write white triangle arrow (two ways)


    I’ve been looking for this kind of hollow triangle arrow before, and finally I know the principle! I’ll record it myself and share it with the friends I wanted before~ The first method uses common after pseudo elements <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title></title> <style type=”text/css”> .arrow { width: 20px; height: 4px; margin: 0 […]

  • Emmet front end development artifact


    Emmet is an editor plug-in that supports multiple editor support. In front-end development, Emmet usesAbbreviation grammarQuickly write HTML, CSS and other functions, greatly improving the efficiency of front-end development. Download address: http://emmet.io/download/ Abbreviation Emmet uses special expressionsAbbreviations, or abbreviation: this particular expression is parsed by Emmet and escaped into a structured block of code. Emmet […]

  • Common plug-ins for sublime front-end development


    To facilitate the installation of other plug-ins, first install package control as follows Sublime Text 2: import urllib2,os; 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( ))); open( os.path.join( ipp, pf), ‘wb’ ).write( urllib2.urlopen( ‘http://sublime.wbond.net/’ +pf.replace( ‘ ‘,’%20’ )).read()); print( ‘Please restart Sublime Text to finish installation’) […]

  • How to use table editor


    How to use table editor apply sublime text Effect Table editor is used to quickly create neat and beautiful tables in documents. Activate & close ctrl + shift + p inputTable Editor ChoiceEnable for current syntax(activated) orDisable for current syntax(closed) Use input | Name | Phone Then add the shortcut key:ctrl + k , enterobtain | […]

  • Front end development tools at a glance


    Optimization tool Jpg, PNG compression tools: online editing website Svg online compression: online editing website Online production of favicon Online test compatibility can I use Hack list of different browsers CSS normalize Debugging tools Debugging websites to simulate different systems is the virtual machine needed: virtual box, VMware Windows different system images (including different IE […]

  • Install B sharp weapon: where did the time go in 2016?


    1 rescuetime Check the time spent on the computer and what it did https://www.rescuetime.com/da…This software supports win, MAC and Linux platforms. You need to install a client on the machine, and then follow the instructions. You will see a dashboard on their official website to record what you have done. 2 wakatime Check what you […]

  • Linked in / rocketdata with immutable data


    background In our common data variable data framework, the data we read from DB is placed in cache for the upper business call. For example, for a Book object, if we need to use the book object in multiple places in the upper business, we are actually directly referencing the object. If we need to […]

  • Sublime Text3 plug-in installation and use


    Installation method 1. Open sublime Text3, press Ctrl + ` (it conflicts with QQ input method shortcut switch, you can modify QQ input method switch hotkey) 2. Copy and paste the following code to the command line, and then press enter (due to different versions, the code will be different, so it is better to […]

  • Code detection in sublime


    Configuring linter and eslint in sublime Sublime plug-in installation openpciInstallationsublimeLinter Enter to configure path: Basic location of the configuration node: usr / local / bin / node, / usr / local / bin To configure the basic location of node modules:/usr/local/lib/node_modules Configure the location of other plug-ins: for exampleeslint: /usr/local/bin/eslint The sample code is as […]