ffmpeg \
-fflags +genpts `# http://superuser.com/a/710087` \
-i Hawaii.Five-0.2010.S01E01.avi \
-vcodec copy `# copy the video` \
-acodec aac -strict -2 `# re-encode the audio as aac` \
Hawaii.Five-0.2010.S01E01.mp4
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
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
casper.then(function() { | |
href = this.evaluate(function() { | |
return document.querySelectorAll('a[href*="manageForms"]')[0].href; | |
}); | |
casper.thenOpen(href, function() { | |
var iFormsLinks = this.evaluate(function() { | |
return Array.prototype.slice.call(document.querySelectorAll('td:last-child a:first-child')).map(function(e) { | |
return e.href; | |
}); |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
import XCPlayground | |
XCPSetExecutionShouldContinueIndefinitely(true) | |
extension NSMutableURLRequest { | |
/// Percent escape |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>HTML 5 complete</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
article, aside, details, figcaption, figure, footer, header, |
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
computeSourcePath=true | |
contextsDir=d\:\\platform\\root\\test0001\\conf\\catalina\\localhost | |
eclipse.preferences.version=1 | |
jvmParameters=-XX%3AMaxMetaspaceSize%3D256m;-XX%3AReservedCodeCacheSize%3D320m;-Xms1024m+-Xmx2024m;-Dcom.sun.management.jmxremote.port%3D30001;-Dcom.sun.management.jmxremote.authenticate%3Dfalse;-Dcom.sun.management.jmxremote.ssl%3Dfalse;-Dfile.encoding%3DUTF-8;-javaagent%3AD%3A%5Ccommon%5Cjrebel6%5Cjrebel.jar; | |
managerUrl=http\://localhost\:8080/manager | |
projectsInSourcePath=Integration;Provider;RestUtility;Web; | |
tomcatBase=d\:\\platform\\root\\test0001 | |
tomcatConfigFile=d\:\\common\\tomcat7\\conf\\server.xml | |
tomcatDir=d\:\\common\\tomcat7 | |
tomcatJRE=1428690496570 |
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
var myFrames = []; | |
function mkLog(name) { | |
return function() { | |
console.log('unloading ' + name); | |
}; | |
} | |
(function walk(d) { | |
var doc = d.contentDocument || d, i, iframes = doc.getElementsByTagName('iframe'); | |
console.log('found ' + iframes.length + ' iframes'); | |
myFrames.push({ doc :doc, frame : d.contentDocument, node : d, id : d.id, name:d.name }); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --> |
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
/*jslint white:true, unparam:true, browser:true */ | |
/*global $, casper, console, jQuery */ | |
(function() { | |
"use strict"; | |
var casper = require('casper').create(); | |
console.log("Starting..."); | |
casper.start('http://themeforest.net/user/oxygenna/portfolio?direction=desc&order_by=sortable_at&view=grid', function() { | |
console.log('scraping'); | |
var rv = this.evaluate(function() { |
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
main | |
*.o |