MongoDB Update Document
The commands in this article are all real-time under the mongo shell. In real web projects, the corresponding implementations of these commands are encapsulated, so there is no need to be scared.
Put on the official orthodox documents first English document The links below are all from the Chinese community.
There are many ways for ...
Posted by blawson7 on Thu, 09 May 2019 01:27:39 -0700
File Backup and Compression
. tar
Packing multiple files together and decompressing the packaged files
- z # Compression or decompression via gzip
- c # Create a new jar package
- v # Displays the tar command execution process
- f # Specify the file compression name
- t View the contents of the compressed package without decompressing it __________
- p # Keep the ...
Posted by TomatoLover on Tue, 07 May 2019 07:00:39 -0700
How do I program ls commands on Linux?
What is the 0x01 ls command?
The system environment I use is Ubuntu 18.04, and the ls command tells us what files are in the current directory:
The ls command also has common parameters:
-l: List file details
-a: List the files that contain the beginning of.
-s: file size is printed in blocks
-t: Sort output by tim ...
Posted by computerzworld on Sun, 05 May 2019 07:40:38 -0700
awk of three swordsmen in text processing
GAWK: Report Generator, Formatted Text Output
awk [options] 'program' var=value file... awk [options] -f programfile var=value file... awk [options] 'BEGIN{ action;... } pattern{ action;... } END{ action;... }' file ...
The awk program component:
BEGIN statement block, general statement block that can use pattern ...
Posted by zeroecko on Thu, 02 May 2019 06:50:38 -0700
From Invasion to Realization: Black Hat SEO Analysis under "Black Hole"
Summary
Because the Internet entrance traffic is mainly occupied by search engines, the ranking of websites in search engines directly affects the marketing effect, so the SEO service came into being at the historic moment. Search Engine Optimization (SEO) is called Search Engine Optimization (SEO). It refers to the use of search engine rules t ...
Posted by mort on Tue, 30 Apr 2019 09:00:38 -0700
Management file and urls file in Django
1. django-admin command
Enter django-admin at the command prompt to view subcommands
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
runserver
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset ...
Posted by miro on Fri, 26 Apr 2019 20:48:36 -0700
Hadoop 3.2.0 Source Analysis: Default Container Executor for Container and Linux Container Executor
Container is optional in yarn. This paper introduces the following two types:
DefaultContainerExecutor
LinuxContainerExecutor
Controlled by configuration parameters: yarn.nodemanager.container-executor.class
When NodeManager initializes, load
org.apache.hadoop.yarn.server.nodemanager.NodeManager#serviceInit
// ...
Posted by Atanu on Mon, 22 Apr 2019 22:00:35 -0700
Python Automation Development (2): HelloWorld Program, Variables and Assignment, User Interaction, Conditional Judgment and Indentation, Cyclic Control
You can edit py files with vim in the shell, or you can write code with pycharm, with. py as the file name
The simplest code presentation
#!/usr/bin/env python
# _*_ coding: utf-8 _*_
# @Time : 2017/3/13 10:15
# @Author : eason
# @File : FirstProgram.py
print("Hello World!")
Meaning of variables: Store temporary data while the program ...
Posted by xentia on Fri, 19 Apr 2019 13:09:34 -0700
Python Development [Chapter 28]: Algorithms (2)
Heap sort
1. Introduction of Trees and Binary Trees
A tree is a data structure such as a directory structure.
Tree is a data structure that can be defined recursively
A tree is a set of n nodes:
If n=0, then this is an empty tree.
If n > 0, there is one node as the root node of the tree, and the other nodes can be divided into m sets, eac ...
Posted by wzcocoon on Fri, 19 Apr 2019 10:45:33 -0700
How to realize automatic backup and regular backup of mysql database under linux
1. View disk space:
Since it is a regular backup, we should choose a disk space with sufficient space to avoid the consequences of backup failure and data loss caused by insufficient space! __________
Storing on the current disk is the simplest, but it is the least recommended; servers have multiple hard disks, it is best to store backups o ...
Posted by misteraven on Thu, 18 Apr 2019 12:39:32 -0700