Skip to content

Instantly share code, notes, and snippets.

[Info - 10:49:34] (89438) Pylance language server 2023.3.30 (pyright 68a8e98a) starting
[Info - 10:49:34] (89438) Server root directory: /Users/gramce/.vscode/extensions/ms-python.vscode-pylance-2023.3.30/dist
[Info - 10:49:34] (89438) Starting service instance "test"
[Info - 10:49:34] (89438) Auto-indent enabled
[Info - 10:49:34] (89438) No configuration file found.
[Info - 10:49:34] (89438) No pyproject.toml file found.
[Info - 10:49:34] (89438) Setting pythonPath for service "test": "/Users/gramce/opt/anaconda3/envs/py311/bin/python"
[Warn - 10:49:34] (89438) stubPath /Users/gramce/code/test/typings is not a valid directory.
[Info - 10:49:34] (89438) Assuming Python version 3.11
[Info - 10:49:34] (89438) Assuming Python platform Darwin
@gramce
gramce / listen1_aha_playlist.md
Created January 3, 2020 06:43
updated by Listen1(http://listen1.github.io/listen1/) at 2020/1/3 下午2:43:51

本歌单由Listen1创建, 歌曲数:336,歌单数:3,点击查看更多

@gramce
gramce / listen1_aha_playlist.md
Last active January 3, 2020 06:43
updated by Listen1(http://listen1.github.io/listen1/) at 2020/1/3 下午2:43:34

本歌单由Listen1创建, 歌曲数:336,歌单数:3,点击查看更多

@gramce
gramce / gfwlist2regex.py
Last active April 21, 2017 16:59 — forked from sorz/gfwlist2regex.py
Download and convert GFWList to url regex which compatible with Squid.
#!/usr/bin/env python
#encoding: utf-8
#!/usr/bin/env python
#encoding: utf-8
# forked from sorz/gfwlist2regex.py and gwjwin/gfwlist2squid
import urllib2
import re
from base64 import b64decode