Skip to content

Instantly share code, notes, and snippets.

Avatar

MMWorks manciuszz

View GitHub Profile
@manciuszz
manciuszz / MSI GS70 Stealth Keyboard Temp Fix.ahk
Last active Feb 18, 2020
MSI GS70 Stealth Keyboard Temp Fix.ahk - These notebooks seem to have a really stupid design fault that damages the keyboard flex cable (Source: https://forum-en.msi.com/index.php?topic=180340.0). So, because I couldn't be arsed to fix the hardware - I went the software route. This AutoHotKey script will allow users to use those broken keys by c…
View MSI GS70 Stealth Keyboard Temp Fix.ahk
#NoEnv
#UseHook
#Persistent
#KeyHistory 0
#SingleInstance Force
SetBatchLines, -1
SetKeyDelay, -1, -1
SendMode Input
class AppConfig {
@manciuszz
manciuszz / kissMangaEnhancements.user.js
Last active Feb 21, 2019
Does not being able to read manga on KissManga.com just by using your keyboard bother you? Well this quick script will fix that by enabling to change chapters by using keyboard left and right arrow keys while enabling support for W/S scrolling for the left handed people.
View kissMangaEnhancements.user.js
// ==UserScript==
// @name KissManga Quick Enhancements
// @author Manciuszz
// @version 0.1
// @match *://kissmanga.com/Manga/*/*
// ==/UserScript==
(function() {
'use strict';
@manciuszz
manciuszz / horribleSeedrLinkr.js
Last active Jun 10, 2019
A script that allows to download HorribleSubs shows using Seedr.cc service just by clicking on Magnet/Torrent links.
View horribleSeedrLinkr.js
// ==UserScript==
// @name HorribleSubs to Seedr Linker
// @description A script that allows to download HorribleSubs shows using Seedr.cc service just by clicking on Magnet/Torrent links.
// @author Manciuszz
// @version 0.2
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.18.2/babel.js
// @require https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.16.0/polyfill.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js
// @match https://horriblesubs.info/shows/*
// @match https://www.seedr.cc/files*
@manciuszz
manciuszz / unloopTheTube.js
Last active Apr 24, 2019
Unloop The Tube. Tired of YouTube autoplay suggested videos being stuck on loop? Well look no further, because this neat little script will make sure that your next autoplay video will never be the same! (...literally)
View unloopTheTube.js
// ==UserScript==
// @name Unloop The Tube.
// @author Manciuszz
// @version 1.01
// @match https://www.youtube.com/*
// @grant unsafeWindow
// @updateURL https://gist.githubusercontent.com/manciuszz/eef680b89bfe04e6c293b88cb3b10d08/raw
// ==/UserScript==
(function(window) {
@manciuszz
manciuszz / webnovelFullSearch.js
Last active Jan 17, 2020
Webnovel.com - Preload and Sort search results without scrolling.
View webnovelFullSearch.js
// ==UserScript==
// @name WebNovel.com | Full Search
// @description Sort your search results by chapter descending order of chapter number.
// @author Manciuszz
// @version 0.906
// @match https://www.webnovel.com/category*
// @match https://www.webnovel.com/search*
// @match https://www.webnovel.com/tag*
// @match https://www.webnovel.com/ranking*
// @match https://www.webnovel.com/profile*
@manciuszz
manciuszz / Things I Learnt The Hard Way.md
Last active Oct 7, 2019
Things I Learnt The Hard Way (in 30 Years of Software Development) by Julio Biason
View Things I Learnt The Hard Way.md

Things I Learnt The Hard Way (in 30 Years of Software Development)

34 minute read
Published: 2019-06-10

This is a cynical, clinical collection of things I learnt in 30 years working with software development.

Again, some things are really cynical, others are long observations on different jobs.

Software Development

@manciuszz
manciuszz / asm_autoClicker.js
Last active Oct 1, 2019
Emscripten's WebAssembly games non-intrusive auto-clicker by hijacking "JSEvents" object event handlers via browser debugger.
View asm_autoClicker.js
{ // For copy/paste purpose...
/* Usually, in most emscripten games "JSEvents" interface is private, therefore we expose it to global scope by using debugger (i.e Developer Tools)... */
if (false) {
/* Note: unityWebView.game.Module could be named differently (based on a game), for example like "gameInstance.Module" etc.. */
// Copy this to the debugger and execute to stop at the breakpoint, where we will expose "JSEvents" to global scope.
debug(unityWebView.game.Module.SetFullscreen);
unityWebView.game.Module.SetFullscreen();
undebug(unityWebView.game.Module.SetFullscreen);
//window.JSEvents = JSEvents; // expose this...
}
@manciuszz
manciuszz / survivalMacros.ahk
Created Oct 20, 2019
Android mobile game "Survival Heroes" non-intrusive macros made wth AutoHotKey for Tencent's "Gameloop" emulator ran on 1280x720 resolution.
View survivalMacros.ahk
#NoEnv
; #Warn
#UseHook
#MaxThreadsPerHotkey 2
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
#Persistent
#SingleInstance force
ListLines Off
@manciuszz
manciuszz / Auto-Vote for Hong-Kong @ TIME
Last active Nov 16, 2019
A quick script that will automatically vote for Hong-Kong in Time’s Person of the Year election.
View Auto-Vote for Hong-Kong @ TIME
{
let enableVoting = !function() {
let voteNow = document.evaluate("//a[contains(., 'Vote Now')]", document, null, XPathResult.ANY_TYPE, null ).iterateNext();
if (voteNow)
voteNow.click();
}();
let removeLoginBox = !function() {
let loginBox = document.getElementById("login");
if (loginBox) {
@manciuszz
manciuszz / WindowHelper.ahk
Created Dec 12, 2019
An AutoHotKey script that allows fast window moving/resizing/minimizing/maximizing via mouse keys Mouse5/Mouse4/Wheeldown/WheelUp
View WindowHelper.ahk
#NoEnv
#SingleInstance force
#InstallKeybdHook
#KeyHistory 500
ListLines Off
SetKeyDelay,-1, 1
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1