Home  >  Article  >  Development Tools  >  Sublime registration method (collection)

Sublime registration method (collection)

藏色散人
藏色散人forward
2020-06-15 13:14:576812browse

The following tutorial column will introduce you to the sublime registration method. I hope it will be helpful to friends who need it!

Sublime registration method (collection)1. Introduction

Sublime is a very useful editor, although it is free Use it, but pop-up windows will often pop up asking you to purchase. For a good obsessive-compulsive disorder, it is still very annoying to watch it for a long time. And now many registration codes are not available online.

So how to solve it?

Two solutions are provided below. (I am operating on win10 system)

2. Solution

Solution 1

1) Create a bat file (just name it, such as "runHost.bat"), copy the following code into the bat file:

@echo off
SET NEWLINE=^& echo.
FIND /C /I "license.sublimehq.com" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 license.sublimehq.com>>%WINDIR%\System32\drivers\etc\hosts
FIND /C /I "45.55.255.55" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 45.55.255.55>>%WINDIR%\System32\drivers\etc\hosts
FIND /C /I "45.55.41.223" %WINDIR%\system32\drivers\etc\hosts
IF %ERRORLEVEL% NEQ 0 ECHO %NEWLINE%^127.0.0.1 45.55.41.223>>%WINDIR%\System32\drivers\etc\hosts
2) After saving, close the bat file, right-click "Run as administrator"

Right click on Figure 1 and run as administrator

Sublime registration method (collection)3) Open sublime text 3, click on the corresponding "enter license" under the "help toolbar" above, and enter The following content:

----- BEGIN LICENSE -----
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
5F7EF854 86B9743C FADC04AA FB0DA5C0
F913BE58 42FEA319 F954EFDD AE881E0B
------ END LICENSE ------

Picture 2 This is where the enter license is (I have already entered the license, so this becomes the remove license)

Sublime registration method (collection)4) After entering, click OK. It will show that the registration is successful.

Picture 3 registration successful

Sublime registration method (collection)

Option 2

1) Open the host file, sometimes you can’t Read and write, at this time you need to modify the read and write permissions (you will not ask me again).

Picture 4 The location of the host file

Sublime registration method (collection)2) Add:

127.0.0.1 license.sublimehq.com
127.0.0.1 45.55.255.55
127.0.0.1 45.55.41.223

Picture 5. After saving the modified host file

Sublime registration method (collection)3), execute steps 3) and 4) in Plan 1.

Summary

To be honest, I think writing this blog is still a waste of time. I originally wanted to write it all in English, but I was afraid that others would not understand it and that no one would understand it. Look, it’s really annoying. It’s also a waste of time. It seems that we need to think more about how to streamline it in the future. (Mainly because uploading images to the CSDN editor is too troublesome, it would be nice if you could just copy and paste them)

The above is the detailed content of Sublime registration method (collection). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete