Mengzhao He

Results 7 comments of Mengzhao He

@FractalHQ add following lines in `.vscode/settings.json` ```json "headwind.classRegex": { "css": "\\B@apply\\s+([_a-zA-Z0-9\\s\\-\\:\\/]+);", "html": "\\bclass\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\']", "javascript": "(?:\\bclassName\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\'])|(?:\\btw\\s*`([_a-zA-Z0-9\\s\\-\\:\\/]*)`)", "javascriptreact": "(?:\\bclassName\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\'])|(?:\\btw\\s*`([_a-zA-Z0-9\\s\\-\\:\\/]*)`)", "svelte": "\\B@apply\\s+([_a-zA-Z0-9\\s\\-\\:\\/]+)", "typescript": "(?:\\bclassName\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\'])|(?:\\btw\\s*`([_a-zA-Z0-9\\s\\-\\:\\/]*)`)", "typescriptreact": "(?:\\bclassName\\s*=\\s*[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\'])|(?:\\btw\\s*`([_a-zA-Z0-9\\s\\-\\:\\/]*)`)" }, ``` this works for me.

> @tshemeng would you happen to have a REGEX I could use for Pug? what do you mean `Pug` ?

@heybourn I think Pug's syntax prevented solving it with simple REGEX, I'm no idea for this.

@WaterMoonMirror 你clone源码,把`kindle.py`报错的`items = result["OwnershipData"]["items"]`改成如下代码,看下报错时,接口返回的信息 ```python try: items = result["OwnershipData"]["items"] except KeyError: logger.error(result) ```

%APPDATA%\xyz.chatboxapp.app\config.json > 可以直接把聊天记录文件复制出来,就是一个大 JSON。 Windows 下在 `%APPDATA%\Roaming\xyz.chatboxapp.app\config.json` > > https://github.com/Bin-Huang/chatbox/blob/c0f21f81f5399b526009c4708a61ab89133eaa54/src/api.ts#L32 %APPDATA%包含Roaming路径,实际文件是 %APPDATA%\xyz.chatboxapp.app\config.json

@tmkx But [plasmo](https://github.com/PlasmoHQ/plasmo) did it.

Same here Emacs 24.5.1 on Ubuntu 15.10 I build emacs from source