This file contains hidden or 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
using System; | |
using FFmpeg; | |
using FFmpeg.AutoGen; | |
using static FFmpeg.AutoGen.ffmpeg; | |
namespace StreamVideo.Ffmpeg | |
{ | |
public unsafe class LiveStream : IDisposable | |
{ | |
public static string RootPath | |
{ |
This file contains hidden or 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
//https://github.com/tqk2811/FFmpegArgs | |
FFmpegArg ffmpegArg = new FFmpegArg(); | |
var colorInput = new FilterGraphInput(); | |
colorInput.FilterGraph.ColorFilter().Size(new Size(width,height)).Color(Color.Transparent); | |
var colorVideo = ffmpegArg.AddVideoInput(colorInput,1,0); | |
var colorMap = colorVideo.ImageMaps.First(); | |
List<ImageMap> maps = new List<ImageMap>(); |
This file contains hidden or 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
NV12ToRgbShader* shader = new NV12ToRgbShader(); | |
if(shader->Init()) | |
{ | |
AVFrame* src = ...; | |
AVFrame* dst = ...; | |
if(shader->Convert(src,dst)) | |
{ | |
} | |
} |
This file contains hidden or 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
# Cracking Sublime Text ( Build 4121 ) Tutorial Analysis | |
--- | |
Two main changes to be made for best experience. This can be done with script. | |
### License Key | |
While it is possible to deduce the format of the license key, there is available ones online to show. Analyse and see that it is still that same format. The main part is the verification of the hash values from the license key that we want to always be "correct". This is also the key that this tutorial will use. | |
``` |
This file contains hidden or 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
> * Go to [hexed.it](https://hexed.it/) | |
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
> * Click "Find next" then "Replace" | |
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
> * Click "Save as" then name it: sublime_text | |
> * Copy your modified sublime_text.exe to directory Sublime Text |
Link bài viết này (để copy cho nhanh ý mà :v): http://bit.ly/optimizeBanks
- Cách mình trình bày dưới đây chỉ mang tính chất chia sẻ kinh nghiệm nhé!
- Tuy các giao dịch mình làm qua app, online, ít khi phải ra ngân hàng nhưng vì giờ đa số các ngân hàng đã miễn hầu hết các loại phí nên mình sẽ bàn thêm về trải nghiệm CSKH và một số tiện ích khác nữa.
- Chắc chắn tuỳ khu vực sẽ có "chỗ this chỗ that" rồi, nên nếu bạn ưng bụng ngân hàng nào trước rồi thì cứ dùng thôi nhé!
This file contains hidden or 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 | |
/* | |
PHP CURL function which bypasses the Cloudflare | |
@yasinkuyu | |
*/ | |
function cloudFlareBypass($url){ | |
$useragent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"; |
This file contains hidden or 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 openai | |
import boto3 | |
import json | |
import time | |
from typing import Dict, List | |
openai.api_key = '### SET YOUR OPENAPI API KEY HERE ###' | |
session = boto3.session.Session() | |
client = session.client('iam') |
This file contains hidden or 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 input.mp4 -vcodec h264 -acodec mp2 output.mp4 |