One-click Installation of ftp Server
1 OverviewIn order to share resources, ftp servers need to be built. This paper will automatically install the ftp server through scripts and configure it. At the same time, it will create the ftp login account and create two folders as public folders to provide common access paths for all users.2 Conceptual Interpretation and Notices2.1 chroot ...
Posted by elgordo1960 on Sat, 25 May 2019 16:58:35 -0700
c++ Things 7.0 I/O Stream, File Operations
Summary of knowledge points:
C++ I/O:
Definition in iostream header file
istream // Universal Input Stream and other Input Stream Base Classes.
ostream // Universal Output Stream and other stream-based classes.
iostream//Universal I/O Stream and other I/O Stream Base Classes.
Definition in fstream header ...
Posted by alexscan on Sat, 25 May 2019 15:26:37 -0700
Common commands in Linux
Common Linux Commands (V)
Today, we continue to summarize the find command of linux. The find command is often used with the other two commands exec and xargs, so let's see how they actually use it today.
1 exec command
- The exec parameter is followed by the command command, with';'as the end sign, and before';', add''. Considering the differ ...
Posted by brockie99 on Sun, 19 May 2019 06:01:08 -0700
Configure the U disk to two ext3 partitions
#!/bin/bash
echo -e "\\033[1;34m start make sd \\033[0m"
#Getting sd card information
sd_main=`ls -l /dev/disk/by-id/ | grep usb- | awk -F '/' 'NR==1{print $3}'`
sd_1=`ls -l /dev/disk/by-id/ | grep usb- | awk -F '/' 'NR==2{print $3}'`
sd_2=`ls -l /dev/disk/by-id/ | grep usb- | awk -F '/' 'NR==3{print $3}'`
if [ -d "/de ...
Posted by kidgeek_dfw on Sat, 18 May 2019 09:33:13 -0700
JavaScript Learning Record day7-Higher Order Functions
JavaScript Learning Record day7-Higher Order Functions
@ (Learning) [javascript]
JavaScript Learning Record day7-Higher Order Functions
What is a higher order function?
map
reduce
filter
Sorting algorithm
1. What is a higher-order function?
Higher-order function in English is called Higher-order function. So what is a higher order ...
Posted by coops on Fri, 17 May 2019 13:58:23 -0700
PHP Full Stack Learning Notes 32
<?php
$i = 0;
do {
echo $i;
} while ($i > 0);
?>
for (expression 1; expression 2; expression 3){
Code snippets to execute
}
<?php
for ($i = 1; $i <= 10; $i++) {
if($i == 4){
break;
}
echo 'After breaking up'.$i.'Years, I forgot all about you<br />';
}
?>
<?php
for($i=0; ...
Posted by heltr on Fri, 17 May 2019 11:22:15 -0700
Data Storage for Python Network Crawling
Introduction to JSON
What is json?
JSON (JavaScipt Object Notation,JS Object Markup) is a lightweight data interaction format. It is based on a subset of ECMAScript (js specification specified by w3c), and uses a text format completely independent of programming language to store and represent data. The concise and clear hier ...
Posted by smordue on Thu, 16 May 2019 20:53:26 -0700
Homework--A few simple Python questions
1. Write a program to generate 10240 random integers between [0,512], and count the number of occurrences of each element.
2. Write programs that require users to input a list and two integers as subscripts. The program can use slices to obtain and output a sublist of elements between two subscripts in the list. For example, when the user inpu ...
Posted by siko on Wed, 15 May 2019 23:22:00 -0700
JAVA Communication (2) - Realizing Communication between Client and Server
In the previous blog, we simply sorted out the process of JAVA creating server and client connecting server. Today, we continue to learn to realize the communication between client and server. Since the basic concepts have been clarified in the previous blog post, we will not repeat them here. (For those who are not clear, read ...
Posted by VanPEP on Wed, 15 May 2019 17:48:21 -0700
Logical Volume Manager
I. Concept and Origin
LVM: Logical Volume Manager
Ordinary disk partition management can not change its size after logical partition is well divided. When a logical partition can not store a file, the file can not be stored across multiple partitions because of the limitation of the upper file system, so it can not be placed on multiple disks ...
Posted by lovely on Sun, 12 May 2019 00:29:21 -0700