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.
| #NoEnv | |
| #UseHook | |
| #Persistent | |
| #KeyHistory 0 | |
| #SingleInstance Force | |
| SetBatchLines, -1 | |
| SetKeyDelay, -1, -1 | |
| SendMode Input | |
| class AppConfig { |
| // ==UserScript== | |
| // @name KissManga Quick Enhancements | |
| // @author Manciuszz | |
| // @version 0.1 | |
| // @match *://kissmanga.com/Manga/*/* | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; |
| // ==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* |
| // ==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) { |
| // ==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* |
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.
| { // 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... | |
| } |
| #NoEnv | |
| ; #Warn | |
| #UseHook | |
| #MaxThreadsPerHotkey 2 | |
| #MaxHotkeysPerInterval 99000000 | |
| #HotkeyInterval 99000000 | |
| #KeyHistory 0 | |
| #Persistent | |
| #SingleInstance force | |
| ListLines Off |
| #NoEnv | |
| #SingleInstance force | |
| #InstallKeybdHook | |
| #KeyHistory 500 | |
| ListLines Off | |
| SetKeyDelay,-1, 1 | |
| SetControlDelay, -1 | |
| SetMouseDelay, -1 | |
| SetWinDelay,-1 |
| { | |
| let Module = (function() { | |
| let privateMethod1 = function() { | |
| console.log("FOO"); | |
| }; | |
| let privateMethod2 = function() { | |
| console.log("BAR"); | |
| }; |