Skip to content

Instantly share code, notes, and snippets.

View kuntau's full-sized avatar
💭
I may be slow to respond.

Nizamuddin Sulieman kuntau

💭
I may be slow to respond.
View GitHub Profile
@kuntau
kuntau / yify.md
Last active February 14, 2024 19:30
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!**

@kuntau
kuntau / alpine.md
Last active November 18, 2023 22:27
Compile and install mosh error on Linux

Requirements:

sudo apk add autoconf
sudo apk add zlib-dev
sudo apk add openssl-dev
sudo apk add ncurses-dev
sudo apk add protobuf-dev

Autoconf

@kuntau
kuntau / unattended installation.md
Created May 14, 2014 20:12
Setup unattended installation for moving `USERS` and `AppData` folder on Windows 8

When creating a clean install, using the combination of an SSD system drive and a conventional disk drive, as a data drive, there is a way to "move" the Users folder (normally, C:\Users) and the hidden ProgramData folder (normally C:\ProgramData) to the conventional disk, or data drive, using an answer file, or unattend.xml, for an unattended installation, as mentioned above.

For an individual doing a single, one-off installation, trying to figure out how to create an answer file for a completely unattended installation, just to accomplish this one small task, is way, way too much trouble. It's also not necessary.

It is possible, during the course of a conventional, interactive installation from an installation disc or USB thumbdrive, to enter what is called, "Audit Mode", before the Computer is named or a Username created, and accomplish the necessary re-assignment.

1.) Do a conventional installation. If you are using an SSD, at the point in the installation process where you are asked where you want to

@kuntau
kuntau / setting.js
Last active March 9, 2022 04:45
SurfingKeys
// kuntau
// api.unmap('>>');
// api.unmap('<<'); // tab shifting
api.iunmap(":"); // disable emoji autocomplete
/// an example to create a new mapping `ctrl-y`
api.mapkey('<ctrl-y>', 'Show me the money', function() {
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});
@kuntau
kuntau / Package Control.sublime-settings
Last active February 7, 2022 05:10
My sublime text 3/4 setting
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"A File Icon",
"AutoHotkey",
"ayu",
@kuntau
kuntau / .neovintageousrc
Created February 7, 2022 02:37
NeoVintageous RC file
" Type :help nv for help.
" set ignorecase
set smartcase
set winaltkeys=menu
let mapleader=<Space>
nnoremap <leader><bar> <C-w><bar>
nnoremap <leader>= <C-w>=
nnoremap <leader>_ <C-w>_
░█████╗░░██████╗░█████╗░██╗██╗  ░█████╗░██████╗░████████╗░██████╗
██╔══██╗██╔════╝██╔══██╗██║██║  ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝
███████║╚█████╗░██║░░╚═╝██║██║  ███████║██████╔╝░░░██║░░░╚█████╗░
██╔══██║░╚═══██╗██║░░██╗██║██║  ██╔══██║██╔══██╗░░░██║░░░░╚═══██╗
██║░░██║██████╔╝╚█████╔╝██║██║  ██║░░██║██║░░██║░░░██║░░░██████╔╝
╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝╚═╝  ╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚═════╝░

Islamic

@kuntau
kuntau / bar-chart-div.js
Last active February 20, 2021 04:38
FCC: D3.js
<style>
.bar {
width: 25px;
height: 100px;
/* Add your code below this line */
/* Add your code above this line */
display: inline-block;
background-color: blue;
@kuntau
kuntau / color.css
Last active February 12, 2021 07:58
Github color variables
:root, [data-color-mode="dark"][data-dark-theme="light"], [data-color-mode="light"], [data-color-mode="light"][data-light-theme="light"] {
--color-scale-black: #1b1f23;
--color-scale-white: #fff;
--color-scale-gray-0: #fafbfc;
--color-scale-gray-1: #f6f8fa;
--color-scale-gray-2: #e1e4e8;
--color-scale-gray-3: #d1d5da;
--color-scale-gray-4: #959da5;
--color-scale-gray-5: #6a737d;
--color-scale-gray-6: #586069;
@kuntau
kuntau / kuntau.json
Created October 10, 2020 21:38
My Karabiner-Elements Config
{
"title": "Kuntau Left Ctrl Hyper Mods",
"rules": [
{
"description": "F20 : (HYPER) SHIFT+COMMAND+OPTION+CONTROL or ESCAPE (If Alone)",
"manipulators": [
{
"from": {
"key_code": "f20",
"modifiers": {