Skip to content

Instantly share code, notes, and snippets.

View KebabLord's full-sized avatar

Junicchi KebabLord

View GitHub Profile
@KebabLord
KebabLord / youtube-ad-accelerator.user.js
Last active August 6, 2025 15:25
Fast forward youtube ads to skip them in 0.5 second
// ==UserScript==
// @name YouTube Ads Accelerator
// @namespace https://youtube.com/
// @version 1.1
// @author Kebablord
// @description Speed up YouTube ads by 200x when they appear
// @match https://www.youtube.com/*
// @grant none
// @run-at document-end
// @updateURL https://gist.githubusercontent.com/KebabLord/0cd4b0391fba147869fbdac10fc31621/raw/youtube-ad-accelerator.user.js
@KebabLord
KebabLord / 24h_compare.pine
Last active January 6, 2025 19:17
24 Hour Comparative Plot for TradingView
// Plot's -24 hours' plot by @Kebablord
// Lack's future / lookahead data feature tho. Dunno how to do it.
// Used @Hermetism's Multi Coin Compare code as base, so some credits also goes to @Violent and @HomelessLemon
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
//@version=5
indicator(title='[H] Compare', shorttitle='[H] Compare', overlay=true)
t = input.bool(true, title='Show Table', group='Table', tooltip='Show the table')
tablePositionY = input.string('top', title='Y-Position', options=['top', 'middle', 'bottom'], group="Table", inline="1")
@KebabLord
KebabLord / crybro.sh
Last active October 23, 2024 02:49
Script to mount & umount encrypted image to android filesystem
#!/data/data/com.termux/files/usr/bin/bash
# Script to mount & umount encrypted image to android filesystem
#
# You can install the dependencies by:
# pkg install root-repo # Enables the root-repository
# pkg install tsu cryptsetup mount-utils util-linux
#
# You have to create an empty container before using this script
# sudo dd if=/dev/zero of=/path/to/your/file.img bs=1M count=4096
# OR:
@KebabLord
KebabLord / cs2_triggerbot_linux.py
Last active September 4, 2024 00:00
CS2 Triggerbot for Linux
"""
CS2 Triggerbot for linux by Github/KebabLord
Usage:
$ pip install pynput keyboard
$ sudo python3 trigger.py
*Hold capslock to enable triggerbot*
Note:
If script fails to run, you probably need to update memory offsets:
@KebabLord
KebabLord / mac-randomizer
Last active August 6, 2025 15:35
Run macchanger on boot init script. The original auto spawn doesn't work since it's nearly 10 years old. Should work on all debian based systems, since it's a SysV style init script. Tested on devuan+openrc . Can be easily strict-chained with NM. Requires iw package to obtain interface.
#! /bin/sh
#
# Randomize computer's MAC address on boot before the network-manager service.
# Using with Kebablord/macchanger-ng is adviced since
# original repo didn't receive any PR for nearly 10 years.
# Script also exits safely on any fail so you can safely chain it with
# network-manager updating Required-Start parameter from NM's init script.
# This gist is created for educational purposes only.
#
# No Copyright (c) 2023 Kebablord Corporation.
@KebabLord
KebabLord / proxy_server.ps1
Last active January 5, 2023 02:57
Use Apache as a forward http proxy server as a squid alternative for Windows with a basic username & password authentication. Don't use squidNT since it's not properly maintained and is literally ran under an emulator which is slow. Don't pay for http proxy servers, apache is free and faster. This script downloads and completely configures apach…
# This script downloads Apache Web Server and configures it to work as a forward http proxy server with basic authentication.
# In order to run this script you need to enable powershell scripting by opening the cmd as administrator,
# and running this command: powershell Set-ExecutionPolicy RemoteSigned
# After that just right click to this file and click to "Run With Powershell"
# WebProxy runs on port 80, tested on windows 11.
# Check VCRedist current version
$OS= if ( ${env:ProgramFiles(x86)} ) {"\WOW6432Node"} else {"\"}
$vcredist = Get-ItemProperty -Path "HKLM:\SOFTWARE$OS\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" -ErrorAction SilentlyContinue -ErrorVariable eVcRedist
if ($eVcRedist -Or ($vcredist.Bld -le 24215) ) {
@KebabLord
KebabLord / reddit_vid.py
Created February 22, 2021 10:47
Download reddit videos with sound without ffmpeg. Simply abuse reddit video downloader sites to get media url of video with sound.
""" Use reddit video downloader sites to get
URL of video with sound which they generated
"""
from re import findall
from requests import get
def reddit_vid(url):
""" Returns URL of video with sound. """
response = get("https://lew.la/reddit/")
@KebabLord
KebabLord / kripto.py
Last active February 1, 2021 21:40
tl cinsinden anlık kripto para birimleri ve yüzdelikleri i3block bloğu
#!/usr/bin/env python3
"""
[kripto]
label=
markup=pango
interval=60
instance=BTC
"""
@KebabLord
KebabLord / smart-tv.sh
Last active November 28, 2023 14:04
Simple shell script to control Vestel MB211 TV from terminal. Should work on all MBxxx models.
#!/bin/bash
#Get IP address of tv from searching port 56789
if [ -a /tmp/toshiba_ip ];then
tv_ip="$(cat /tmp/toshiba_ip)"
else
tv_ip="$(nmap 192.168.1.0/24 -sT -np56789 --open -oG - | awk '/Up$/{print $2}' | tee /tmp/toshiba_ip)"
fi
#Function to send specified command key code
@KebabLord
KebabLord / kali-dmenu.sh
Last active January 7, 2023 07:10
kali tool launcher dmenu. Created for my kali-i3wm build: https://github.com/kebablord/kali-i3wm
#!/bin/bash
dmenu_="dmenu -b -l 20 -fn terminus"
menu=$(jq -r 'keys_unsorted[]' menu.json | $dmenu_ )
[ -v "$menu" ] && exit
cmd=$(jq -r ".[\"${menu}\"] | keys_unsorted[]" menu.json | $dmenu_)
[ -v "$cmd" ] && exit
run=$(jq -r ".[\"${menu}\"][\"${cmd}\"]" menu.json)