Skip to content

Instantly share code, notes, and snippets.

View sinanisler's full-sized avatar
🖐️
Hello

sinanisler sinanisler

🖐️
Hello
View GitHub Profile
@sinanisler
sinanisler / yify encoding settings.md
Created June 21, 2024 13:18 — forked from kuntau/yify.md
YIFY's Quality Encoding

For those that want to keep the YTS going (No, IDGAF about people that don't care for YTS quality) get HandbrakeCLI https://handbrake.fr/downloads... and use the following settings:

user@user:~$HandBrakeCLI -i /file/input.mp4 -o /file/out.mp4 -E fdk_faac -B 96k -6 stereo -R 44.1 -e x264 -q 27 -x cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all

Reason to use CLI over GTK has to do with lack of support for advanced settings for Handbrake GTK

** Don't Re-encode already shitty encodes...get good source!**

@sinanisler
sinanisler / gist:3c0afbf4c9f6f37503e6b9573549c06b
Created July 31, 2023 07:19 — forked from CasperKleinn/gist:4696930
HTML: XHTML Starting Template
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="nl">
<head>
<link href="favicon.ico" rel="icon" type="image/ico" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Page Title</title>
</head>
<body>
@sinanisler
sinanisler / water.css
Created June 2, 2023 11:30 — forked from AmmarYasserAllaithy/water.css
Pure CSS3 Water Wave Text Animation Effects Using CSS Clip-path
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #000015;
}
@sinanisler
sinanisler / heartbeat-api-demo.php
Created November 14, 2015 18:15 — forked from strangerstudios/heartbeat-api-demo.php
Minimal example demonstrating the WordPress Heartbeat API being added in WP version 3.6.
<?php
/*
Plugin Name: Heartbeat API Demo
Plugin URI: http://www.strangerstudios.com/wp/heartbeat-api-demo
Description: Minimal example demonstrating the WordPress Heartbeat API being added in WP version 3.6.
Version: .1
Author: strangerstudios
If logged in as a user and viewing the frontend of your website,
every 15 seconds you should see the following in your Javascript console: