The Python Tutorial#12. Virtual Environments and Packages

The Python Tutorial#Virtual Environments and Packages 12.1 Introduction Python applications often use packages and modules that do not belong to standard libraries. Sometimes an application needs a specific version of the library, because the application may need a library with a specific bug to be fixed, or an application depends on an obsolet ...

Posted by sjaccaud on Fri, 14 Dec 2018 03:48:07 -0800

Sprboot Series 6: @Conditional and Sprboot Autoconfiguration

We know that spring boot auto-configuration function can decide which spring configuration should be used and which should not be used according to different situations. For example: Is Spring's JdbcTemplate in Classpath? If so, and DataSource also exists, automatically configure a JdbcTemplate Bean Is Thymeleaf in Classpath? If so, automati ...

Posted by fadedline on Thu, 13 Dec 2018 23:30:06 -0800

linux and windows install openOffice to convert excel and doc files to pdf or html

1. Preparations (downloading software, etc.) 1. openoffice Download Address http://www.openoffice.org/zh-cn/download/ Download the version you need, windows or linux, etc. 2. In addition to openoffice, we also need to use pdf2htmlEX software; download address https://github.com/coolwanglu/pdf2htmlEX/ https://github.com/coolwanglu/pdf2html ...

Posted by ffdave77 on Wed, 12 Dec 2018 21:54:06 -0800

Docker for Windows-based Chinese Document (1) - Get started

Get started with Docker for Windows Welcome to Docker for Windows! Docker is a complete development platform for creating container applications, and Docker for Windows is the best way to start using Docker on Windows systems. Check the versions of Docker Engine, Compose and Machine Start your favorite shell (cmd.exe, PowerShell or other ...

Posted by jsnyder2k on Wed, 12 Dec 2018 20:39:07 -0800

Entity Framework(EF) Code First Multi-to-Multi Relational Entities Add, Delete, Change, Check Detailed Examples of Operation

In this article, we will learn how to use Context to delete many-to-many relational entities in the Entity Framework. We will use a small console instance to understand and learn the whole process of entity deletion in Entity Framework. You will learn How to create a project that references Entity Framework? How to configure the da ...

Posted by coffeecup on Wed, 12 Dec 2018 06:42:06 -0800

LNMP architecture (Nginx anti-theft chain, Nginx access control, Nginx parsing php-related configuration, Nginx proxy)

Nginx Anti-theft Chain 1. Edit the virtual host file / usr/local/nginx/conf/vhost/test.com.conf and add the following code location ~* ^.+\.(gif|jpg|png|swf|flv|rar|zip|doc|pdf|gz|bz2|jpeg|bmp|xls)$ { expires 7d; valid_referers none blocked server_names *.test.com ; #Here the server_names configuration can be omitted if ($invalid_r ...

Posted by Drebin on Tue, 11 Dec 2018 05:21:07 -0800

ASP.NET MVC logs using Log4net

Log4net introduction Log4net, Apache's next open source project, is a clone of Log4j. We can control the destination of log information output. Log4net defines a variety of log information output modes. It can output logs to console, text files, windows log event viewer, including database, mail and other locations, so that we can quickly trac ...

Posted by kgahn on Tue, 11 Dec 2018 03:42:05 -0800

Java web Front-end: JavaScript DOM, BOM, Timing Functions

DOM of JavaScript JavaScript mainly includes three parts: ECMAScript, DOM and BOM. 1.1 DOM overview Through HTML DOM, all elements of HTML documents are accessed using JavaScript. When a web page is loaded, the browser creates a Document Object Model for the page. The HTML DOM model is constructed as a tree of objects: Th ...

Posted by rocket on Tue, 11 Dec 2018 01:33:05 -0800