Online development and compilation of the script language, development and compilation of the script language
A year ago, when searching for games, I found a script language (feekood) that can be developed and compiled online)Http://www.wooyoogame.com/doc/index (learning)H
in the script to find exactly.This script is suitable for the small and medium-sized machine room without monitoring platform patrol, the host running the script is not an online business Server. This script is also suitable for me just like the beginning of the shell novic
Recently frequented the game development website, for me this kind of amateurs, still feel impossible, today stumbled found Wooyoo game development Platform (http://www.wooyoogame.com), feel more suitable for amateur game enthusiasts, so I decided to do a bit of research.I think the characters inside the Wooyoo are more useful, such as http://www.wooyoogame.com/resource/2549Look at the demo script and find out that there are five kinds of facial expre
Use Ping Command Detection 192.168.0.0/16 which hosts are online:Online, expressed in greenNot online, indicated in red The script is as follows:Vim ping.sh#!/bin/bash#For i in {0..255};d oFor j in {1..254};d oIf Ping-c 1-w 1 192.168. $i. $j >/dev/null;thenEcho-e "\033[32m192.168. $i. $j \033[0m is up"ElseEcho-e "\033[31m192.168. $i. $j \033[0m is down"FiDoneDoneGive Execute permissionchmod +x ping.shExecut
Use Ping Command Detection 192.168.0.0/16 which hosts are online:Online, expressed in greenNot online, indicated in red The script is as follows:Vim ping.sh#!/bin/bash#For i in {0..255};d oFor j in {1..254};d oIf Ping-c 1-w 1 192.168. $i. $j >/dev/null;thenEcho-e "\033[32m192.168. $i. $j \033[0m is up"ElseEcho-e "\033[31m192.168. $i. $j \033[0m is down"FiDoneDoneGive Execute permissionchmod +x ping.shExecut
Job Four:
Write a script:
Implement Ping Class C network segment, Class B network segment and all hosts in Class A network segment;
The network segment address lets the user input, moreover uses the script to judge the network segment type;
#!/bin/bash #Author: MOS #Script name:funPing.sh #Date time:2012-10-09/21:53:09 #Version: 1.0.1 #Descri Ption: # #定义C类
Online MySQL backup script
Recently, I am studying database backup and regularly execute the backup task. Here I set the backup script to the crontab command for regular execution. The script content is as follows:[Root @ mysql-db ~] # Cat mysql-backup.sh#! /Bin/bashDbpwd = 'ssw0rd123'Dbuser = rootHost = 127.0.0.1Port
First, the script functionTo determine whether the IP is occupied, the ping rule is considered to be occupied and the results are output to ip_yes.txt and Ip_no.txt, respectively, by means of the ping command detection.Second, script writing#!/bin/bash#Check the network is onlineip_num=192.168.1.For i in ' SEQ 1 254 'DoPing-c 2 $ip _num$i >/dev/nullIf [$? = 0];thenecho "Echo $ip _num$i is yes"Echo $ip _num$
Accustomed to the development of the GoogleMap API, we all want to use this development method, to do some HTML static page development, or PHP page development, we do not have to care about how the server management and development.
Here we use Supermap Iserver 2.0 JS SDK To configure an environment that allows online development, the process is simpler:
1, we use Supermap Iserver with the demo handler to respond to requests, then here we simply mo
Ping test detects LAN online hosts and offline hosts, and prints them out separatelyand count their numbers.#!/bin/bash#Declaring network addressesHost_pre= "192.168.0"Declaring the number of online hostsDeclare-i active_sum=0Declaring the number of non-online hostsDeclare-i unactive_sum=0The For loop performs a ping of the host testFor i in {1..254}; DoIf ping-c
Vim chkweb.sh#!/bin/Bash#web=("www.hofan.cn" "ums.hofan.cn" "i.hofan.cn" "192.168.51.6") Chkloop=3LOG=/var/log/Chkweb.logCheckrs () {#检测次数 local I=1 while[$I-le $CHKLOOP]; Do ifCurl--connect-timeout1http//$ >/dev/null;thenReturn0 fiLet I++ Donereturn1} while:; Do forIinch${web[*]}; Do# ${web[*]} to fetch all Web array valuesifCheckrs $I; Then Echo "' date + '%F%h:%m:%s ', $I is on-line.">>$LOGElse Echo "' date + '%F%h:%m:%s ', $I is gone.">>$LOGfi DoneSH Tes
1.jquery1 2.vue1 3.swiperIf you do not want to put the Swiper file in your project, you can use the Swiper CDN service.The following is a version of the Swiper CDN address, to change the 4.x.x to the appropriate version, such as 4.0.2 (or 3.x.x version).1 2 3 4 5 6 7 Web_ Some common online script address records (for personal use)
Share a custom Zabbix alarm script that is used on the line, and the script idea is roughly as follows:1. Use the crawler to get the alarm picture (if you want to get the alarm item)2. Integrate images with email content3. Send mail4. LoggingThe script reads as follows:#!/usr/bin/python#coding:utf-8importsys,time,re,os,globimportsmtplibfromemail.mime.text importm
Online file Restore: If the larger MSSQL database is damaged only by concentrating on one of the files or filegroups, using the online file restore technology,Just rebuilding a broken data file or filegroup can save a lot of time.The following is a test script (assuming a corrupted file is Trn01):--FirstRestore corrupted file Trn01 (before you perform this step,
1. DescriptionWith the increase of time, Nginx's access log will be more and more large, is the newly deployed online Zabbix monitoring website running for about more than 10 days to generate access logs up to 213M.650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8B/49/wKioL1hJDW2AYqn8AAA0SQ0ucqY181.png "title=" 1.png " alt= "Wkiol1hjdw2ayqn8aaa0sq0ucqy181.png"/>Therefore, log splitting is required, as follows:1, daily log to generate a sepa
Per xxxxx millisecond detection is online once,
Tr_count after the user set to change the state of suspended animation (that is, not the current page activity, AFK ...)
When the page is closed, the time to send the stay
/**//*----------------------------------------------------------------------------
* Script Name:online.js
* Last modified:2008-4-13 22:25
* Author:meyu
* Copyright (c) 2008
* Purpose: Trac
For the server, the online rate is very important, there are problems to be resolved in a timely manner, but the system administrator can not be kept in the computer next to the site through the script to monitor the problem in a timely manner through mail notify the administrator, if it is 139 mailbox can also be free mobile phone SMS notification.Note: Sending mail directly through the system is easy to i
Because the local area network host many, the VLAN also many, for often can know the number of on-line host, writes the script to examine the on-line host.
The effect is: the host online display green, the host offline display red results.
Usage:./ping IP Segment For example:./ping 192.168.0
Copy Code code as follows:
#!/bin/bash
Network=$1
for HOST in $ (SEQ 1 254)
do
nb s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.