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 |
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
#!/bin/bash | |
# Discover monitor name with: xrandr | grep " connected" | |
# and set MONITOR | |
MONITOR="" | |
STEP="0.05" | |
MIN="0.1" | |
CurrBrightLine=$( xrandr --verbose --current | grep ^"$MONITOR" -A5 | tail -n1 ) |
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
# -*- coding: utf-8 -*- | |
from formats_common import * | |
import zipfile | |
enable = True | |
lname = "epub_ungrouped" | |
format = "EpubUngrouped" | |
description = "EPUB (Ungrouped)" | |
extensions = () |
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
# -*- coding: utf-8 -*- | |
from formats_common import * | |
import html | |
enable = True | |
format = 'Pharmaplus' | |
description = 'Pharmaplus (SQLite3)' | |
extensions = () | |
readOptions = [] |
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
# -*- coding: utf-8 -*- | |
from formats_common import * | |
import html | |
enable = True | |
format = 'Pharmaplus' | |
description = 'Pharmaplus (SQLite3)' | |
extensions = () | |
readOptions = [] |
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
# -*- coding: utf-8 -*- | |
from formats_common import * | |
import html | |
enable = True | |
format = 'Drug-guide' | |
description = 'Drug-guide (SQLite3)' | |
extensions = () | |
readOptions = [] |
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
#!/bin/bash | |
# need to install https://github.com/ilius/repassgen | |
# u i a e o | |
G0='ういあえお' | |
# shi ki ni ka | |
G1='しきにか' | |
# no chi ku to ha ta |