ctl

command
v0.0.0-...-3200de1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 20 Imported by: 0

README

LeetCode-Go ctl

配置方法

  1. .gitignore中,添加一行*.toml
  2. LeetCode-Go目录下,添加文本文件config.toml
  3. 把以下内容复制到config.toml中。
  4. config.toml中的test分别修改为你的 leetcode 用户名密码
  5. 去 leetcode 登录后,把网站 cookie 复制 (需要复制 csrftoken 和 LEETCODE_SESSION) 并替换 config.toml中的Cookie
Username="test"
Password="test"
Cookie="csrftoken=XXXXXXXXX; LEETCODE_SESSION=YYYYYYYY;"
CSRFtoken="ZZZZZZZZ"

PDF 生成

leetcode-go pdf 命令先生成书籍内容的合并版本 pdf.md,再用 vscode 或者其他支持 toc 目录生成的工具,生成 toc。最后用 Typora 把 md 文件转换成 pdf。就可以发布 release 新版本了。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
models module
util module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL