Coder Social home page Coder Social logo

tools's Introduction

The most commonly used tools for PHP.

  • date.php 时间类

  • iMessage.php Mac下读取iMessage

  • looger.php 日志类

  • requests.php curl请求封装

  • Timer.php 定时任务

  • ssh_host.sh ssh免密码登录,需要sshpass支持

  • progress.php PHP CLI显示Linux进度条

  • dump_chrome_save_pass.php 获取Chrome Cookies .

  • nginx_service.sh nginx管理shell

  • .....

一些注释

ANSI控制码的说明

例如:
  echo -ne "\33[32m" 可以将字符的显示颜色改为绿色
  echo -ne "\33[3;1H" 可以将光标移到第3行第1列处
具体的摘抄一些如下:
    \33[0m  关闭所有属性
    \33[1m  设置高亮度
    \33[4m  下划线
    \33[5m  闪烁
    \33[7m  反显
    \33[8m  消隐
    \33[30m -- \33[37m  设置前景色
    \33[40m -- \33[47m  设置背景色
    \33[nA  光标上移n行
    \33[nB  光标下移n行
    \33[nC  光标右移n行
    \33[nD  光标左移n行
    \33[y;xH设置光标位置
    \33[2J  清屏
    \33[K   清除从光标到行尾的内容
    \33[s   保存光标位置
    \33[u   恢复光标位置
    \33[?25l  隐藏光标
    \33[?25h  显示光标

tools's People

Contributors

yexuanguo 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.