The most recent project needs to read a file in a particular format. and real-time text file content updates to the edit box to go, now the function has been achieved, special will be sent up the source, hoping to help some people, because the level is not high, may be the optimization of code and quality is not very high, forgive me.
Open a Notepad
CentOS File View and edit introduction detailed
Introduction to 2.1 Cat commands
The original meaning of the cat command is a connection (concatenate) that connects multiple file contents and outputs to the standard output stream (the standard output stream defaults to the screen). In practice, we often use it to display the contents of a
Vim in the SWP that Swap file, which is generated when editing a file, it is a hidden file, if the original file name is Data , then SWP file name is . DATA.SWP . If the file exits normally, the
E437:terminal capability "CM" requiredThis error is usually caused by an environment variable term that is not configured or configured incorrectly.Workaround:implementation of export term=xterm;or add the export term=xterm to the/etc/profile file.OrMethod 1: If lazy, the direct execution of the command export term=linux or export term=xtermMethod 2: To the next once and for all, write the above command to/ETC/BASHRC file to ensure the permanent effec
How does the system control that users can only view and edit specified sheet pages after opening an Excel file?
Code download: http://ishare.iask.sina.com.cn/f/10323532.html
This problem may not have been encountered by me alone, but I have studied this method together. Of course, it depends on whether you are using soaoffice. This product is used in the company project. It supports js to call the VBA in
Introduction to CAT Commands
The original meaning of the cat command is a connection (concatenate) that connects multiple file contents and outputs to the standard output stream (the standard output stream defaults to the screen). In practice, we often use it to display the contents of a file. If you are familiar with the type command under MS-DOS, it is not difficult to master the cat command. A common ex
Sometimes the project has been deployed in Tomcat, but you need to modify some of the contents of the configuration file or modify the content of a JSP file, you will think of the local modified files uploaded to the server and then replace it, in fact, you can use the VIM command directly edit the good ...
Here's an example ↓
Create a
Tags: yum source vimrc VundleVersion information:Uname-aLinux localhost.localdomain 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue may 15:42:40 EDT (x86_64 x86_64 x86_64 gnu/linuxCat/etc/issueRed Hat Enterprise Linux Server release 6.1 (Santiago)Kernel \ r on an \m
Find some ~/.VIMRC file on the net, write ~/.VIMRC file, take effect with source ~./.VIMRC.When you edit
the file nor copying the text inside it.It is also necessary to install the PDF reading tool first and then open the view PDF file. All of these methods can only be used to open a PDF file for viewing, but the contents of the PDF file cannot be edited and modified.To open a PDF fi
filter-fuzzy-fuzzy. If you are still vague you can click a few more times. So the file is almost the same as the scan, if the text has broken, and so on, you may also need to use the filter on the menu under the texture processing effect.
4. If the document needs to modify the text of the corresponding text, it is better to do, you can directly use the "selection" tool bar directly select the font and then CTRL + C directly copy, and then CTRL + V p
, you can open the PDF document directly by double-clicking it.The above is a browse view of the PDF document no matter whether the document is encrypted or not, the software cannot be used to edit the changes. Editing requires a special editing tool. Therefore, if you need to edit the contents of the PDF file, you will also install the relevant editing tools.It
Edit a file in a Docker container
I hope that every time I install vi in a docker container, who will give me $1... I want a simpler way to edit files in a running docker container. First, try to avoid editing files, which violates the philosophy of the container (see the last section ).
But if you have a legitimate reason, let's teach you how to do it.Why is Zed
Office upgrade to 2007, but found that Excel 2007 can not edit dbf file, what is going on? DBF file is a FoxPro dbf table file, in Excel 2003 can be opened arbitrarily and the DBF to edit, and Excel 2007 has abandoned the function of editing DBF? The answer is this.
The eas
The *.properties property file will appear garbled if the file contains Chinese. To solve this problem, you can install the Properties Editor plugin for Eclipse to solve this problem.Steps1 Installing the Properties Editor PluginA help--Install New Softwareb in the open window "work with" input: http://propedit.sourceforge.jp/eclipse/updates/carriage returnSelect the Propertieseditor component to install. I
when using Eclipse to edit JSP, JS file, often appear stuck, Baidu on the internet n times, after the optimization adjustment of n times, card death gradually improved, the specific method played a role, not very good. List all the used methods as follows: 1. Cancel Verification windows–>perferences–>validation Drop All except the manual below, build only leave classpath dependency Validator 2. Turn off s
When using Eclipse to edit JSP, JS file, often appear stuck, Baidu on the internet n times, after the optimization adjustment of n times, card death gradually improved, the specific method played a role, not very good. List all the used methods as follows:1. Cancel VerificationWindows–>perferences–>validationDrop all except the manual below, build only leave classpath dependency Validator2. Turn off spell c
1. Open it with Vim with the-b parameter, B tells vim to open the binary file
$ vim-b Binaryfile2, in Vim input:%!xxd, will be shown below, XXD program is a VIM package comes with a program, its function is to do hex dump or vice versa.
0000000:EB48 90d0 bc00 7c8e c08e d8be 007c bf00 . h....| ......|..
0000010:06B9 0002 fcf3 a450 681c 06cb fbb9 0400 ... .
Ph ..... 0000020:bdbe 0780 7e00 007c 0b0f 8510 0183 c510 ... . ~..| ........
0000030
XML documents can contain foreign characters such as Norwegian or French (Chinese, of course!). This part still can't translate according to the original text, some of the following content is I wrote
In order for your parser to understand these characters, you must unify the character encoding criteria in the XML document.
--------------------------------------------------------------------------------
Windows 95/98 NotepadWindows 95/98 Notepad cannot save files in a Unicode encoded format.
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.