GithubHelp home page GithubHelp logo

scriptlets's Introduction

Scriptlets

----- 版权所有 酸饺子 -----

脚本说明:

  • bizhidownload 通过网络爬虫下载壁纸的脚本

  • codecalc 统计所写的代码量的脚本,为10万行代码而努力吧!

  • downloadcatpic 利用爬虫下载猫图的小脚本

  • file_renamer 批量修改文件名的小脚本

  • proc_files_recursively 递归处理目录的文件的小脚本

  • shutdowntimer 制定定时关机计划的小脚本

  • spectrumplot 根据光谱数据绘制光谱图线的小脚本

  • BeanUtils 可以自动将map数据填到Java的Bean类,示例:

BeanUtils.populate(user, map);
  • Servlet JavaWeb开发中的Servlet需要的Jar包

  • IOUtils 可以很方便的进行输入输出流的对接,示例:

IOUtils.copy(is, os);
IOUtils.closeQuietly(is);
IOUtils.closeQuietly(os);
  • qrcode 可以将连接转换为二维码,控制台运行命令:
java -jar qrcode.jar url directoryPath filename

例如:

java -jar qrcode.jar www.baidu.com D:/Azjc/test bb.jpg
  • UUIDUtils&UploadUtils 生成随机字符串(用于文件名等ID),UploadUtils用于将字符串转为多层目录(避免单目录下文件太多造成性能问题)

  • CookieUtils 使用Cookie的工具类

  • RegexpUtils 正则表达式工具类,可以匹配常用的字符串

  • HttpClientUtils HttpClient 的工具类,用于写 Java 的 http 客户端程序

  • dateTime 时间处理工具,可以处理网页上的时间格式,用法示例:

var date = DateTime.format(dateUnformatted, "yyyy-MM-dd HH:mm:ss");
  • vultr_ss_on_demand 按需使用 vultr,使用前运行create.py,使用完运行destroy.py 使用前准备(~代指用户根目录):

    • 建立~/vultr/ssr目录
    • 建立~/vultr/apikey.txt,存 API-KEY,并记得在 API-KEY 页面上打开访问
    • 建立~/vultr/ssr/ssrPassword.txt存 SSR 的访问密码
    • 修改脚本中userPath为用户根目录,结尾不带/ 使用后在 ~/vultr/ssr 目录下找到local.json文件,记录着 SSR 建立好的信息
    • 协议是:origin
    • 混淆:plain
  • watermarker 为 PDF 添加水印的脚本,使用时需要仔细调整参数,直到达到满意的效果为止

  • start_n_exe.cpp 多开 exe 的程序

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.