<commit_before>#!/bin/bash
WEBMX=`date +"%s"`
printf "\n enter filename of the icon you want to build out including path if in different location ...\n";
read cmdlinestr;
while [ $@ -gt 0 ]; do
        picture=$@
		filename=$(basename "$@")
		extension="${filename##*.}"
		filename="${filename%.*}"
                mkdir -p "${filename}_allsizes/img"
for i in 16 18 22 24 32 36 48 64 72 90 96 128 144 160 192 256 512; do convert $picture -resize "$i"\!x"$i"\! -bordercolor transparent -gravity center -crop "$i"\!x"$i"\!+0+0 "${filename}_allsizes/img/${filename}_${i}x${i}.png";done;
for i in 57 114 72 144 60 120 76 152; do convert $picture -resize "$i"\!x"$i"\! -bordercolor transparent -gravity center -crop "$i"\!x"$i"\!+0+0 "${filename}_allsizes/img/apple-touch-icon-${i}x${i}.png";done;
convert $picture -resize 144\!x144\! -bordercolor transparent -gravity center -crop 144\!x144\!+0+0 "${filename}_allsizes/img/mstile-144x144.png"
convert $picture -resize 192\!x192\! -bordercolor transparent -gravity center -crop 192\!x192\!+0+0 "${filename}_allsizes/icon.png"
convert $picture -resize 144\!x144\! -bordercolor transparent -gravity center -crop 144\!x144\!+0+0 "${filename}_allsizes/startup-icon.png"
`cp $picture favicon"$WEBMX".png`
`convert favicon"$WEBMX".png -resize 256x256 -bordercolor transparent -border 128x128 -gravity center -crop 256x256+0+0 +repage favicon-256"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 192x192 favicon-192"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 128x128 favicon-128"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 64x64 favicon-64"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 32x32 favicon-32"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 16x16 favicon-16"$WEBMX".png`
`convert favicon-16"$WEBMX".png favicon-32"$WEBMX".png favicon-64"$WEBMX".png favicon-128"$WEBMX".png favicon-192"$WEBMX".png favicon-256"$WEBMX".png "${filename}_allsizes/favicon.ico"`
`rm favicon"$WEBMX".png favicon-16"$WEBMX".png favicon-32"$WEBMX".png favicon-64"$WEBMX".png favicon-128"$WEBMX".png  favicon-192"$WEBMX".png favicon-256"$WEBMX".png`<commit_msg>Update favfleetlive.sh<commit_after>#!/bin/bash
WEBMX=`date +"%s"`
while [ $myfavi -gt 0 ]; do
        picture=$myfavi
		filename=$(basename "$myfavi")
		extension="${filename##*.}"
		filename="${filename%.*}"
                mkdir -p "${filename}_allsizes/img"
for i in 16 18 22 24 32 36 48 64 72 90 96 128 144 160 192 256 512; do convert $picture -resize "$i"\!x"$i"\! -bordercolor transparent -gravity center -crop "$i"\!x"$i"\!+0+0 "${filename}_allsizes/img/${filename}_${i}x${i}.png";done;
for i in 57 114 72 144 60 120 76 152; do convert $picture -resize "$i"\!x"$i"\! -bordercolor transparent -gravity center -crop "$i"\!x"$i"\!+0+0 "${filename}_allsizes/img/apple-touch-icon-${i}x${i}.png";done;
convert $picture -resize 144\!x144\! -bordercolor transparent -gravity center -crop 144\!x144\!+0+0 "${filename}_allsizes/img/mstile-144x144.png"
convert $picture -resize 192\!x192\! -bordercolor transparent -gravity center -crop 192\!x192\!+0+0 "${filename}_allsizes/icon.png"
convert $picture -resize 144\!x144\! -bordercolor transparent -gravity center -crop 144\!x144\!+0+0 "${filename}_allsizes/startup-icon.png"
`cp $picture favicon"$WEBMX".png`
`convert favicon"$WEBMX".png -resize 256x256 -bordercolor transparent -border 128x128 -gravity center -crop 256x256+0+0 +repage favicon-256"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 192x192 favicon-192"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 128x128 favicon-128"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 64x64 favicon-64"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 32x32 favicon-32"$WEBMX".png`
`convert favicon-256"$WEBMX".png -resize 16x16 favicon-16"$WEBMX".png`
`convert favicon-16"$WEBMX".png favicon-32"$WEBMX".png favicon-64"$WEBMX".png favicon-128"$WEBMX".png favicon-192"$WEBMX".png favicon-256"$WEBMX".png "${filename}_allsizes/favicon.ico"`
`rm favicon"$WEBMX".png favicon-16"$WEBMX".png favicon-32"$WEBMX".png favicon-64"$WEBMX".png favicon-128"$WEBMX".png  favicon-192"$WEBMX".png favicon-256"$WEBMX".png`
{'fraction_non_alphanumeric': 0.1879372738238842, 'fraction_numerical': 0.10470446320868516, 'mean_word_length': 5.197309417040358, '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': '5286713', 'n_tokens_mistral': 1910, 'n_tokens_neox': 1550, 'n_words': 343}