Skip to content

Instantly share code, notes, and snippets.

View tallguyjenks's full-sized avatar
🌱
Growing useful code

Bryan Jenks tallguyjenks

🌱
Growing useful code
View GitHub Profile
@johnnydecimal
johnnydecimal / cjdfunction.sh
Created September 7, 2018 00:49
Bash function to jump to any Johnny.Decimal folder
# https://johnnydecimal.com
cjdfunction() {
pushd ~/Dropbox/*/*/${1}* # ~/Dropbox is my root folder, change to suit yours.
}
export cjdfunction
alias cjd='cjdfunction' # Or any other alias you prefer.
@glasslion
glasslion / vtt2text.py
Last active April 30, 2024 12:54
This script convert youtube subtitle file(vtt) to plain text.
"""
Convert YouTube subtitles(vtt) to human readable text.
Download only subtitles from YouTube with youtube-dl:
youtube-dl --skip-download --convert-subs vtt <video_url>
Note that default subtitle format provided by YouTube is ass, which is hard
to process with simple regex. Luckily youtube-dl can convert ass to vtt, which
is easier to process.
@ChrisK91
ChrisK91 / View HTML source with JavaScript and CSS styles.py
Created February 17, 2018 16:15
Reupload of the "View HTML source with JavaScript and CSS styles" add on for anki
# -*- mode: Python ; coding: utf-8 -*-
# • View HTML source with JavaScript and CSS styles
# https://ankiweb.net/shared/info/1128123950
# https://github.com/ankitest/anki-musthave-addons-by-ankitest
# License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html
# Copyright (c) 2016 Dmitry Mikheev, http://finpapa.ucoz.net/
#
# Menu Cards - View Source code Body Alt+F3
# shows HTML source with JavaScript and CSS styles
# but without jQuery Menu Cards
@rxaviers
rxaviers / gist:7360908
Last active May 4, 2024 17:52
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: