摘要: 1.在服务器上创建一个脚本文件,我命名为tomcatMonitor.sh编辑tomcatMonitor.sh文件,if及fi必须成对出现,如果if then写在一行需要用;隔开#!/bin/sh# 获取tomcat的PIDTOMCAT_PID=$(ps -ef|grep tomcat|grep -w 阅读全文
posted @ 2020-07-15 16:17 ajianboke 阅读(1097) 评论(0) 推荐(0) 编辑
var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("❤","⚡","💎","🔥","☻","☀","😉","🍂","😏",); var $i = $("").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css({ "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 20, "left": x, "position": "absolute", "font-weight": "bold", "color": "rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")" }); $("body").append($i); $i.animate({ "top": y - 180, "opacity": 0 }, 1500, function() { $i.remove(); }); }); });