An open API service indexing awesome lists of open source software.

https://github.com/memset0/toys

小玩具の备份~
https://github.com/memset0/toys

Last synced: 8 months ago
JSON representation

小玩具の备份~

Awesome Lists containing this project

README

          

# toys

小玩具の备份~

### Ubuntu Paste CLI.js

#### Install

```
wget https://raw.githubusercontent.com/memset0/toys/master/Ubuntu%20Paste%20CLI.js
mv "Ubuntu Paste CLI.js" code-paste
chmod +x code-paste
```

#### Usage

上传文件

```
code-paste 1.txt
```

对于后缀名为 `.cpp` 和 `.py` 的程序会自动设置 syntax。

#### Config

代码里手动修改上传者,默认 syntax 等,以及是否上传完后是否需要在浏览器打开。