Digital and analog television standards resolution reference.
| Standard | Resolution (dots × lines) | DAR (H:V) | Pixels |
|---|---|---|---|
| PixelVision | 120 × 90 | 4:3 | 10,800 |
| // MultiExporter.jsx | |
| // Version 0.1 | |
| // Version 0.2 Adds PNG and EPS exports | |
| // Version 0.3 Adds support for exporting at different resolutions | |
| // Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
| // Version 0.5 Fixed cropping issues | |
| // Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
| // | |
| // Copyright 2013 Tom Byrne | |
| // Comments or suggestions to tom@tbyrne.org |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| from twilio.rest import TwilioRestClient | |
| import simplejson as json | |
| from time import sleep | |
| class SocialAlarm(object): | |
| def __init__(self): | |
| self.counter = 1 |
<hash> with your gist's hash):
# with ssh
git clone [email protected]:<hash>.git mygist
# with httpsgit clone https://gist.github.com/.git mygist
| """ | |
| 1. Create a new repo and setup your pipeline to match JIRA | |
| 2. Edit the constants to suit your needs | |
| 3. Run `source jira.env` | |
| 4. Run `python jira-migration.py` | |
| """ | |
| import os | |
| import requests |
| import subprocess | |
| template = 'python script.py {} {} {} {}' | |
| args = [[1, 2, 3, 4], [5, 6, 7, 8]] | |
| # Run commands in parallel | |
| processes = [] | |
| for arg in args: |