Skip to content

Instantly share code, notes, and snippets.

@023Sparrow
023Sparrow / uMatrix 过滤规则,复制前请先删除注释。
Created February 18, 2020 06:55 — forked from anonymous/uMatrix 过滤规则,复制前请先删除注释。
uMatrix filter rules, Please delete the notes before use.
#~~~~~~~~~~~~~~~~ Updated: 2017-12-28 23:00 UTC+8 ~~~~~~~~~~~~~~~~#
#严格遵守HTTPS协议: 禁止传输混合内容
https-strict: about-scheme false
https-strict: behind-the-scene false
https-strict: chrome-extension-scheme false
https-strict: chrome-scheme false
https-strict: file-scheme false
https-strict: localhost false
https-strict: moz-extension-scheme false
@023Sparrow
023Sparrow / _vimrc
Last active January 11, 2019 11:24
python vimrc
"补全方面主要参考 https://my.oschina.net/solomonxie/blog/2997475
let mapleader = ","
set nu
set hlsearch
set autoindent
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
@023Sparrow
023Sparrow / ST3 Anaconda 插件错误解决方案.txt
Created September 26, 2018 05:36
ST3 Anaconda 插件错误 <Anaconda.anaconda_lib.workers.local_worker.LocalWorker
错误:
<Anaconda.anaconda_lib.workers.local_worker.LocalWorker object at 0x7f9ce2ad9390> initial check failed because:
can not connect to /home/chenzewei/.local/share/anaconda/run/anaconda-2/anaconda.sock. tried to connect 21 times during 2 seconds
check that there is Python process executing the anaconda jsonserver.py script running in your system. If there is, check that the Unix Domain Socket file /home/username/.local/share/anaconda/run/anaconda-2/anaconda.sock exists and that you can connect to it writing the following script in your Sublime Text 3 console:
import socket; socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(/home/username/.local/share/anaconda/run/anaconda-2/anaconda.sock)
If anaconda works just fine after you received this error and the command above worked you can make anaconda to do not show you this error anymore setting the 'swallow_startup_errors' to 'true' in your configuration file.
系统:
MS Windows 10 64bit 家庭中文版 版本1803 (OS 内部版本 17133.1)