Skip to content

Instantly share code, notes, and snippets.

@ivanpu
ivanpu / scanner.py
Last active June 1, 2024 08:03
Jar Infection Checker (python)
# Adapted by @ivanpu to Python from Overwolf's scanner, because I couldn't launch it
# Original code: https://github.com/overwolf/jar-infection-scanner/
# Check for updates to this script: https://gist.github.com/ivanpu/c5347bf107fa900ac79f1fcf2f056e7c
from __future__ import annotations
import zipfile
from argparse import ArgumentParser
from pathlib import Path
// ==UserScript==
// @name Old Reddit
// @namespace puntiy.net
// @match https://www.reddit.com/*
// @grant none
// @version 1.0
// @author Puntiy Ivan
// @description 11/7/2020, 1:15:15 PM
// ==/UserScript==
@ivanpu
ivanpu / git_for_intellij.bat
Last active May 31, 2024 20:04
Rewrite of https://gist.github.com/gcollic/f6f093ec3805979669d0bf744e22c72a in Python, because I've needed this in my employer-provided Windows machine.
@echo off
python %~dp0git_for_intellij.py %*
@ivanpu
ivanpu / .SRCINFO
Last active October 17, 2018 17:55
postman PKGBUILD
# Generated by mksrcinfo v8
# Wed Oct 17 17:54:29 UTC 2018
pkgbase = postman
pkgdesc = Build, test, and document your APIs faster
pkgver = 6.4.4
pkgrel = 1
url = https://www.getpostman.com
arch = x86_64
license = custom
depends = electron
@ivanpu
ivanpu / .SRCINFO
Last active October 19, 2016 03:42
A fix for 'atom-editor-bin' AUR package
# Generated by mksrcinfo v8
# Wed Oct 19 03:42:17 UTC 2016
pkgbase = atom-editor-bin
pkgdesc = Chrome-based text editor from Github - Precompiled binary from official repository
pkgver = 1.11.1
pkgrel = 1
url = https://github.com/atom/atom
install = atom-editor-bin.install
arch = x86_64
license = MIT
@ivanpu
ivanpu / update
Last active August 11, 2017 21:26
RuneScape repo update checker
#!/bin/bash
# Note: the following key must be added beforehand to your keyring:
# https://content.runescape.com/downloads/ubuntu/runescape.gpg.key
set -e
# settings - editable
dist=trusty
repo="https://content.runescape.com/downloads/ubuntu/dists/$dist"