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 | |
) |
Loading
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
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> |
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
#!/bin/bash | |
# "diff" two different directories, outputting the filesize difference between them. | |
# | |
# $ diffdir foo bar | |
# baz.js: 52b 56p - -4b | |
# ensure we are only dealing with two directories | |
if [[ "$#" -ne 2 || !( -d "$1" && -d "$2") ]]; then |
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
#!/bin/bash | |
# "diff" two different directories, outputting the filesize difference between them. | |
# | |
# $ diffdir foo bar | |
# baz.js: 52b 56p - -4b | |
# ensure we are only dealing with two directories | |
if [[ "$#" -ne 2 || !( -d "$1" && -d "$2") ]]; then |
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
#!/bin/bash | |
# "diff" two different directories, outputting the filesize difference between them. | |
# | |
# $ diffdir foo bar | |
# foo/baz.js: 52b | |
# bar/baz.js: 50b | |
# ensure we are only dealing with two directories |
This file has been truncated, but you can view the full file.
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
{ | |
"log": { | |
"version": "1.2", | |
"creator": { | |
"name": "WebInspector", | |
"version": "537.36" | |
}, | |
"pages": [ | |
{ | |
"startedDateTime": "2013-12-04T01:03:19.808Z", |
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
Modernizr.addTest('atviewport', function() { | |
return Modernizr.testStyles('', function(node, rule) { | |
var style = document.getElementById('smodernizr'); | |
var sheet = style.sheet || style.styleSheet; | |
var supportsAtViewport | |
for (var i = 0; i < Modernizr._prefixes.length; i++) { | |
try { | |
var viewport = sheet.insertRule('@' + prefixes[i] + 'viewport{}', sheet.rules.length - 1); |
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
#!/bin/bash | |
ASSET_PATH=$1 | |
t="$(date +%s)" | |
if [ ! -d $ASSET_PATH ] && ( echo $ASSET_PATH not found && exit 1 ) | |
hash zopfli 2>/dev/null || (echo zopfli needs to be installed && exit 1) | |
find $ASSET_PATH -type f | xargs -P 99 zopfli |
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
#!/bin/bash | |
# | |
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance. | |
# | |
# Must be run with root privileges | |
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5) | |
# | |
export BUILD_DIR="$PWD" |