linux training assignments, shell programming calculation problems
Training assignment
Write a shell program to display the menu. Use the function to realize the simple menu function. The value of n is input by keyboard
**(1) Calculate the sum of odd numbers from 1 to n**
**(2) Calculate the factorials from 1 to n**
**(3) Calculate all primes from 1 to n**
**(4) Ex ...
Posted by CraigRoberts on Mon, 29 Jun 2020 21:39:36 -0700
VBScript script language foundation
VBScript script language foundation
2.1 introduction of vbs script language
2.2 the first vbs scripting language - hello world
Open Notepad program, fill in the edit window, save the file extension as. vbs
dialog box:
Input box
inputbox("please input the length of the first edge", &quo ...
Posted by DJTim666 on Mon, 29 Jun 2020 19:26:57 -0700
Introduction and use of systemctl command
Systemd program
Systemd is actually a program used by Linux system to manage the system, which is used to replace the original init process (used to manage and start other service processes of the system). Now many Linux distributions have their own Systemd programs.
systemctl command
1. Unit
systemctl command is the most important command in ...
Posted by ramrod737 on Sat, 27 Jun 2020 01:33:42 -0700
This time, understand the core principles of spring boot (automatic configuration, event driven, Condition)
@
catalog
preface
text
Starting principle
event driven
Auto configuration principle
Condition annotation principle
summary
preface
Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...
Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700
Using python script to find symbols in. so library file
Using python script to find symbols in. so library file
Preparatory knowledge
Naming rules and storage / search path of Linux dynamic link library
Search files in Linux
Linux browsing symbol list in. so library file
Calling shell commands in Python
Complete procedure
When writing a Makefile rece ...
Posted by sujithnair on Thu, 25 Jun 2020 20:43:02 -0700
Data structure_ Summary of sorting algorithm
A summary table of all internal sorting algorithms
asadsa.png
Simple selection sorting
First find the smallest (large) element in the unsorted sequence, store it at the beginning of the sorted sequence, then continue to find the smallest (large) element from the remaining unsorted elements, and ...
Posted by lzylzlz on Sun, 21 Jun 2020 20:01:14 -0700
DozerCTF2020 partial web recurrence
A few days ago, in the competition, the web only made two check-in questions, and the question of domain penetration was put on hold for the time being. I thought I could reproduce the other web.
Platform: http://ctf.dozerjit.club:8000/
sqli-labs 0
SQL labs changed the question, tried many kinds of po ...
Posted by jraede on Fri, 19 Jun 2020 22:18:36 -0700
Android knowledge point 450 -- Reason Analysis of Android restart
Reprinted Original: https://blog.csdn.net/chi_wy/article/details/42472279
Return to knowledge list: Android knowledge points list
1, Restart reason classification
1. Upper layer causes restart
system_server killed
watchdog restart
Critical thread blocking
2. Restart caused by kernel
Null p ...
Posted by 4554551n on Thu, 18 Jun 2020 21:01:58 -0700
Analysis of multi platform Java ransomware for education and software industry
essential information
Tycoon is a multi platform Java blackmail software for Windows ® and Linux ®, which has been in the field since at least December 2019. It is deployed in the form of Trojan Java runtime environment (JRE) and executed in the form of obscure java image format.
It has been o ...
Posted by dutchboy on Wed, 17 Jun 2020 23:55:02 -0700
Decorator pattern of PHP design pattern
The factory model is over. Let's study some other models. I wonder if you guys have tried women's clothes? It's said that there are many programmers in women's wear. In fact, today's decorator pattern is very similar to that of make-up. I believe that if there is a program in MM, I will be able to expla ...
Posted by ChrisBoden on Tue, 16 Jun 2020 20:21:21 -0700