#!/usr/bin/python# -*- coding: utf-8 -*-"""Zabbix SMTP Alert script from qq.auth:json"""import sysimport emailimport smtplibimport osfrom em
https://www.u72.net/daima/55bs.html - 2024-09-07 05:09:17 - 代码库#!/bin/bashifconfig|grep -E 'eth|inet'|grep -Ev '(inet6|127.0.0.1)'|sed 's/ /\n/g'|awk NF|grep -Ev '(inet|encap
https://www.u72.net/daima/7hb0.html - 2024-07-25 01:48:18 - 代码库#!/bin/bash#dhcp="/mnt/Server/dhcp-3.0.5-23.el5.i386.rpm"file=/etc/sysconfig/network-scripts/ifcfg-eth0grep dhcp $fileif [ $? -eq 0 ]then #
https://www.u72.net/daima/7zws.html - 2024-07-25 01:08:32 - 代码库(后面就是代码了,我就不翻译了。)#!/usr/bin/perl use File::Copy; my $installPath = $ARGV[0]; #the name that displays on the iPhone
https://www.u72.net/daima/652d.html - 2024-07-24 16:39:17 - 代码库from selenium import webdriverfrom time import sleepdriver = webdriver.Firefox()driver.get("xxx")driver.find_element_by_name(‘account
https://www.u72.net/daima/naa3e.html - 2024-09-17 23:53:44 - 代码库#!/bin/bash#BY: http://sadoc.blog.51cto.com/#DATE:2015-12-24#Iptables For Centos#备份源配置文件/bin/cp /etc/sysconfig/iptables /etc/sysconfi
https://www.u72.net/daima/m685.html - 2024-09-17 14:56:30 - 代码库#!/bin/sh#ocpyang@126.comexport black=‘\033[0m‘export boldblack=‘\033[1;0m‘export red=‘\033[31m‘export boldred=‘\033[1;3
https://www.u72.net/daima/me71.html - 2024-09-17 21:01:25 - 代码库[oracle@test tmp]$ more sql#!/bin/shsqlplus test/test@tnsname.test.com << EOF@/tmp/sqlcreate.sqlexit;EOF [oracle@test tmp]$ more /tmp
https://www.u72.net/daima/9w4f.html - 2024-09-13 15:26:46 - 代码库#!/bin/bashfdisk /dev/vdb <<endn$1t82wqendpartprobemkswap /dev/vdb1swapon -a /dev/vdb1echo /dev/vdb1 swap swap defaults 0 0 >>
https://www.u72.net/daima/mx20.html - 2024-09-17 03:45:51 - 代码库//根据入参增加nginx反向代理#!/bin/bash#set -xlog_path="./proc/logs/shellExecute.log"log_path_back="./proc/logs/shellExecute.log1"nginx
https://www.u72.net/daima/99x1.html - 2024-09-14 08:06:24 - 代码库#vim httpd.sh#!/bin/bash#chkconfig: - 45 55httpd=/usr/sbin/httpdpid=/var/run/httpd/httpd.pidstart(){ if [ -f $pid ];then e
https://www.u72.net/daima/93m8.html - 2024-09-13 23:32:41 - 代码库#! /bin/bash#iplist=(10.130.2.20)function monitorbdcmagic(){ source /etc/profile line=`sudo lsof -i :11000| grep *:irisa | wc -
https://www.u72.net/daima/93da.html - 2024-09-13 22:15:37 - 代码库Apache、Nginx等web服务器日志量巨大,如果不进行切割的话会导致日志文件过大,不容易清理,而且给日志分析收集工作带来麻烦。下例为Apache日志切割脚
https://www.u72.net/daima/m124.html - 2024-09-17 06:52:04 - 代码库SELECT A.TABLE_NAME, A.COLUMN_NAME, B.SEGMENT_NAME, B.SEGMENT_TYPE, B.TABLESPACE_NAME, B.BYTES
https://www.u72.net/daima/9k1a.html - 2024-09-13 01:24:49 - 代码库--202.98.194.182:1521/ocp11g datasource/datasource--1.统计各单位人数select fsocial_uuid,fsocial_name,count(FSocPerson_UUID) as Fscial_n
https://www.u72.net/daima/ma3b.html - 2024-09-16 06:17:48 - 代码库bash的变量类别有以下几类,区分好变量类别能让我们更好的理解bash基础:本地变量(局部变量)环境变量特殊变量位置变量本地变量(局部变量)作用域为整个bash
https://www.u72.net/daima/ma9x.html - 2024-09-16 06:37:57 - 代码库#!/bin/bash#Usage:Log on as the superuser(‘root‘),and then execute the command:#./1preusers.sh groupadd -g 1000 oinstall
https://www.u72.net/daima/82w8.html - 2024-09-12 04:08:46 - 代码库用户登陆,用已知的user和passwd登陆,先判断用户是否合法,然后输入密码,判断密码是否正确,如果输入三次错误密码,则自动跳出。否则输出用户error#!/usr/bin
https://www.u72.net/daima/8c1r.html - 2024-09-11 14:31:48 - 代码库需求:输入用户名和密码,认证成功后显示欢迎信息,输错三次后锁定shell:#!/bin/bash# Auth user loginuser="hlf"pass="123456"lock_file=login.lock[
https://www.u72.net/daima/8424.html - 2024-07-26 17:46:36 - 代码库[root@oldboy C07]# cat 7_1.sh#!/bin/bashif [ -f /etc/hosts ] then echo "[1]"fi if [[ -f /etc/hosts ]] then echo "[[1]]"fi if test -
https://www.u72.net/daima/e790.html - 2024-09-15 23:03:26 - 代码库