<commit_before># Vocabulink site

SUBDIRS := cgi articles css js
date := $(shell date +%Y-%m-%d)
sync_options := -avz --exclude 'cgi/dist' --exclude 'upload/img/*' --exclude 'upload/audio/pronunciation/*' --exclude '*.sass' --exclude 'articles/Makefile' --exclude '*.el' --exclude 'css/Makefile' --exclude 'js/Makefile' --exclude 'cgi/*.pdf' --exclude 'cgi/TAGS' --exclude '*.aux' --exclude '*.tex' --exclude '*.ptb' --exclude '*.log' --exclude '*.out' --exclude '._*' --exclude '.DS_Store' --exclude '.sass-cache' --delete articles css etc img js s scripts vocabulink.cgi linode:vocabulink/

.PHONY : $(SUBDIRS) all

all : $(SUBDIRS)
	@echo built

backup : backup-database

backup-database :
	pg_dump --host localhost --username vocabulink --create vocabulink | gzip > vocabulink--$(date).sql.gz

sync :
	rsync $(sync_options)

sync-test :
	rsync --dry-run $(sync_options)

$(SUBDIRS) :
	@-$(MAKE) -C $@<commit_msg>I stopped using this backup a while ago.<commit_after># Vocabulink site

SUBDIRS := cgi articles css js
sync_options := -avz --exclude 'cgi/dist' --exclude 'upload/img/*' --exclude 'upload/audio/pronunciation/*' --exclude '*.sass' --exclude 'articles/Makefile' --exclude '*.el' --exclude 'css/Makefile' --exclude 'js/Makefile' --exclude 'cgi/*.pdf' --exclude 'cgi/TAGS' --exclude '*.aux' --exclude '*.tex' --exclude '*.ptb' --exclude '*.log' --exclude '*.out' --exclude '._*' --exclude '.DS_Store' --exclude '.sass-cache' --delete articles css etc img js s scripts vocabulink.cgi linode:vocabulink/

.PHONY : $(SUBDIRS) all

all : $(SUBDIRS)
	@echo built

sync :
	rsync $(sync_options)

sync-test :
	rsync --dry-run $(sync_options)

$(SUBDIRS) :
	@-$(MAKE) -C $@
{'fraction_non_alphanumeric': 0.20202622169249107, 'fraction_numerical': 0.0, 'mean_word_length': 3.5501355013550135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1472720', 'n_tokens_mistral': 650, 'n_tokens_neox': 594, 'n_words': 167}