(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#items { overflow: hidden !important; } | |
*:not(.yt-chat-badge):not(.yt-emoji-icon) { background: transparent !important; } | |
.gaming-promo, #live-comments-controls, ::-webkit-scrollbar, wbr, .is-deleted, [is-deleted], #panel-pages, yt-live-chat-header-renderer { display: none !important; } | |
#author-name, #message { color: white !important; text-shadow: -0.5px -0.5px 0 black, 0.5px -0.5px 0 black, -0.5px 0.5px 0 black, 0.5px 0.5px 0 black !important; } | |
#message { display: block !important; } | |
#author-name::after { content: ":"; font-weight: 900; } | |
#message a {color: skyblue !important; font-size: 0 !important; line-height: 9px !important;} | |
#message a::after { content: attr(href); font-size: 10px !important; } | |
@keyframes chat-fade { 0% { opacity: 1; position: relative; } 99% { opacity: 0; position: relative; } 100% { opacity: 0; position: absolute; }} | |
yt-live-chat-text-message-renderer { animation: chat-fade 5s 30s forwards; } |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Web Notifications</title> | |
</head> | |
<body> | |
<button onclick="test();">Send Web Notification</button> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
cd src/main
mkdir jni
#!/bin/bash | |
URL=$1 | |
# function: guide | |
guide () { | |
echo "Youtube URL is required." | |
} | |
# function: download audio and convert to mp3 | |
download_and_convert() { |
adb forward tcp:4444 localabstract:/adb-hub | |
adb connect localhost:4444 |