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
static std::string getClassName(JNIEnv *env, jobject entity, jclass clazz) | |
{ | |
jmethodID mid = env->GetMethodID(clazz, "getClass", "()Ljava/lang/Class;"); | |
jobject clsObj = env->CallObjectMethod(entity, mid); | |
jclass clazzz = env->GetObjectClass(clsObj); | |
mid = env->GetMethodID(clazzz, "getName", "()Ljava/lang/String;"); | |
jstring strObj = (jstring)env->CallObjectMethod(clsObj, mid); | |
const char* str = env->GetStringUTFChars(strObj, NULL); | |
std::string res(str); |
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
<?php | |
header("Connection: close"); // not sure we need this one | |
header("Content-Encoding: none"); | |
include ("config.php"); | |
use Carbon\Carbon; | |
ignore_user_abort( true ); | |
set_time_limit(0); | |
register_shutdown_function('shutdown'); |
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
/** | |
* example C code using libcurl and json-c | |
* to post and return a payload using | |
* http://jsonplaceholder.typicode.com | |
* | |
* Requirements: | |
* | |
* json-c - https://github.com/json-c/json-c | |
* libcurl - http://curl.haxx.se/libcurl/c | |
* |
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
ffmpeg -i http://PRIMEIP:5004/auto/v1004 -async 1 -ss 00:00:05 -acodec libfdk_aac -vbr 3 \ | |
-b:v \3000k -ac 2 -vcodec libx264 -preset superfast -tune zerolatency -threads 2 -s 1280x720 \ | |
-flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 10 -segment_list stream.m3u8 \ | |
-segment_format mpegts -segment_wrap 10 -segment_list_size 6 -segment_list_flags live stream%03d.ts |
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
#PLAYLISTV: pltv-logo="https://3.bp.blogspot.com/-auoUB40UQe4/V1Ck_IovFpI/AAAAAAAAPOI/dKqhEpai32k5cYTAXETJPgFRFvUpkMGMwCKgB/s1600/cinebox.png" pltv-name="Cinebox 0.1" pltv-description=[COLOR red]FILMES[/COLOR] e Series para PlaylisTV/IPTV" pltv-cover="https://2.bp.blogspot.com/-Ev7AC39VQHo/V1CnLKl3aHI/AAAAAAAAPOg/5PUI4Ku-zPo0tFVCuTxl9XIa-F4IXz3LgCKgB/s1600/Cover%2BCinebox.jpg" pltv-author="CineBox" pltv-site="http://cinebox.net" pltv-email="anonymous@anonymous.com" pltv-phone="9-0666-6660" | |
####### NOVAS ADIÇÕES ######## | |
#EXTINF:-1 tvg-logo="http://i.imgur.com/oHiJ0WY.png" group-title="Novos no [COLOR red]Cinebox![/COLOR]",Emelie 2015 1080p - Legendado - Terror | |
https://lh3.googleusercontent.com/aCgORx1qNVCU44u8hMN4U-CPEfDJURh6odJ5O_UWqrpKKo7AQopanzGzmlwWgTPXtIhvpCnA=m22 | |
#EXTINF:-1 tvg-logo="http://i.imgur.com/oHiJ0WY.png" group-title="Novos no [COLOR red]Cinebox![/COLOR]",Nina 2016 Bluray 720p - Legendado - Drama.Biografia.Musical | |
https://lh3.googleusercontent.com/nH4WcmwSj-Fd93N1fraUxL7hMtAeT8jq708gz9DlSO2z9 |
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 a/libavformat/utils.c b/libavformat/utils.c | |
index 17ae300..7ff8c22 100644 | |
--- a/libavformat/utils.c | |
+++ b/libavformat/utils.c | |
@@ -3809,6 +3809,36 @@ uint64_t ff_ntp_time(void) | |
return (av_gettime() / 1000) * 1000 + NTP_OFFSET_US; | |
} | |
+static char *randstring(size_t length) { | |
+ |
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
Beyond Compare 4 | |
Licensed to: ASIO Allsoftinone | |
Quantity: 1 user | |
Serial number: 1822-9597 | |
License type: Pro Edition for Windows | |
--- BEGIN LICENSE KEY --- | |
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ | |
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja | |
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t |
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
/* Layout (Torrents page) */ | |
/* We're going to opt for the category icon method for now, tags_* is also available */ | |
.cats_applications { width: 28px; height: 28px; background: url('images/apps.png') no-repeat center center; } | |
.cats_audiobooks { width: 28px; height: 28px; background: url('images/audiobook.png') no-repeat center center; } | |
.cats_comedy { width: 28px; height: 28px; background: url('images/comedy.png') no-repeat center center; } | |
.cats_comics { width: 28px; height: 28px; background: url('images/comics.png') no-repeat center center; } | |
.cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; } | |
.cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; } |
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
This can be used in Mac by using following trick: | |
Open trial.key at path: /Applications/Beyond\ Compare.app/Contents/Resources/trial.key | |
Replace content of trial.key with: | |
--- BEGIN LICENSE KEY --- | |
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ | |
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja | |
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t | |
q2Kw2pjoiDs5gIH-uw5U49JzOB6otS7kThBJE-H9A76u4uUvR8DKb+VcB | |
rWu5qSJGEnbsXNfJdq5L2D8QgRdV-sXHp2A-7j1X2n4WIISvU1V9koIyS |
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
import base64 | |
import uuid | |
from pymp4.parser import Box | |
def get_moov_pssh(fd): | |
while True: | |
x = Box.parse_stream(fd) | |
if x.type == b'moov': |
OlderNewer