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
/** | |
* Set of tools to manipulate colors | |
*/ | |
var colortool = { | |
/** | |
* Create gradients | |
* Specify the color to start and end with plus | |
* the amount of intermediate steps. |
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
(function () { | |
document | |
.querySelectorAll('iframe') | |
.forEach(function (e) { | |
if (e.src.indexOf('youwatch')!=-1 || e.src.indexOf('haouzy')!=-1) { | |
window.location = e.src; | |
return; | |
} | |
else | |
e.remove(); |
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 | |
# This script must be executed in the repo where | |
# the *.ts files are. | |
# It will concatenate the segments into one temp | |
# file which ffmpeg will reencode the audio track. | |
# By default the ouptup filename is output.mp4 | |
# but can be changed by providing the name as parameter. | |
# | |
# ffmpeg is required |