A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
elem.clientLeft
, elem.clientTop
, elem.clientWidth
, elem.clientHeight
elem.getClientRects()
, elem.getBoundingClientRect()
function parallel() { | |
let args = Array.prototype.slice.call(arguments); | |
let length = args.length; | |
let funcsComplete = 0; | |
let resFunc; | |
let results = []; | |
function complete(res) { | |
funcsComplete += 1; | |
results.push(res); |
import urllib2 | |
import httplib2 | |
from sgmllib import SGMLParser | |
request = urllib2.Request('http://bash.im') | |
userAgent = 'Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0' | |
opener = urllib2.build_opener() | |
request.add_header('User-agent', userAgent) |
#! /usr/bin/env python | |
import os | |
pomidorro = int | |
def log(pomidorro): | |
from datetime import datetime | |
try: | |
logs = open('Pomidorro_logs','a') |
AliceBlue | |
AntiqueWhite | |
Aqua | |
Aquamarine | |
Azure | |
Beige | |
Bisque | |
Black | |
BlanchedAlmond | |
Blue |
-moz-binding | |
-moz-border-bottom-colors | |
-moz-border-left-colors | |
-moz-border-radius | |
-moz-border-radius-bottomleft | |
-moz-border-radius-bottomright | |
-moz-border-radius-topleft | |
-moz-border-radius-topright | |
-moz-border-right-colors | |
-moz-border-top-colors |
#!/bin/bash | |
echo -n "How many minutes would you like the timer to run? " | |
read limit | |
echo | |
echo "Timing $limit minutes..." | |
echo | |
counter=0 | |
while [ $counter != $limit ]; do | |
let "remain = $limit - $counter"; | |
let "slice = $remain%5" |
#!/bin/bash | |
echo -n "Hello. This is a Drupal installation script. " | |
echo -n "Downloading Drupal..." | |
drush dl drupal -y | |
mv drupal-* drupal | |
cd drupal | |
echo -n "Please type the database login: " | |
read login | |
echo -n "... and database password: " |
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Bright.tmTheme", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", |