This file contains hidden or 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
# This is a (work-in-progress) python dictionary implementation of my Vietnamese steno system: https://github.com/aerickt/steno-dictionaries/wiki/Vietnamese-Steno | |
# As this dictionary generates words on the fly, it is not (or shouldn't be) necessary to add missing entries. | |
# Therefore, it is a better implementation of my Vietnamese steno system than the json dictionary. | |
# However, this is very work-in-progress. I particularly don't have a great way to test the tone placement system. | |
# This dictionary also has some minor differences to the viet.json implementation. For words such as qua, this system | |
# only considers the q (KW) as a consonant -- you'll have to consider the ua as a vowel. Alternatively, you can consider qu | |
# as a separate consonant using a different vowel chord (KWR). | |
# This dictionary also does not support fingerspelling yet. However, a json dictionary may be provided instead to keep this | |
# python dictionary readable (I'm not sure if I am able to add fingerspelling in a competent way). |
This file contains hidden or 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
QWidget { | |
background-color: rgb(45, 45, 45); | |
color: white; | |
} | |
QToolTip { | |
background-color: black; | |
color: white; | |
} |
This file contains hidden or 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
{ | |
"STPH-R": "{#Left}{^}", | |
"STPH-RB": "{#Control_L(Left)}{^}", | |
"STPH-P": "{#Up}{^}", | |
"STPH-B": "{#Down}{^}", | |
"STPH-BG": "{#Control_L(Right)}{^}", | |
"STPH-G": "{#Right}{^}", | |
"STPH*R": "{#Home}{^}", | |
"STPH*P": "{#Page_Up}", | |
"STPH*B": "{#Page_Down}", |
This file contains hidden or 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
"TA*G": ".", | |
"TA*G/*EU": "{^}</i>", | |
"TA*G/*UL": "{^}</ul>", | |
"TA*G/A": "<a href=\"", | |
"TA*G/A*": "{^}</a>", | |
"TA*G/AE": "<a target=\"_blank\" rel=\"noopener noreferrer\" href=\"{^}", | |
"TA*G/EU": "<i>{^}", | |
"TA*G/H*/1": "{^}<h1>{^}{-|}", | |
"TA*G/H*/1*": "{^}</h1>", | |
"TA*G/H*/2": "{^}<h2>{^}{-|}", |
This file contains hidden or 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 | |
cd ~/.config/plover | |
raw=($(cut -c-10 strokes.log)) | |
dates=($(echo "${raw[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' ')) | |
for i in "${dates[@]}"; do | |
count=$(cat strokes.log | grep -c "$i") |
This file contains hidden or 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
/* Copyright 2017 REPLACE_WITH_YOUR_NAME | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |