Skip to content

Instantly share code, notes, and snippets.

@Delnegend
Delnegend / adblock-filter
Last active Dec 26, 2021
My Adblock List
View adblock-filter
! Version: 1.0
! Description: Delnegend's Personal ADB
! Title: Delnegend List
! Checksum: mBetAzB41nYVjjYh89UjHg
@@||calendar.google.com^$important,document
@@||photos.google.com^$important,document
@@||getlink.tienichmaytinh.net^$important,document
@@||www.fosshub.com^$important,document
@@||itrum.org^$important,document
@@||outlook.live.com^$important,document
@Delnegend
Delnegend / facebook.scss
Last active Apr 4, 2021
Transparent theme
View facebook.scss
// $transparent-bg-shade: rgba(255,255,255,0.4);
$transparent-bg-shade: rgba(0,0,0,0.4);
$blur-intensity: 4px;
/* nav and options boxes */
div#mount_0_0 div[class="kr520xx4 j9ispegn poy2od1o n7fi1qx3 tkr6xdv7"],
div[class="cwj9ozl2 ue3kfks5 pw54ja7n uo3d90p7 l82x9zwi nwpbqux9 rq0escxv jgsskzai ni8dbmo4 stjgntxs"]
/* search popup */
div[class="ll8tlv6m j83agx80 taijpn5t hzruof5a"] div[class="bjjx79mm jbae33se"],
View FFMPEG MP4 to HLS Conversion.md

Direct copy of pre-encoded file:

$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8

@Delnegend
Delnegend / README.md
Created Jul 7, 2019 — forked from denilsonsa/README.md
Embed VTT subtitles into HTML
View README.md

Objective

I have a video file on my local disk. I also have some subtitles (in HTML5's [WebVTT][] format).

I want to create an HTML file to play that video with subtitles, all from the local filesystem.

Problem

Loading an external VTT file from the local filesystem [fails due to same-origin policy][q].