I have a component with a built-in Switch component. The entire component is clickable. When you click this component, it will trigger dispatch (modify the redux store) and cause this component to
Tag: programming
Dojox.grid.DataGrid programming articles (1) – Method and events
dojox.grid.DataGrid Programming (2) – Methods and events The dojox.grid.DataGrid component also provides some methods by which users can further enrich the performance experience of the table.
DOJO event driver programming event binding
What is event driven? Event-driven programming is a programming model driven by events. The module passively waits for notifications (notification), and its behavior depends on external surpris
Dojo JavaScript programming specification
A pretty good Javascript programming style specification, I suggest you adopt it This specification writes Javascript. Original link: http://dojotoolkit.org/developer/StyleGuide.
Translated b
Strive_tan shell programming actual combat 2-distribution system
1. Expect applications
1) Transfer files
2) Execute commands remotely, no interaction, no need to enter a password
3) The core of the online shell script (tool) is expect, which i
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
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 Programming
1. Variable A=8
echo $A
echo “$0 $1 $2”
echo “$*”
echo “[email protected]”
echo “$#”
S=$[(2+3)*4]
= String Compare
-lt less thanless than
-le l
Shell programming actual combat 7
1. Count the number of digits in the document
2. Compare the differences between the files of the two machines
#!/bin/bash
dir=/data/web
[ -f /tmp/md5.list] && >/tmp/md5.lis
Shell Programming Foundation-3
1. while loop
Syntax structure: while condition; do……; done
1) Infinite loop
While:
do
command
done
2) Endless loop
While 1
Do
command