git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| ##################### | |
| # | |
| # Use this with or without the .gitattributes snippet with this Gist | |
| # create a fixle.sh file, paste this in and run it. | |
| # Why do you want this ? Because Git will see diffs between files shared between Linux and Windows due to differences in line ending handling ( Windows uses CRLF and Unix LF) | |
| # This Gist normalizes handling by forcing everything to use Unix style. | |
| ##################### | |
| # Fix Line Endings - Force All Line Endings to LF and Not Windows Default CR or CRLF |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| # how to run: | |
| # fontforge -lang=py -script ./normalize.py | |
| import fontforge | |
| from pathlib import Path | |
| paths = list(Path(".").rglob("*.woff")) | |
| # Constants | |
| ascent = 800 |
| /* eslint-disable no-else-return */ | |
| const fs = require('fs').promises; | |
| const path = require('path'); | |
| /** | |
| * Статистика слов в файле | |
| */ | |
| const processFile = async filePath => { | |
| console.log('processing file', filePath); |
| conky.config = { | |
| alignment = 'top_right', | |
| background = false, | |
| border_width = 1, | |
| cpu_avg_samples = 2, | |
| default_color = 'white', | |
| default_outline_color = 'black', | |
| default_shade_color = 'black', | |
| double_buffer = true, | |
| draw_borders = false, |