- spartan://072004.xyz
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
function Set-LuaVersion { | |
param( | |
[string]$Hererocks = "$HOME\Dev\Lua", | |
[switch]$Jit, | |
[Parameter(Mandatory=$true,Position=0)] | |
[string]$Version | |
) | |
$LuaVersion = $(if ($Jit) { "jit$Version" } else { $Version }) |
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
@ECHO OFF | |
SET GITHUB_URL=https://raw.githubusercontent.com/rxi/lite-plugins/master/plugins | |
SET PLUGIN_DIR=%ProgramFiles%\lite\data\plugins | |
SET /A DOWNLOAD_COUNT=0 | |
:main | |
FOR /F "tokens=*" %%A in (%USERPROFILE%\.lite_plugins) do ( | |
IF EXIST "%PLUGIN_DIR%\%%A.lua" ( |
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 (window.location.hostname === 'www.youtube.com') { | |
const adBlocker = setInterval(() => { | |
const ad = [...document.querySelectorAll('.ad-showing')][0]; | |
if (ad) { | |
document.querySelector('video').playbackRate = 10; | |
const btn = document.querySelector('.videoAdUiSkipButton,.ytp-ad-skip-button'); | |
if (btn) { | |
btn.click(); | |
} | |
} else { |
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
--- Run this script using a cronjob. I'm running this according to my elementary OS settings: | |
--- From 06:00 AM (light theme) to 09:00 PM (dark theme) Mexico City Timezone | |
exec = (command, ...) -> | |
io.popen "#{command} #{table.concat (table.pack ...), ' '}" | |
FLATHUB_APPS = {} | |
local COLOR_SCHEME | |
local THEME |