Last active
February 6, 2018 14:32
-
-
Save fcjurado/c02bfcf18ebb45271ebf1e5091873b1e to your computer and use it in GitHub Desktop.
Take screenshots from several resolutions: First of all, download and install Pageres from https://github.com/sindresorhus/pageres-cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://gs.statcounter.com/screen-resolution-stats | |
# https://medium.com/@uiuxlab/the-most-used-responsive-breakpoints-in-2017-of-mine-9588e9bd3a8a | |
resolutions=("1920x1080" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1080x1920" "1024x768" "768x1024" "750x1334" "720x1280" "640x960" "640x1136" "480x800" "360x640" "320x568" "320x534") | |
urls=("search/mario" "search/luigi" "search/koopa" ) | |
for r in "${resolutions[@]}" | |
do | |
for u in "${urls[@]}" | |
do | |
echo $u $r | |
pageres twitter.com/$u $r -v --overwrite | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment