Skip to content

Instantly share code, notes, and snippets.

@madars
Created January 23, 2016 06:12
Show Gist options
  • Save madars/2707057987032b085818 to your computer and use it in GitHub Desktop.
Save madars/2707057987032b085818 to your computer and use it in GitHub Desktop.
vga-align
#!/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