Fix missing dates + top words scripts

This commit is contained in:
Morgan Wattiez 2019-07-22 14:11:00 +02:00
parent 135fc297a3
commit 676165cdcc
3 changed files with 18 additions and 11 deletions

View File

@ -2409,7 +2409,7 @@ See also [Infrastructure](#infrastructure)
* [Xerius](https://brutonetto.xerius.be) - :fr: [BE] Devenir indépendant : Simulez votre tarif journalier en tant qu'indépendant / Calculateur de Brut-Net
* [Downdetector](https://downdetector.com) - offers a realtime overview of status information and outages for all kinds of services. | online monitoring of your favorite services
* [Sven Taylor](https://www.techspot.com/news/80729-complete-list-alternatives-all-google-products.html) - (2019) The complete list of alternatives to all Google products | Parallel universe for the super security conscious
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - :fr: [FR] (2019) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - (2018) :fr: [FR] (2018) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
* [Guesstimate](https://www.getguesstimate.com/models) - free models and tools for modeling things that aren't certain. You can forecast your earnings from a new venture, predict the amount of time completing a big project will take, or experiment with scientific theories. People have used it to optimize video games, understand lottery payoffs, and estimate the costs of childcare.
# Gaming :video_game:
@ -3865,7 +3865,7 @@ See also [Terraform](#terraform)
* [bacook17/acronym](https://github.com/bacook17/acronym) - ACRONYM (Acronym CReatiON for You and Me) | A python-based tool for creating English-ish Acronyms from your fancy project
* [r/personalfinance/tools](https://www.reddit.com/r/personalfinance/wiki/tools) - Personal Finance Tools : Redditor-created Spreadsheets
* [lusarz/jira-node-cli](https://github.com/lusarz/jira-node-cli) - JIRA command line interface written in NodeJS
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - :fr: [FR] (2019) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - (2018) :fr: [FR] (2018) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
* [Guesstimate](https://www.getguesstimate.com/models) - free models and tools for modeling things that aren't certain. You can forecast your earnings from a new venture, predict the amount of time completing a big project will take, or experiment with scientific theories. People have used it to optimize video games, understand lottery payoffs, and estimate the costs of childcare.
# Programming
@ -6320,7 +6320,7 @@ rpm --rebuilddb
* [JAMstack](https://jamstack.org/) : noun `jam-stak` : Modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup. | The JAMstack is not about specific technologies. Its a new way of building websites and apps that delivers better performance, higher security, lower cost of scaling, and a better developer experience.
> Tools
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - :fr: [FR] (2019) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
* [Maxime Blondel](https://www.maddyness.com/2018/04/04/100-outils-pour-lancer-sa-startup-sans-developpeur-ni-graphiste-et-presque-sans-argent/) - (2018) :fr: [FR] (2018) 100 outils pour lancer sa startup sans développeur ni graphiste (et presque sans argent)
# Windows
* [NSSM](https://nssm.cc/commands) - the Non-Sucking Service Manager

0
top_extensions.sh Normal file → Executable file
View File

View File

@ -6,25 +6,32 @@ set -o pipefail
fetch_top_words() {
local url
local basedir
url="${1:-}"
basedir=$(dirname "$0")
if [[ $(uname -s) == "Darwin" ]]; then
gnubin_dir="/usr/local/opt/grep/libexec/gnubin"
if test -f "$gnubin_dir"; then
brew install grep
fi
export PATH="$gnubin_dir:$PATH"
fi
if [[ "${url:-}" = "" ]]; then
grep --only-matching --extended-regexp '[a-zA-Z]{3,}' "$basedir/README.md" \
\grep --only-matching --extended-regexp '[a-zA-Z]{3,}' "$basedir/README.md" \
| tr '[:upper:]' '[:lower:]' \
| grep --invert-match --word-regexp --fixed-strings --file=stopwords.txt \
| \grep --invert-match --word-regexp --fixed-strings --file=stopwords.txt \
| sort \
| uniq --count \
| uniq -c \
| sort -n
else
curl "$url" \
| grep --only-matching --extended-regexp '[a-zA-Z]{3,}' \
| \grep --only-matching --extended-regexp '[a-zA-Z]{3,}' \
| tr '[:upper:]' '[:lower:]' \
| grep --invert-match --word-regexp --fixed-strings --file=stopwords.txt \
| \grep --invert-match --word-regexp --fixed-strings --file=stopwords.txt \
| sort \
| uniq --count \
| uniq -c \
| sort -n
fi
}