Skip to content

Instantly share code, notes, and snippets.

View dtlnor's full-sized avatar
👋

dtlnor dtlnor

👋
View GitHub Profile
@CoolOppo
CoolOppo / optimal-video-to-gif-imagemagick.md
Last active November 7, 2023 15:24
Converting videos to GIFs optimally using ImageMagick

ImageMagick Video to GIF Optimization Summary

A software developer who uses IM to create Movie GIFs, Benoit Rouleau, in discussion with me, gave me a AVI video of a plane flying over, to help us mutually explore IM video conversion techniques.

However while the AVI itself is quite small, the uncompressed video is a

@dogancelik
dogancelik / ansi-utf8-conversion.md
Last active May 14, 2024 04:09
ANSI / UTF-8 (with or without BOM) conversion #Windows

Using Uni2Me

  • It's free but discontinued.

Using UTFCast

  • Proprietary software
  • Allows conversion from ANSI to UTF-8 with or without BOM

Using Notepad++

@AgentOak
AgentOak / youtube_formats.md
Last active June 11, 2024 18:46
Youtube Format IDs

Last updated: April 2021

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

Resolution AV1 HFR High AV1 HFR AV1 VP9.2 HDR HFR VP9 HFR VP9 H.264 HFR H.264
MP4 MP4 MP4 WebM WebM WebM MP4 MP4
@Sg4Dylan
Sg4Dylan / viewer_image_0.1.8_2018-02-09.js
Last active March 25, 2024 00:18
bookwalker.com.tw online reader DRM
This file has been truncated, but you can view the full file.
/**
Open Source Software Licenses
PUBLUS
Copyright(c) 2013-2014 ACCESS CO., LTD. All rights reserved.
This software includes all or part of the following open source software which is available under each license terms and conditions as follows:
* Backbone.js 0.9.2
(c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
#!/bin/sh
# This script will be executed after commit in placed in .git/hooks/post-commit
# Semantic Versioning 2.0.0 guideline
#
# Given a version number MAJOR.MINOR.PATCH, increment the:
# MAJOR version when you make incompatible API changes,
# MINOR version when you add functionality in a backwards-compatible manner, and
# PATCH version when you make backwards-compatible bug fixes.
@dogtopus
dogtopus / csrotau.py
Created December 12, 2018 20:37
CSR OTAU binary parser
#!/usr/bin/env python3
# CSR OTAU binary parser
# https://developer.qualcomm.com/qfile/34081/csr102x_otau_overview.pdf
# For use with test and demonstration only. This is obviously not official and
# is not affiliated with Qualcomm.
import io
import os
import sys
@WolframRhodium
WolframRhodium / Usage.md
Last active August 27, 2023 16:31
WaDIQaM calculator for VapourSynth

Official implementation based on Chainer (requires CUDA)

from vapoursynth import core
import chainer
# chainer.global_config.cudnn_deterministic = False

from vs_wadiqam_chainer import wadiqam_fr, wadiqam_nr


model_folder_path = "deepIQA-master\models" # path to the folder that contains model's parameter files
@groundcat
groundcat / Block_Baidu_Input_HOSTS.txt
Last active June 4, 2024 06:48
屏蔽搜狗/百度输入法后台联网
#<block-baidu>
127.0.0.1 olime.baidu.com
127.0.0.1 dr-ime.baidu.com
127.0.0.1 updateime.baidu.com
127.0.0.1 tips.ime.baidu.com
127.0.0.1 typing.bae.baidu.com
127.0.0.1 pcinput.baidu.com
#</block-baidu>
@zeriyu
zeriyu / fansub-guides.md
Last active February 12, 2024 02:58 — forked from YukinoAi/FansubbingAndEncoding.GuidesIndex.markdown
FansubbingAndEncoding.GuidesIndex.markdown