1. Emmet installation method: Step 1: First you need to install the Package Control component for sublime text: Press Ctrl + `to call out the console of sublime text Paste the following code into the bottom command line and press Enter: import urllib2,os;pf=’Package Control.sublime-package’;ipp=sublime.installedpackagespath();os.makedirs(ipp) if not os.path.exists(ipp) else None;open( os.path.join(ipp,pf),’wb’).write(urllib2.urlopen(‘http://sublime.wbond.net/’ + pf.replace(‘ ‘,’ ‘)).read()) Restart […]
Tag: writing
Qt uses QAxObject to write to Excel tables for color filling, merging cells, multi-line writing, etc.
Qt uses QAxObject to write to Excel tables, including color filling, merging cells, multi-line writing, etc. QAxObject can call various functions or events in the Excel table to control reading and writing Excel tables. All interfaces in the Excel table can be viewed in the official documentation. Source code can be seen at the end. […]
IoTDB in springboot2 (1) Integration and writing
IoTDB in springboot2 (1) Integration and writing into springboot Due to the needs of the company’s business, it is necessary to record and display equipment-related indicator information. After trying the practical applications of mysql and MongoDB, I found that it is still too slow in front of a large amount of data. If MongoDB queries […]
Writing and reading operations of C language files
fopen FILE * fopen ( const char * filename, const char * mode ); Function: Opens the file whose name is specified in the parameter filename and associates it with the stream, which can be identified in future operations by the returned FILE pointer. The operations allowed on the stream and how they are performed […]
python file reading and writing
Reading and writing files are the most common IO operations. The functions of reading and writing files on the disk are provided by the operating system, and modern operating systems do not allow ordinary programs to directly operate the disk. Therefore, reading and writing a file means requesting the operating system to open a file […]
[Writing game auxiliary tools using Python] Part 3: Implementation of mouse combo
Foreword Here is the third article of [Writing Game Auxiliary Tools in Python]: Implementation of Mouse Combo. This article mainly introduces the use of Python to implement the mouse combo function. A mouse combo is multiple clicks of a mouse button, usually the left mouse button, within a short period of time. When a mouse […]
Writing and using HDFS Java API
First Need to set up a Hadoop environment and start Hadoop If you haven’t built it yet, you can read this article: Hadoop cluster construction and configuration-CSDN Blog Here I use the idea under windows to connect the Hadoop of the virtual machine (1) Install hadoop under windows The installed Hadoop needs to be the […]
Spring – Handwriting simulates the underlying principles of Spring
Handwritten Spring Define configuration class AppConfig @ComponentScan(“com.spring.zsj”) public class AppConfig { @Bean public ApplicationListener applicationListener() { return new ApplicationListener() { @Override public void onApplicationEvent(ApplicationEvent event) { System.out.println(“An event was received” + event); } }; } } Define container ZSJApplicationContext public class ZSJApplicationContext { private Class configClass; private Map<String,BeanDefinition> beanDefinitionMap =new HashMap<>();//bean definition private Map<String,Object> singleObjects […]