Prefix | Name | URL |
---|---|---|
F | pyflakes | https://pypi.org/project/pyflakes/ |
E, W | pycodestyle | https://pypi.org/project/pycodestyle/ |
C90 | mccabe | https://pypi.org/project/mccabe/ |
I | isort | https://pypi.org/project/isort/ |
N | pep8-naming | https://pypi.org/project/pep8-naming/ |
D | pydocstyle | https://pypi.org/project/pydocstyle/ |
UP | pyupgrade | https://pypi.org/project/pyupgrade/ |
YTT | flake8-2020 | https://pypi.org/project/flake8-2020/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib import pyplot | |
import numpy as np | |
n = 10000 | |
m = n // 5 | |
scale = 10 | |
def f(x): | |
y = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You can edit this code! | |
// Click here and start typing. | |
package main | |
import "fmt" | |
import "io" | |
type Gen interface { | |
Next(args any...) (any, error) // EOF | |
End() bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from os.path import extsep, join, splitext | |
from pyglossary import slob | |
from pyglossary.core import cacheDir | |
from pyglossary.entry import Entry | |
from pyglossary.glossary_v2 import Glossary | |
from pyglossary.plugins.aard2_slob import Writer as SlobWriter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function docker-running-by-name() { | |
# docker ps --filter name=$1 --quiet # does not always work! | |
docker ps | grep "$@" | sed 's/ .*//' | head -n1 | |
} | |
function docker-shell-to-name() { | |
ID=$(docker-running-by-name $1) | |
if [ -z $ID ] ; then | |
echo "No running container by image name $1" | |
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
import sys | |
import biplist | |
plistPath = sys.argv[1] | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
add_prefix = True | |
add_reverse = True | |
import os | |
import sys | |
from os.path import join | |
from json import load |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go's template funcs: | |
# https://github.com/golang/go/blob/master/src/text/template/funcs.go | |
header_template = """ | |
<b><font color='#ccf'>{{.DictName}}</font></b> | |
<font color='#aaa'> [%{{.Score}}]</font> | |
{{if .ShowTerms }} | |
<div dir="ltr" style="font-size: large;font-weight:bold;"> | |
{{ index .Terms 0 }} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a | |
ab | |
abs | |
ac | |
acantho | |
acet | |
aceto | |
acro | |
actino | |
ad |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aryanpour-2023-stardict.zip | |
https://mega.nz/file/5gQ2mBKT#ivnA5CIHDFfBaBCEb1EFLZWCQj-I1boCI_Lkzf28WaI |
NewerOlder