You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LeetCode do not allow third party login, one workaround is restore LeetCode session from local Chrome cookies. By default, this package will install a Python3 package called [my\_cookies](https://github.com/kaiwk/my_cookies), or you can install it manually: `pip3 install my_cookies`.
12
+
LeetCode do not allow third party login, one workaround is restore LeetCode
13
+
session from local Firefox or Chrome cookies. By default, this package will
14
+
install a Python3 package called
15
+
[my\_cookies](https://github.com/kaiwk/my_cookies), or you can install it
16
+
manually: `pip3 install my_cookies`.
12
17
13
18
## Manually
14
19
@@ -18,14 +23,16 @@ LeetCode do not allow third party login, one workaround is restore LeetCode sess
18
23
19
24
# Configuration
20
25
21
-
You can set your preferred LeetCode programming language and SQL by setting `leetcode-prefer-language` and `leetcode-prefer-sql`:
26
+
You can set your preferred LeetCode programming language and SQL by setting
27
+
`leetcode-prefer-language` and `leetcode-prefer-sql`:
22
28
23
29
```elisp
24
30
(setq leetcode-prefer-language "python3")
25
31
(setq leetcode-prefer-sql "mysql")
26
32
```
27
33
28
-
All supported languages can be found in variable `leetcode--prefer-language-suffixes`.
34
+
All supported languages can be found in variable
35
+
`leetcode--prefer-language-suffixes`.
29
36
30
37
You can save solution by setting `leetcode-save-solutions`:
31
38
@@ -53,16 +60,18 @@ In leetcode problems list buffer:
53
60
| G | refresh all data |
54
61
| RET | show current problem description |
55
62
56
-
2. Press `<RET>`, show problem description, move cursor to "solve it", press `<RET>` again, start coding!
63
+
2. Press `<RET>`, show problem description, move cursor to "solve it", press
64
+
`<RET>` again, start coding!
57
65
58
-
3. After finishing your code, you can edit testcase and execute `leetcode-try` or execute `leetcode-submit`.
66
+
3. After finishing your code, you can edit testcase and execute `leetcode-try`
67
+
or execute `leetcode-submit`.
59
68
60
69

61
70
62
71
# Debug
63
72
64
73
Call `leetcode-toggle-debug`, log will output in `*leetcode-log*` buffer.
0 commit comments