暂无搜索历史
package main import ( "fmt" "go-ssh/ssh" "io" "os" ) ...
1、执行 crontab -e 00 00 /bin/bash yourpath/mysqlbak.sh 2、打开自动执行文件 vi /etc/crontab...
目标:编写一个shell脚本,以便能够将mongoDb中的数据导出成为csv格式的文件。要求:1. 为了避免导出巨量数据,仅需要过滤出当月数据和上个月的数据即可...
#!/bin/bash 自动监控url是否可用,如不可用则重启应用,并做相应的报警策略。 缺省的配置如下 logdir=/data/log/check ...
下面的python代码展示python中字典的常用操作,字典在python开发中有着举足轻重的地位,掌握字典操作相当重要
python有一个httplib的库,提供了很方便的方法实现GET和POST请求,只需要简单的组织一下即可。
proxy_info = { 'host' : 'proxy.myisp.com', 'port' : 3128, ...
python生成随机密码或随机字符串 import string,random def makePassword(minlength=5,maxlength=...
#coding:utf-8 import requests import json url = 'http://music.163.com//api...
[Python]代码 #!/usr/bin/env python #-*-encoding = utf-8-*- # hasher.py #@By:de...
# find the day of the week of a given date Python will trap impossible dates lik...
python十进制转二进制,可指定位数 # convert a decimal (denary, base 10) integer to a binary st...
import win32com from win32com.client import Dispatch, constants w = win32com.cli...
A 65 0 96 F1 112 Backspace 8 B 66 1 97...
这段代码可以模拟在窗口上按下按键、鼠标左键点击、鼠标右键点击、鼠标双击等等 # * coding:UTF-8 * import win32api import ...
通过zipfile模块实现对文件、文件夹的zip压缩和解压 #打包成zip文件 import zipfile f = zipfile.ZipFile('arch...
下面的python代码用于监控本机的8080端口,当用于通过http请求,服务器返回固定的html代码
import sys, urllib2, urllib zipcode = "S2S 1R8" url = 'http://.../cgi-bin/findwe...
''' Author: liupengfei Function: count lines of code in a folder itera...
# rotate an image counter-clockwise using the PIL image library free from: http...
秦皇岛经济技术开发区易云软件开发服务部 · 技术总监 (已认证)
暂未填写技能专长
暂未填写学校和专业
暂未填写个人网址
暂未填写所在城市