Created
January 23, 2016 06:12
-
-
Save madars/2707057987032b085818 to your computer and use it in GitHub Desktop.
vga-align
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/sh | |
FILE=`mktemp -t vga-align-XXX.html` | |
cat > $FILE <<EOF | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>VGA auto-align pattern</title> | |
<style type='text/css'> | |
html, body { margin: 0; padding: 0; } | |
body { background: url('data:image/gif;base64,R0lGODdhAgACAPAAAAAAAP///ywAAAAAAgACAAACA0QCBQA7') repeat; } | |
</style> | |
</head> | |
<body> | |
</body> | |
</html> | |
EOF | |
xdg-open $FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment