This file contains hidden or 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
| /** | |
| * https://github.com/cvzi/telegram-bot-cloudflare | |
| */ | |
| const TOKEN = ENV_BOT_TOKEN // Get it from @BotFather https://core.telegram.org/bots#6-botfather | |
| const WEBHOOK = '/endpoint' | |
| const SECRET = ENV_BOT_SECRET // A-Z, a-z, 0-9, _ and - | |
| const UA = 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0' |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # | |
| # Download a Chrome extension from the webstore. | |
| # Extract it to a specified path. | |
| # | |
| # Author: Werner Robitza | |
| set -e | |
| CHROME_VERSION="101.0.4951.57" |
This file contains hidden or 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
| /* | |
| * Global Media Controls Panel | |
| * Written by Tam710562 | |
| */ | |
| (function () { | |
| 'use strict'; | |
| const gnoh = { | |
| createElement: function (tagName, attribute, parent, inner, options) { |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Abema 区域限制 | |
| // @version 1.0.0 | |
| // @run-at document-end | |
| // @namespace Violentmonkey Scripts | |
| // @match https://abema.tv/* | |
| // @grant none | |
| // ==/UserScript== | |
| Object.defineProperty(__CLIENT_REGION__, 'isAllowed', { | |
| get: () => true |
This file contains hidden or 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
| #!/bin/env bash | |
| sudo snap remove firefox | |
| sudo add-apt-repository ppa:mozillateam/ppa | |
| echo ' | |
| Package: * | |
| Pin: release o=LP-PPA-mozillateam | |
| Pin-Priority: 1001 | |
| ' | sudo tee /etc/apt/preferences.d/mozilla-firefox |
This file contains hidden or 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
| # This is intended to be copied and pasted to a console, not executed as a script... for now. | |
| # Install some stuff, I use yay, you may use something else | |
| sudo pacman -S keepassxc rclone curl | |
| mkdir -p ~/.local/bin | |
| mkdir -p ~/.local/lib/private | |
| chmod 0700 ~/.local/lib/private | |
| # CREATE YOUR KEEPASSXC BASE IN ~/.local/lib/private/ |
This file contains hidden or 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
| ################################################################# | |
| # = This script transfers bash history to zsh history | |
| # = Change bash and zsh history files, if you don't use defaults | |
| # | |
| # = Usage: ruby bash_to_zsh_history.rb | |
| # | |
| # = Author: Ankit Goyal | |
| ################################################################# | |
| # change if you don't use default values |