Coder Social home page Coder Social logo

scripts's Introduction

scripts

some daily scripts(e.g.,shell,python)

backup_data

备份脚本(支持单个文件&多个文件&单个目录&多个目录)

get_esxi_host_and_vm_info

获取 ESXI 中的宿主机及虚机基本信息

calculate_md5_sha1_of_big_file_using_python.py

计算MD5 及SHA1 值

check_port.sh

检查IP及端口的连通行

clean_old_log.sh

删除旧日志

format_disk.sh

格盘

generate_short_link_only.md

生成短链

get_available_ip.sh

获取内网可用IP(ping不通&端口不通 为可用)

get_vm_info_from_cmdb.py

chrome 浏览器打开 CMDB,开发者工具切到network选项卡,复制出json数据到 test.json,之后读取json,遍历,获取机器基础信息。

使用到了 lxml,第一次使用,很好用!

nginx.sh

nginx启动脚本(centos)

task_daemon.sh

后台运行命令,适用于运行时间较长的命令或脚本。

scripts's People

Contributors

xoyabc avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.