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
diff --git assets/templates/PlayVideo.xml assets/templates/PlayVideo.xml | |
index ecb650c..00f47d9 100644 | |
--- assets/templates/PlayVideo.xml | |
+++ assets/templates/PlayVideo.xml | |
@@ -36,12 +36,12 @@ | |
<myStackedMedia> | |
<!-- stacked media --> | |
- <httpFileVideoAsset id="{{VAL(key)}}"> | |
- <mediaURL>{{MEDIAURL(key)}}</mediaURL> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
MERGED_AND_NOT_DELETED=$( | |
ALL_MERGED_BRANCHES=$(git branch -a --merged master | grep -v '* master' | grep -v 'HEAD ->'); | |
for i in $ALL_MERGED_BRANCHES; do | |
COMMIT_TO_CHECK=$(git show-ref --hash "$i"); | |
PR_NUMBER=$(git when-merged $COMMIT_TO_CHECK awk '{print $2}') | |
git --no-pager log --format=%B -n 1 $PR_NUMBER | grep 'Merge pull request'; | |
done | |
) |
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 Handlebars = require('handlebars'); | |
Handlebars.registerHelper('uuid', function(obj) { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = Math.random() * 16 | 0, | |
v = c == 'x' ? r : (r & 0x3 | 0x8); | |
return v.toString(16); | |
}); | |
}); |
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
require(['./lodash.js'], function(_) { | |
console.log(_); | |
}); |
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> | |
<title></title> | |
</head> | |
<body> | |
// ⬇⬇ view the source of the below svg file ⬇⬇ | |
<object type="image/svg+xml" data="foo.svg"></object> | |
</body> | |
</html> |
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 nodeio = require('node.io'); | |
exports.job = new nodeio.Job({ | |
input: process.argv.splice(3), | |
run: function(domain) { | |
var self = this; | |
try { //make sure it is a url | |
self.assert(domain).isUrl(); | |
this.getHtml(domain, function(err, $) { | |
if (err) { | |
if (err === "redirects") { |
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 jsdom = require('jsdom'); | |
jsdom.env('http://engadget.com', [ | |
'http://code.jquery.com/jquery-1.5.min.js'], function(errors, window) { | |
var $ = window.$; | |
if (errors) { | |
console.log(errors); | |
} |
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
#watch-discussion { | |
display: none; | |
} | |
#watch-sidebar { | |
display: none; | |
} | |
#footer { | |
display: none; | |
} | |
#footer-container { |
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
jQuery source used | |
/*! | |
* jQuery JavaScript Library v1.4.2 | |
* http://jquery.com/ | |
* | |
* Copyright 2010, John Resig | |
* Dual licensed under the MIT or GPL Version 2 licenses. | |
* http://jquery.org/license | |
* |
OlderNewer