I have XML files imported into Filemaker, and I managed to create XSLT files for use with Filemaker. I also wrote a script to import these XML files into my database. However, I can only import it
Tag: Script
Dojo small example (33) dojo.request.script Implement cross-domain through JSONP
dojo/request/script implements cross-domain request data through JSONP, and requires back-end cooperation to return Javascript code:
require([“dojo/request /script”, “dojo/json”],function(scr
Shell script prints parallelogram, diamond
Shell script printing parallelograms #!/bin/ bash
for ((i=1;i<= 9;i++))
do
for ((j=9;j>=i;j- -))
do
echo -n ” ”
done
for ((j=2;j<= i;j++)) do echo -n "*" done for ((j=1;j<
Shell Programming: Use scripts to achieve NGINX’s guardianship restart
nginx_daemon.sh #!/bin/bash
#
this_pid=$$
while true
do
ps -ef | grep nginx | grep -v grep | grep -v $ this_pid &> /dev/null
if [$? -eq 0 ];then
echo ” nginx is ok”
sleep 3
else
JAR package deployment script
Deploy a jar package named xxx and output it to out.log, just prepare the following script start.sh
#!/bin/< span style="color: #0000ff;">sh
echo ” =====Close Java application======”
PROCES
SHELL script programming common sense
common sense of Shell script programming span> (These are often used frequently, but all kinds of materials on the Internet are vague things, personally think they are more useful)
s b sock
Shell script is program monitoring
Monitor the program of this machine and send alarm emails abnormally
#!/bin/bash
# Native IP
HOST=‘59.110.69.217’
# Mail service address
URL=‘http://101.201.150.205:9527’
# Mail receiving
Shell script for, while, case statement details and case
################for loop statement structure#############
When using for loop statement, you need Specify a variable and a list of possible values, and repeat the same command sequence for each dif
Shell script does not use Data functions to implement a date query
The shell script realizes the query N days before or N days after the specified date 1 1 span> #!/bin/bash
2 func(){
3 read -p “Please enter the year, month and day (format: 2019-01-01): ”
Shell script – GREP and regular expressions
grep command
1, grep program: Linux Three Musketeers–grep, awk, sed
2, GrepL: text line filtering tool
Awk: report generator (formatting text output)
3, grep contains three