Excerpt from: Xuefeng LiaoNever edit any text file with a Notepad that comes with Windows. The reason is that Microsoft Development Notepad team used a very mentally retarded behavior to save UTF-8 encoded files, they are smart to add 0XEFBBBF (hex) characters at the beginning of each file, you will encounter a lot of incredible problems, for example, the first l
1) Plink.exe belongs to the Putty Kit, registered to the environment variable; the bin directory of Emacs is also registered in the environment variable;2) Add the following in. Emacs:(Require ' tramp)(setq tramp-default-method "Plink"); This eliminates the need to enter/plink after C-x c-f in the Minibuffer of Emacs:(byte-compile-file "E:/tools/emacs-24.3/lisp/net/tramp-sh.el");; Avoid error: couldn ' t find proper ' ls ' command3) Open the console and enter Emacs to open the editor (note that
Generally, files are divided into two categories: text files and binary files. It is easy to edit text files. notepad and ultraedit in windows are easy to use. There are also many tools for editing binary
teacher):
Input command:%! sudo tee% >/dev/null
Follow the instructions to enter sudo permissions password
Enter "l" (load File)
Enter : Q command to exit
Instructions for the "%! sudo tee% >/dev/null" command are as follows:% #VI/vim edited file contents! #管道sudo #以root权限操作Tee # outputs the standard input (that is, the currently edited file content through the pipeline) to the standard output, while writing to the specified file ( that is, Vi/vim the currently
.. W00000C0:56-Bayi EC 8c (XX) 8b 5d 1c 8b [db] VS ...]. E...00000d0:75 7e-C0 (8b) A1-u~. UQP.E.P .....00000e0:68 8c xx E8 FC FF FF ff c4 C2 h .... P.........You can then modify the 16-character characters as you would a text file, with/find the specified offset, and so on. Modifying the ASCII character to the right should not be valid. After the modification is done:%!xxd-r switch binary mode, then: Wq Save to exit. In this vim inside such editing is still very convenient, note must:%!xxd-r swi
issues, it is strongly recommended to use the standard UTF-8 encoding, all languages use the same encoding, no conflict, and supported by all platforms.Children's shoes using Windows should pay special attention to:Never edit any text file with a Notepad that comes with Windows. The reason is that Microsoft Development Notepad team used a very mentally retarded
VI commands for opening and editing multiple files can be divided into two situations:
1. open multiple files in the same window:
VIFile1 file2 file3: NSwitch to the next file (n = NEXT): NSwitch to the previous file
2. open multiple files in different windows:
If you have already opened a file,Then, in the command in
: First make sure that the default code page for Windows machines running the secure CRT is CP936, which is already the default setting for Chinese Windows. The other is the same as scenario 1 above, just to add one step: Set termencoding=cp936Solution 2: Similar to the above scenario 2, but the last step to modify termencoding omitted, in this case, the need for minimal modification, as long as the locale
Adobe's PDF file format is a very popular document format, but it's not easy to read and edit PDF documents. Microsoft OFFICE2010 has enhanced support for PDF files in Word software, but it can only store documents locally as PDF and cannot edit PDF files. Recently, Microsoft has launched a new generation of Office pre
While playing the DOS command line, I wanted to edit the txt file with copy con, and then I didn't want to use Notepad, so I went online to find the command line to edit the text file (just want to install B), and the result saw the edit command.As soon as you knock, the problem appears as followsTell me that edit is n
resource tree.
But this file must be a real-world file.
Javabrowser.vim can be copied to the plugin under the VIM directory in the Windows system.
You also need to set the Javabrowser_ctags_cmd path to the path of the Ctags program.
I usually set up in the Java macro file
Nmap IMAP
So I can press F11 key to see this thing, very convenient.
2. Jcommenter
Programming is sure to write annotations, and writing Java
Tramp means "Transparent remote (file) Access, multiple Protocol", which is an extension pack for the remote file editing of Emacs. Installation method is very simple, open emacs, press "M-x", enter "Package-list-packages", find Tramp expansion pack can click Install.Under Windows, Tramp has been integrated with the Putty package, using the Plink program. So, to use Emacs's tramp function under Windows, you
Generally speaking, the file is divided into two major categories of text and binary files, text file editing is easy, Windows Notepad, UltraEdit are very useful, binary file editing under Windows also has a lot of tools, UltraEdit is good, but Linux? Today finally found a good way, but the final source can not find.First create a binary file:[Email protected] tm
How to use Photoshop to edit ICO files
Install the above plug-in to enable Photoshop to support ICO files.My environment is Windows XP + Photoshop CS2 + plug-in version 1.6f9Method of use: the file I downloaded is a ICOFormat-1.6f9-win.zip, decompress, generate icoformat.8bi, gpl.html, readme.html, where the HTML file is the plug-in documentation, if
"-"advanced sharing" as shown in the following figure.
3. In advanced sharing, we first check "Share this folder" and then click "Apply" and "OK" button.
4. If a folder is set to be shared, all of its subfolders will be set to be shared by default.
5. Right-click the folder you want to share, select Properties-Security-edit as shown in the following image.6. Then we click the "Add" button as shown in the following image.7. After ente
I believe that when you submit a file using Eclipse's Git plug-in, There is a problem with the possibility of accidentally submitting unnecessary documents (such as the. project,.classpath file or the. Settings folder and the files below), and there is no way to ignore the files.The simple way to do this is to create a new. gitignore file in the project directory, and then declare the folder or file you want to ignore in it. Troublesome place to come,
example, open with exclusive access rather than shared access), you may not be able to delete the files in use. At any time, you can use a variety of tools to help determine the process that owns the open handle to the file. To learn more about the tools that can help determine the process that owns the file open handle, click the following article number to view the article in the Microsoft Knowledge Base:242131 How to display a list of processes th
Install OpenSSL in windows today.Prerequisites: VC ++ 6.0 is installed (the tool is used for configuration)Resource:Openssl-0.9.8eActivePerl-5.8.8.822-MSWin32-x86-280952Process:I. Preparation: download and install Perl, unzip the openssl-0.9.8e2. Run "cmd", CD to change the directory to the directory where the openssl-0.9.8e source code is located3. Execute "Perl configure VC-WIN32 -- prefix = C:/openssl-0.9.8e" to specify the installation path after
address;Ii. Linux Setup Method # Install the NFS protocol clientYum install-y nfs-utils Portmap # Show on authorized machines if you can see the NFS service provided by this WindowsSHOWMOUNT-E 10.10.14.227 # Mapping NFS to Local Disk directoryMkdir/usr/local/test-pMount-t Nfs-o Ro,bg,soft,nolock 10.10.14.227:/down/usr/local/test# Other machines can see this mapping, but cannot complete mount[Email protected] ~]# mount-t nfs-o ro,bg,soft,nolock 10.10.14.227:/down/usr/local/testMount.nfs:access d
relevant clues in the registry. The specific method is as follows.
In the "run" window, run the "Regedit" command, and then click "Edit> Search" in the opened registry window ", enter the clsid id in the input box (in this example, the clsid id is "{8fc0b734-a0e1-11d1-a7d3-109f87571e3}"), and then select "inprocserver32" in the Search Class ID, next, double-click the "default" item in the window on the right. "% SystemRoot % \ system32 \ gpedit" wil
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.