Tag:file

  • Gradle core (1): introduction to gradle, life cycle exploration, basic script construction

    Time:2020-4-2

    Blog Homepage After learning the core syntax of groovy, let’s learn gradle. Gradle is a build system tool. Its DSL is based on groovy, and most of its functions are implemented through plug-ins. If the built-in plug-ins can not meet the needs, you can customize your own plug-ins. Gradle introduction and life cycle exploration We […]

  • Go + typescript + graphql + react to build Jianshu website (I) initialize go backend

    Time:2020-4-2

    Project address: GitHub I have been learning go for a while, and I am aware of what I can do. Inspired by the community, he took building a website of his own as a lesson, and decided to write down this article at the same time, to clarify his ideas, divergent thinking, not all in […]

  • Set the root directory of the Wamp project

    Time:2020-4-2

    After the installation of Wamp, the default www directory is my local D: wampwww. In this directory, I put some small examples written by myself to test PHP. But the projects I work on are all on other d-disks and e-disks. Repeatedly setting Apache’s DocumentRoot path is not a good solution. Of course, this small […]

  • Golang open source background management system

    Time:2020-4-2

    go-admin Go admin is a back-end management system developed by go language. This system is based on RBAC (role-based rights management design), which has completed the development of system management module functions (other example modules are added later). It adopts the front-end and back-end separated implementation mode. The server is based on go open source […]

  • Build Kafka test cluster

    Time:2020-4-2

    Application machine Contact OP students to apply for machines, one, three, five Linux servers, (2 * n + 1). Zookeeper cluster work is more than half of them can provide external services, more than two of them are more than half, and one is allowed to hang up. It is not necessary to use even […]

  • The default installation location of subsystem (WSL) under Windows

    Time:2020-4-2

    Location: C:\Users\THINK\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs Note: think is my windows login user name. You can change it to your own user name. Once you know this folder, you can easily manage the file of subsystem. The written program can also be transferred to your own windows system to avoid the worry of program loss.

  • Performance optimization – compression and merging of resources

    Time:2020-4-2

    Performance optimization of the front end Compression and merging of resources Optimization points: reduce the number of HTTP requests and resource size requests Using compression and consolidation There are online websites and compression tools (node is required) The web front-end is essentially a GUI software, which can be directly used for reference by other GUI […]

  • Explore the common notes of springboot

    Time:2020-4-2

    @RestController     Restcontroller is a combination of @ controller and @ ResponseBody @EnableAutoConfigurationSpringboot recommends only one class with this annotationSpring boot will automatically configure the project according to the jar package dependencyWhen there is a dependency of HSQLDB under the project, springboot will create the data source of the default memory databaseIf you create […]

  • Efficient development, a super practical idea development plug-in

    Time:2020-4-1

    Today, I want to share a very common and practical idea plug-inFree Mybatis plugin。 We usually write a large number of SQL statements in our development. In general, we can write simple statements in the way of annotation (@ select, @ update, @ delete), but some are complex, such as single table multi condition query, […]

  • Hadoop (2) HelloWorld of Hadoop (installation and use in stand-alone mode)

    Time:2020-4-1

    This article has been synchronized to liaosi’s blog Hadoop (2) Hadoop’s HelloWorld (installation and use in stand-alone mode) The VMware virtual machine used in this article is CentOS 7 ﹐ 64 bit for Linux system, Hadoop 2.8.2 for Hadoop, JDK 1.8 for JDK. The account used is the created Hadoop account (refer to Hadoop (I) […]

  • MacOS compilation nginx1.17

    Time:2020-4-1

    background Most developers who use MAC install all kinds of software through brew command, such as PHP, python, nodejs, and nginx. By default, nginx is installed in the/usr/local/Cellar/nginxThroughbrew link nginxAdd soft connection to/usr/local/bin/nginx, although it fully meets the requirements of development and conforms to the management of mac software, but it is not convenient to […]

  • Mongoose link database, add, delete, modify and check

    Time:2020-4-1

    According to personal coding habits, for reference only If you see something in a circle halfway, you can go to the official website to check it Import module var mongoose = require(“mongoose”); Connect to database mongoose.connect(“mongodb://localhost/mongoose_test”); Link state mongoose.connection.once(“open”,function () { Console.log (“database link succeeded”); }); Make a callback to see if the link is […]