This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local tweet, map, appendparam, encode | |
local Twitterer = setmetatable({tweet=tweet}, {__call = function(t, params) return tweet(params) end}) | |
tweet = function(params) | |
text = params[1] or params.text or nil | |
url = params[2] or params.url or nil | |
via = params[3] or params.via or nil | |
hashtags = params[4] or params.hashtags or nil | |
related = params[5] or params.related or nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if false then -- For LuaDoc | |
--- | |
-- Pure Lua implementation of bitwise operations. | |
-- Not suitable for time critical code. Intended as fallback | |
-- for cases where a native implementation is unavailable. | |
-- Further optimization may be possible. | |
-- @version 0.1 | |
-- @author kaeza <https://github.com/kaeza> | |
module "bitty" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Original Author: https://github.com/Leandros | |
Updated Author: https://github.com/jakebesworth | |
MIT License | |
Copyright (c) 2018 Jake Besworth | |
Original Gist: https://gist.github.com/Leandros/98624b9b9d9d26df18c4 | |
Love.run 11.X: https://love2d.org/wiki/love.run | |
Original Article, 4th algorithm: https://gafferongames.com/post/fix_your_timestep/ | |
Forum Discussion: https://love2d.org/forums/viewtopic.php?f=3&t=85166&start=10 |