I hereby claim:
- I am lieryan on github.
- I am lieryan (https://keybase.io/lieryan) on keybase.
- I have a public key whose fingerprint is 59E4 0501 4540 113E 24E5 0F62 7DAD E721 E79E B036
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Quick start: | |
1. Download ocr.py to your ~/Downloads folder (hint: open the Raw view and Save the file) | |
2. Open "Terminal" app | |
3. Run `python ~/Downloads/ocr.py --help` and follow the embedded installation instruction | |
Basic usage: | |
1. Make sure you have followed the embedded installation guide | |
2. Press Shift+PrintScreen, your cursor will turn into + sign |
Install helper programs, run in Terminal: sudo apt install tesseract-ocr xclip
Download ocr-screenshot.sh
to your chosen location (e.g. /home/user/bin/ocr-screenshot.sh
) (hint: open the Raw view and Save the file)
Install global hotkey:
3.1. Open "System Settings" app
3.2. On "System Settings", open "Devices" menu, open "Keyboard" menu
from rope.base import project | |
from rope.refactor import restructure | |
import yaml | |
import pathlib | |
import sys | |
if len(sys.argv) < 2: | |
print("refactoring name not provided") | |
sys.exit(-1) |