Parameter | YouTube recommends setting |
---|---|
-movflags faststart | moov atom at the front of the file (Fast Start) |
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
# To get yours: | |
# history | grep ' git ' | sed 's/^.* git //' | awk '{print $1}' | sort | uniq -c | sort -h | |
[alias] | |
s = status | |
c = commit -m | |
p = push origin | |
pf = push origin -f | |
d = diff | |
r = rebase |
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 | |
function log { | |
echo | |
echo "-- $1 --" | |
} | |
function run { | |
echo "# $1" | |
sh -c "$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/sh | |
# Pull all files from Transifex; | |
# Minimum percentage change to whatever you want | |
tx pull -a --minimum-perc=100 | |
# Create .mo files from .po files. | |
# Twisted by WP-Translations.org, created by grappler. | |
for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file && rm $file ; 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
#!/usr/bin/env python | |
"""Merge multiple JUnit XML results files into a single results file.""" | |
# MIT License | |
# | |
# Copyright (c) 2012 Corey Goldberg | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
- Headers
- Links
- Bold