Skip to content

Instantly share code, notes, and snippets.

Anan5a /
Last active Mar 6, 2021
bash script for transcoding multiple video files in batch using ffmpeg, specifically for Animations/anime
# Settings in this script is suitable for animes
# To use simply put this script inside the folder where your source files are, edit dest variable to change destination folder
# TODO: add arguments for source and dest
# Where to store encoded files
TAG="[Hulk] " #put your own if you like or remove the text
# This script is tested on Debian 10 with non-free source added
echo "Building shared ffmpeg executable with vaapi, fdkaac, zimg ..."
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/lib:/usr/lib
echo "Installing build tools ..."
apt -qqy install build-essential autoconf automake cmake libtool git nasm yasm
View uuid-intercept.js
* device-uuid.js v1.0.4 (
* Copyright 2016-2017 Alexey Gordeyev
* Licensed under MIT (
screen, window, navigator
(function (exports) {
'use strict';
Anan5a / GCD.c
Created Feb 3, 2020
Calculate GCD of two number using loop
View GCD.c
#include <stdio.h>
int main()
int db[1000], da[1000], i, j=1, k, gcd[300], big_da, big_db;
int num, num2;
printf("Enter two numbers: ");
scanf("%d %d", &num, &num2);
View videojs-skin-purple-red.css
.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline {
width: 10em
.video-js .vjs-controls-disabled .vjs-big-play-button {
display: none!important
.video-js .vjs-control {
width: 3em
00:00:13,000 --> 00:00:16,120
অনুবাদঃ আশানুর_জয়।
00:00:16,140 --> 00:00:19,150
ধন্যবাদান্তেঃ ডাঃ মিথুন বিশ্বাস ও মোঃ আল-আমিন রহমান।
00:01:31,010 --> 00:01:32,050
আমি সুরিয়া(সূর্য)
View sf4-heroku.log
2018-12-23T01:45:30.112326+00:00 heroku[router]: at=info method=GET path="/signup/" request_id=f541d99b-0202-46c5-8f65-6facda2125b0 fwd="" dyno=web.1 connect=1ms service=272ms status=200 bytes=759 protocol=https
2018-12-23T01:45:30.112278+00:00 app[web.1]: - - [23/Dec/2018:01:45:29 +0000] "GET /signup/ HTTP/1.1" 200 462 "-" "Mozilla/5.0 (Linux; Android 4.2.2; iris 400s Build/iris 400s) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36
2018-12-23T01:45:32.060628+00:00 heroku[router]: at=info method=GET path="/favicon.ico" request_id=f1b1403a-419a-4d04-8544-a044689365fe fwd="" dyno=web.1 connect=1ms service=10ms status=404 bytes=683 protocol=https
2018-12-23T01:45:32.060682+00:00 app[web.1]: - - [23/Dec/2018:01:45:32 +0000] "GET /favicon.ico HTTP/1.1" 404 471 "" "Mozilla/5.0 (Linux; Android 4.2.2;
View SignupController.php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Session\SessionInterface;;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
echo "UniBnFonts ( installer by Anan5a("
echo "Run this script as root. not sudo!"
mkdir -p $dir
echo "Downloading font..."
wget -q -O $HOME/$file
echo "Extracting/Installing font"
tar -xzf $HOME/$file -C $dir
View ffmpeg.functions.php
function add_process($command, $max=1)
$running_list = get_process($command);
$running_count = count($running_list);
if ($running_count >= $max) {
return false;