Digital and analog television standards resolution reference.
| Standard | Resolution (dots × lines) | DAR (H:V) | Pixels |
|---|---|---|---|
| PixelVision | 120 × 90 | 4:3 | 10,800 |
| #!/usr/bin/env bash | |
| # | |
| # Sublime Text 2|3 Markdown Build System | |
| # | |
| # This Sublime Text 2|3 build system simply takes Markdown source as an | |
| # arg(1) and parses the HTML for previewing in a browser window. | |
| # | |
| # **Requirements** | |
| # | |
| # - Sublime Text 3 <http://www.sublimetext.com> |
| #!/usr/bin/env python | |
| import re | |
| import urllib2 | |
| def fetch_data(): | |
| return str(urllib2.urlopen('http://time.is').read()) | |
| #!/usr/bin/env python | |
| import os.path as filepath | |
| import sys | |
| from optparse import OptionParser | |
| def main(): | |
| parser = OptionParser( | |
| prog='rp', usage="%prog [path]\n\nReturn the canonical path of the specified filename\n\n [path]\tpath of file to check\n\n when *no args* are passed, the current working directory\n will be set as [path].") |
| #!/usr/bin/env bash | |
| # generate data uri scheme for file | |
| function datauri() | |
| { | |
| local mimeType=$(file -b --mime-type "$1") | |
| if [[ $mimeType == text/* ]]; then | |
| mimeType="${mimeType};charset=utf-8" | |
| fi | |
| echo "data:${mimeType};base64,$(openssl base64 -in "$1" | tr -d '\n')" |
| # update all non-sublime package control packages (osx) | |
| function update_sublimetext_packages() | |
| { | |
| echo "" | |
| echo "==> Updating Sublime Text Packages" | |
| echo "" | |
| local cwd=$(pwd) | |
| local subl_pkgs_dir=~/Library/Application\ Support/Sublime\ Text\ 3/Packages | |
| local repo= |
| # show a cyan `OK!`, or arg `1` message | |
| function show_info() | |
| { | |
| local msg="OK!" | |
| if [ ! -z "$1" ]; then | |
| msg="$1" | |
| fi | |
| echo -e "\033[0;36m${msg}\033[0m" | |
| } |
| var path = require('path'); | |
| var fs = require('fs'); | |
| // | |
| // Configuration | |
| // | |
| var config = { | |