Skip to content

Instantly share code, notes, and snippets.

View mvolfik's full-sized avatar
🐧
*penguin noises*

Matěj Volf mvolfik

🐧
*penguin noises*
View GitHub Profile
@mvolfik
mvolfik / pdf_brochure.py
Last active January 24, 2021 18:33
Reorder pages of a PDF to allow printing as a brochure
import sys, subprocess, tempfile, os.path, warnings
A4 = (595, 842)
source = sys.argv[1]
target = sys.argv[2]
pages = None
page_size = None
// ==UserScript==
// @name Canvas tweaks
// @namespace https://mvolfik.github.io/
// @version 0.4
// @description Try to take over the world!
// @author matjey
// @match http://i.protab.cz/mazec/live/
// @downloadURL https://gist.githubusercontent.com/mvolfik/bc928b6334edcca9f3049eb9941ea324/raw/canvas_upgrade.user.js
// @grant GM_addStyle
// @grant unsafeWindow
// ==UserScript==
// @name Kahoot hotkeys
// @namespace mvolfik.github.io
// @version 0.2
// @description take over the world!
// @author mvolfik
// @match https://kahoot.it/v2/*
// ==/UserScript==
(function() {
@mvolfik
mvolfik / updates.vbs
Created December 7, 2018 11:17
Make computer look updating
Dim objShell, strPath1, strAttr1
Set objShell = CreateObject ("WScript.Shell")
strPath1 = """C:\Program Files (x86)\Mozilla Firefox\firefox.exe"""
strAttr1 = "-P default geekprank.com/win10-update/"
objShell.Run strPath1 & strAttr1
WScript.sleep 1500
objshell.sendkeys "{F11}"