Add new Youtube-dl copy to DMCA repo
- Fork https://github.com/github/dmca
- Download latest youtube-dl source code from https://yt-dl.org/latest
- Extract
tar -xvf youtube-dl-2020.09.20.tar.gz
- Push code to your fork as the GitHub CEO
#!/bin/bash | |
Args=$1 | |
FileName="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" | |
if [[ -n "$Args" ]]; then | |
if [[ -f $Args ]]; then | |
HTMLoutput=$(pandoc -s -f markdown -t html "$Args") | |
HTMLFileName="/tmp/tmp_$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1).html" | |
touch $HTMLFileName |
tar -xvf youtube-dl-2020.09.20.tar.gz
<?php | |
$ch = curl_init(); | |
$_ERR_CODES = array( | |
100 => 'Continue', | |
101 => 'Switching Protocols', | |
102 => 'Processing...', | |
200 => 'OK', | |
201 => 'Created', | |
202 => 'Accepted', | |
203 => 'Non-Authoritative Information', |
/* | |
* ---------------------------------------------------------------------------- | |
* "THE BEER-WARE LICENSE" (Revision 42): | |
* Guoxun Yang and Zeljko Milojkovic wrote this file. As long as you retain this | |
* notice you can do whatever you want with this stuff. If we meet some day, and | |
* you think this stuff is worth it, you can buy us beer in return. | |
* ---------------------------------------------------------------------------- | |
*/ | |
using System; |
set "repo=https://github.com/Zorono/TestRepo.git" | |
git clone %repo% | |
git config core.protectNTFS false | |
git config hooks.enforcecompatiblefilenames false | |
git restore --source=HEAD :/ |
<?php | |
function var_export_(array $arr) | |
{ | |
if(is_array($arr)) | |
{ | |
if(count($arr) >= 1) | |
{ | |
$result = 'array ('; | |
foreach($arr as $key => $value) | |
{ |
<?php | |
$img_url = (preg_match('/\%[0-9A-F]{2}|\+/', $_GET['url']) !== False ? urldecode($_GET['url']) : $_GET['url']); | |
if($img_content = @file_get_contents($img_url)) | |
{ | |
if(strlen(mime_content_type($img_url)) > 2 ? strpos(mime_content_type($img_url), 'image/') !== False : True) | |
{ | |
$_finfo = new finfo(); | |
$img_mime = $_finfo->file($img_url, FILEINFO_MIME_TYPE); | |
echo '<img src="data:' .(isset($img_mime) && strlen($img_mime) > 2 ? $img_mime : "image/jpeg"). ';base64,' .base64_encode($img_content). '" />'; | |
} |
.badge { | |
display:inline-block; | |
padding-left:8px; | |
padding-right:8px; | |
text-align:center; | |
border-radius:50%; | |
margin-left:16px; | |
background-color:rgba(255, 152, 0, 0.75); | |
color:rgb(255, 255, 255); | |
} |
<?php | |
function ReturnTimeLapse($start, $till) | |
{ | |
$time = array( | |
'second' => $till - $start, | |
'minute' => 60, | |
'hour' => 60*60, | |
'day' => 60*60*24, | |
'month' => 60*60*24*30 | |
); |
<?php | |
ini_set("display_errors", 1); | |
ini_set("track_errors", 1); | |
ini_set("html_errors", 1); | |
ini_set('memory_limit', '250M'); | |
set_time_limit(0); | |
error_reporting(E_ALL); | |
?> |