Monday 4 May 2015

Sublime Text Mikrotik plugin for text highlighting & auto complete



I had some challenges that I had to resolve on a network (more of that in my next post), and could only access the CLI with the need to see the complete config at once, I used Sublime Text to view the file however having to look at any log or configuration file in one colour is not fun.

Had a quick look and was in luck, there is a Mikrotik Sublime Text plugin, many thanks Kentzo. It can be installed via package manager or be found on Kentzo's Github repository.


The simplest method of installation is through the Sublime Text console as described here. The console is accessed via the ctrl+` shortcut or the View > Show Console menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.



import urllib.request,os,hashlib; h = 
'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d';
 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)



After that simply go to Preferences > Package Control > and select install Package; then type the package you want to install.

7 comments:

  1. Very informative and It was an awesome post. I love reading your fantastic content. Thanks for sharing it with us.
    wincracker.com
    Sublime Text Crack

    ReplyDelete
  2. Sublime Text
    I am very impressed with your post because this post is very beneficial for me

    ReplyDelete
  3. Quick Pallet Maker Crack
    Normal pallets
    With the standard pallet calculation, the boxes are layered in the restricted area of ​​the pallet.

    ReplyDelete
  4. HAPPY NEW YEAR
    You make it look very easy with your presentation, but I think this is important to Be something that I think I would never understand
    It seems very complex and extremely broad to me. I look forward to your next post,
    Sublime Text Crack
    BeeCut Crack
    Cherry Audio Memorymode Crack
    Plotagon Studio Crack
    Blue-Cloner Crack

    ReplyDelete
  5. Download Software for PC & Mac
    You make it look very easy with your presentation, but I think this is important to Be something that I think I would never understand
    It seems very complex and extremely broad to me. I look forward to your next post,
    PRTG Network Monitor Crack
    Mullvad VPN Crack
    SysTools SSD Data Recovery Crack
    FL Studio Crack
    ASTER Crack
    Far Cry 5 Crack Crack
    ARCHICAD Crack
    Exiland Backup Professional Crack

    ReplyDelete