Skip to content

Instantly share code, notes, and snippets.

View xMajedz's full-sized avatar
💭
I can't code help

Majed xMajedz

💭
I can't code help
View GitHub Profile
@xMajedz
xMajedz / newsboat_config
Last active January 8, 2019 17:26 — forked from anonymous/gist:42d2f5956e7bc8ee1ebc
moved to dotfiles
show-keymap-hint false
browser "/usr/bin/chromium"
html-renderer "/usr/bin/elinks -dump"
external-url-viewer "/usr/bin/urlview"
feedlist-format "%3n %t [%U / %c]"
articlelist-format "%4f %D %t"
feedlist-title-format "[%u / %t]"
articlelist-title-format "[%u / %t] - %T - %U"
@xMajedz
xMajedz / mpvhistory.lua
Last active November 12, 2018 15:04 — forked from garoto/mpvhistory.lua
Simple media logger Lua script for mpv
-- Not my code: originally from https://redd.it/3t6s7k (author deleted; failed to ask for permission).
-- Only tested on Windows. Date is set to dd/mmm/yy and time to machine-wide format.
-- Save as "mpvhistory.lua" in your mpv scripts dir. Log will be saved to mpv default config directory.
-- Make sure to leave a comment if you make any improvements/changes to the script!
-- Changed HISTFILE Path and Name
local HISTFILE = (os.getenv('APPDATA') or os.getenv('HOME')..'/.mpv')..'/history';
mp.register_event('file-loaded', function()
local title, logfile;