Skip to content

Instantly share code, notes, and snippets.

@jordan8037310
Forked from genoma/launch.sh
Created February 9, 2016 22:31
Show Gist options
  • Save jordan8037310/5ebc66e215e09e874c77 to your computer and use it in GitHub Desktop.
Save jordan8037310/5ebc66e215e09e874c77 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