Skip to content

Instantly share code, notes, and snippets.

@genoma
Created July 15, 2014 15:26
Show Gist options
  • Save genoma/308313efd3ce674dc1e4 to your computer and use it in GitHub Desktop.
Save genoma/308313efd3ce674dc1e4 to your computer and use it in GitHub Desktop.
Script to use pageres
#!/bin/bash
echo ""
echo -n "$(tput setaf 1)What script you'd like to launch? $(tput bold)[C = Cropped/N = Normal] $(tput sgr 0)"
read script
if [ "$script" = "n" ]; then
cat resolutions|pageres localhost:3000
else
cat resolutions|pageres localhost:3000 -c
fi
568x320
320x568
1024x768
768x1024
1920x1280
1600x900
1440x900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment