Giter Site home page Giter Site logo

vim-cn.sh's Introduction

vim-cn.sh

一个上传图片到 img.vim-cn.com 的脚本。

下载

curl -s https://xaoxuu.com/install | sh -s vim-cn.sh

这个命令的功能是把client脚本下载到本地命名为upload并保存到usr/local/bin目录。


使用

需要上传图片到时候,打开终端,cd到存放图片的文件夹,输入upload就可以了。当然,还可以传递参数:

upload [扩展名] [操作]
扩展名 含义
-a--all或者不传任何参数 上传所有格式的文件
pngjpgico等具体的某个扩展名 上传指定格式的文件
操作 含义
-o--open 上传成功后打开链接

也可以不下载直接使用

打开终端,cd 到存放图片的文件夹,输入这行命令就开始上传图片:

curl -s https://raw.githubusercontent.com/xaoxuu/vim-cn.sh/v2/upload | sh

文档

具体使用方法见文档:


源码

vim-cn.sh's People

Contributors

xaoxuu avatar

Watchers

James Cloos 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.