Skip to content

Instantly share code, notes, and snippets.

View illixion's full-sized avatar

Ixion illixion

View GitHub Profile
#!/usr/bin/python
# Finds any application that's stealing window focus and prints its name to the output
# Works on Windows 10/11
# Install requirements with: pip install win32gui
from win32gui import GetWindowText, GetForegroundWindow
import time
active_prev = ""
while True:
import win32con
import win32api
import win32gui
import time
import socket
from openrgb import OpenRGBClient
from openrgb.utils import DeviceType
# While port 6742 is open
while True:
@illixion
illixion / unsansify_google_search_results.js
Last active February 2, 2021 20:42
Removes Google Sans from the search results page
// ==UserScript==
// @name UnSansify Google Search
// @namespace http://catto.io/
// @version 1.1
// @description Remove Google Sans font from the search results page
// @author Manual
// @match www.google.com/*
// @match google.com/*
// @grant GM_addStyle
// ==/UserScript==
// ==UserScript==
// @name SS.com improver
// @description Makes ss.com bearable
// @match *://ss.com/*
// @match *://*.ss.com/*
// @match *://ss.lv/*
// @match *://*.ss.lv/*
// ==/UserScript==
function deleteElem(elem) {
# unlike.py
# Delete all likes from your Twitter account
# Requires a list of tweet IDs that you should be able to get from your Twitter data backup
from time import sleep
from timeit import default_timer as timer
import requests_oauthlib # install through pip
import pdb
import logging
import json
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>AutoMerge</key>
<true/>
@illixion
illixion / wallchillect.py
Last active July 5, 2019 11:53 — forked from freimanas/tweet_image_dumper.py
Downloads the most recent Archillect picture and sets it as a wallpaper. Get WallpaperChanger for Windows from: https://github.com/philhansen/WallpaperChanger/releases
#!/usr/bin/env python
# encoding: utf-8
# Downloads the most recent Archillect picture and sets it as a background.
# Get WallpaperChanger from: https://github.com/philhansen/WallpaperChanger/releases
import tweepy #https://github.com/tweepy/tweepy
import urllib.request
import sys
import subprocess