<commit_before>#!/bin/bash
echo "Optimize Images"
find ./static/ -type f -name "*.png" -printf '%p\n' -exec convert {} -strip {} \;
find ./static/ -type f -name "*.gif" -printf '%p\n' -exec convert {} -strip {} \;
find ./static/ -type f -name "*.jpg" -printf '%p\n' -exec convert {} -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB {} \;<commit_msg>* Adjusted for server software.<commit_after>#!/bin/bash
echo "Optimize Images"
find ./static/ -type f -name "*.png" -print -exec convert {} -strip {} \;
find ./static/ -type f -name "*.gif" -print -exec convert {} -strip {} \;
find ./static/ -type f -name "*.jpg" -print -exec convert {} -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB {} \;
{'fraction_non_alphanumeric': 0.20698924731182797, 'fraction_numerical': 0.013440860215053764, 'mean_word_length': 3.0053763440860215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7359289', 'n_tokens_mistral': 264, 'n_tokens_neox': 248, 'n_words': 91}