Skip to content

Instantly share code, notes, and snippets.

@dontdieych
dontdieych / gist:6463206e53fa33a15b90531c3fbe46ea
Created January 5, 2026 09:34
Asahilnux ALARM widevine pkg file list
widevine /etc/
widevine /etc/profile.d/
widevine /etc/profile.d/firefox_widevine.sh
widevine /opt/
widevine /opt/WidevineCdm/
widevine /opt/WidevineCdm/chromium/
widevine /opt/WidevineCdm/chromium/_platform_specific/
widevine /opt/WidevineCdm/chromium/_platform_specific/linux_arm64/
widevine /opt/WidevineCdm/chromium/_platform_specific/linux_arm64/libwidevinecdm.so
widevine /opt/WidevineCdm/chromium/_platform_specific/linux_x64/
@dontdieych
dontdieych / video_noob_guide.md
Created January 2, 2026 21:48 — forked from arch1t3cht/video_noob_guide.md
What you NEED to know before touching a video file

What you NEED to Know Before Touching a Video File

Hanging out in subtitling and video re-editing communities, I see my fair share of novice video editors and video encoders, and see plenty of them make the classic beginner mistakes when it comes to working with videos. A man can only read "Use Handbrake to convert your mkv to an mp4 :)" so many times before losing it, so I am writing this article to channel the resulting psychic damage into something productive.

If you are new to working with videos (or, let's face it, even if you aren't), please read through this guide to avoid making mistakes that can cost you lots of computing power, storage space, or video quality.

@dontdieych
dontdieych / add-aarch64-support.patch
Last active January 1, 2026 21:52
AUR qui-bin PKGBUILD: Add aarch64 support
diff --git a/PKGBUILD b/PKGBUILD
index f32773eefb..b978527874 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,41 @@
_pkgname=qui
pkgname="${_pkgname}-bin"
pkgver=1.11.0
-pkgrel=1
+pkgrel=2
@dontdieych
dontdieych / mkinitcpio.conf.diff
Last active December 31, 2025 08:16
diff -ruN /etc/mkinitcpio.conf /etc/mkinitcpio.conf.pacnew
--- /etc/mkinitcpio.conf 2025-08-18 15:21:28.158220697 +0900
+++ /etc/mkinitcpio.conf.pacnew 2025-12-23 21:24:08.000000000 +0900
@@ -1,4 +1,4 @@
-# vim:set ft=sh
+# vim:set ft=sh:
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
@@ -34,25 +34,25 @@
#
@dontdieych
dontdieych / fix-aarch64-build.diff
Created December 30, 2025 19:40
Fix AUR crush-bin pkg aarch64 build error
diff --git a/PKGBUILD b/PKGBUILD
index 5983135..1daf3b7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,15 @@ source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbrac
sha256sums_x86_64=('8497f7ed533e93ec27d478afeca33e1157faafb83c37ea2d5dbdaa2dee9abd1d')
package() {
- cd "${srcdir}/crush_${pkgver}_Linux_${CARCH}"
+ case "$CARCH" in
@dontdieych
dontdieych / install-error.txt
Created December 22, 2025 07:44
install-error
󰣇 a  ~/tmp   16:39 
 zsh --no-rcs
a-macbookair% curl -sL https://bit.ly/Fresh-Install | sh -s -- --zsh
/dev/fd/63: line 431: syntax error near unexpected token `fi'
/dev/fd/63: line 431: `fi'
Everything you asked is done. Enjoy your new setup!
a-macbookair% exit
󰣇 a  ~/tmp   16:40 
 zsh
@dontdieych
dontdieych / init.lua
Created December 22, 2025 07:20
MYVIMRC
-- vim:foldmethod=marker:sw=4:et
-- {{{ PLUGINS
-- [[ Install plugins ]]
-- Nvim functionality can be extended by installing external plugins.
-- One way to do it is with a built-in plugin manager. See `:h vim.pack`.
vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' })
vim.pack.add({ 'https://github.com/tpope/vim-rsi' })
vim.pack.add({ 'https://github.com/tiagovla/tokyodark.nvim' })
vim.pack.add({ 'https://github.com/folke/tokyonight.nvim' })
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
@dontdieych
dontdieych / acme-0.5x.hook
Created September 28, 2025 14:46 — forked from bjin/acme-0.5x.hook
simple 0.5x prescaler for mpv, best combined with "--cscale=bilinear --scaler-resizes-only --window-scale=0.5"
//!DESC acme-0.5x
//!HOOK LUMA
//!BIND HOOKED
//!WIDTH HOOKED.w 2 /
//!HEIGHT HOOKED.h 2 /
//!WHEN HOOKED.w 2 % ! HOOKED.h 2 % ! *
//!OFFSET 0.25 0.25
vec4 hook() {
return HOOKED_texOff(vec2(-0.25,-0.25));
}
@dontdieych
dontdieych / ex1.hs
Last active September 26, 2025 08:36 — forked from honki12345/ex1.hs
ex1
-- Q. 리스트가 빈 리스트([])인지, 또는 첫 번째 요소가 빈 리스트인지([[]], ['a','b']]와 같은)를 확인하는 표현식을 작성하세요.
-- hasOnlyOneElement t = null t || null (head t)
hasOnlyOneElement :: [[a]] -> Bool
hasOnlyOneElement [] = True
hasOnlyOneElement [[]] = True
hasOnlyOneElement _ = False
-- Q. 다른 리스트 안에 주어진 두 리스트를 연결하는 표현식을 작성하세요. 예를 들어, ["abc","de"]에 대해 "abcde"를 반환해야 합니다.
-- concatTwoElement t = head t ++ head (tail t)
concatTwoElement :: [[a]] -> [[a]] -> [a]
@dontdieych
dontdieych / Q soju, gamja, caddy config.md
Created September 23, 2025 17:27
Q soju, gamja, caddy config.md
$ y -Ql gamja

gamja /etc/
gamja /etc/webapps/
gamja /etc/webapps/gamja/
gamja /etc/webapps/gamja/config.json
gamja /usr/
gamja /usr/share/
gamja /usr/share/doc/