• [path to advanced API] because I can’t create a cloud server, I’m set up by interns


    Abstract:Nine steps to create cloud server through API. The thing is, the company set up a new project, to build an official website for the project, and build a web server. According to my habit, it’s good to build a local virtual machine. It’s easy to deploy and configure. The cloud server, after 10 years […]

  • Paper reading: dcgan network


    introduction The dcgan network introduced in this paper is based on GaN network and introduces image convolution operation, that is, it combines CNN and Gan network well, so that the network generator can finally generate a false image from random noise. The author of the paperAlec Radford & Luke Metz。 In this paper, the author […]

  • Modify the root password of MySQL on MAC


    To change the root password after installing MySQL for Mac: You must stop the MySQL service before starting the following steps!!!! Open the terminal1、cd /usr/local/mysql/bin/ 2、sudo suAfter input, you will be asked to enter your computer password. When entering, nothing will be displayed. Press enter after input3、 ./mysqld_safe –skip-grant-tables &The purpose of this step is […]

  • Mybatis series of teaching materials (1) – Basic – introductory course


    Usually we use JDBC to access the database. In addition to writing SQL ourselves, we also have to operate connection, statement and resultset, which are just auxiliary classes of means. Not only that, access to different tables, but also write a lot of the same code, which is cumbersome and boring. After using mybatis, you […]

  • Mybatis series (2) – Foundation CRUD


    Step 1: run first, see the effect, and then learn Step 2: imitation and troubleshooting Step 3: Based on the previous step Step 4: configuration file Category.xml Step 5: add Step 6: delete Step 7: get Step 8: modify Step 9: query all Step 1: run first, see the effect, and then learn As the […]

  • Use PHP to realize PDF quickly


    When we develop large PHP applications, we usually need to generate some PDF files. With dompdf library, we can simply render HTML layout as PDF file. Through dompdf library, we can write external style sheet, inline style label, font size, font color, etc. Dompdf will help customize PDF files. Step 1: installation and setup In […]

  • Mybatis series (3) – Foundation – mybatis multi condition query and fuzzy query example


    Step 1: run first, see the effect, and then learn Step 2: imitation and troubleshooting Step 3: Based on the previous step Step 4: fuzzy query Step 5: multi condition query Step 1: run first, see the effect, and then learn As the old rule, first download the executable items in the download area (click […]

  • Building cloud blog based on ECS


    Scene introduction This paper introduces how to build a cloud blog based on ECs. background knowledge This cloud service mainly involves the following scenarios: ECSThe Elastic Compute service (ECS) is an IAAs (infrastructure as a service) level cloud computing service provided by Alibaba cloud with excellent performance, stability and reliability. Cloud server ECS eliminates the […]

  • Android power consumption (5) — power debugging


    This paper begins to discuss the debugging steps and methods of power consumption. The main contents of this paper are as follows: 1、 Define the goal of debugging 2、 Clarify the content of debugging 3、 Refer to the circuit diagram to find out the output we need to test 4、 Find out or export the […]

  • Mybatis series (4) – Basics – one to many


    Step 1: one to many relationship between classification and product Step 2: table structure Step 3: prepare data Step 4: run first, see the effect, and then learn Step 5: imitation and troubleshooting Step 6: effect Step 7: product entity class Step 8: modify the category entity class Step 9: not required for the time […]

  • Mybatis series (5) – Basics – many to one


    Step 1: run first, see the effect, and then learn Step 2: imitation and troubleshooting Step 3: many to one relationship Step 4: look at the effect before learning Step 5: modify Product.java Step 6: Product.xml Step 7: mybatis- config.xml Step 8: testmybatis Runnable project steps Step 10: Exercise – modify the many to one […]

  • Mixed programming of Objective-C and swift


    Swift is designed to be seamlessly compatible with cocoa and Objective-C. In swift, you can use the Objective-C API (including the system framework and your custom code), or you can use the swift API in Objective-C. This compatibility makes swift a simple, convenient and powerful tool integrated into your cocoa application development workflow. Next, through […]