Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Script

FileMaker script – XML ​​import

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

October 21, 2021By Simo XML Filemaker, import, Script, XMLLeave a Comment

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

October 20, 2021By Simo Dojo cross, dojo, Dojo.request.script, Domain, example, Implementation, JSONP, Request, Script, ThroughLeave a Comment

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<

October 18, 2021By Simo Unix diamond, parallelogram, print, Script, shellLeave a Comment

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

October 18, 2021By Simo Unix automatic, guardianship, Implementation, nginx, programming, Restart, Script, shell, utilizationLeave a Comment

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

October 18, 2021By Simo Windows deployment, Jar, package, ScriptLeave a Comment

SHELL script programming common sense

common sense of Shell script programming (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

October 18, 2021By Simo Unix common sense, programming, Script, shellLeave a Comment

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

October 18, 2021By Simo Unix Do, monitoring, program, Script, shellLeave a Comment

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

October 18, 2021By Simo Unix Case, detailed, Script, shell, statementLeave a Comment

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): ”

October 18, 2021By Simo Unix data, Date, function, Implementation, no, query, Script, shellLeave a Comment

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

October 18, 2021By Simo Unix and regular, expression, GREP, Script, shellLeave a Comment

Posts navigation

Page 1 Page 2 … Page 6
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress