A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$
if your browser aliases it:
~ 108 byte version
@echo off | |
echo Optimizing JPEG ^& PNG Images... | |
cd %1 | |
forfiles /s /m *.jpg /c "cmd /c @\"C:\Program Files\Image Optimization\jpegtran.exe\" -copy none -optimize -progressive @file @file" | |
forfiles /s /m *.jpeg /c "cmd /c @\"C:\Program Files\Image Optimization\jpegtran.exe\" -copy none -optimize -progressive @file @file" | |
forfiles /s /m *.JPG /c "cmd /c @\"C:\Program Files\Image Optimization\jpegtran.exe\" -copy none -optimize -progressive @file @file" | |
forfiles /s /m *.JPEG /c "cmd /c @\"C:\Program Files\Image Optimization\jpegtran.exe\" -copy none -optimize -progressive @file @file" | |
forfiles /s /m *.png /c "cmd /c @\"C:\Program Files\Image Optimization\optipng.exe\" -o7 -strip all @file" | |
forfiles /s /m *.PNG /c "cmd /c @\"C:\Program Files\Image Optimization\optipng.exe\" -o7 -strip all @file" | |
echo. & echo Process done! |