Skip to content

Instantly share code, notes, and snippets.

View imLinguin's full-sized avatar

Paweł Lidwin imLinguin

View GitHub Profile
@imLinguin
imLinguin / gog_giveaway_hook.py
Last active March 30, 2024 14:25
Discord webhook pulling latest GOG giveaway and pushing the embed message about it
#!/usr/bin/env python3
import requests
import datetime
from math import floor
import json
import os
WEBHOOK_URL = ""
@imLinguin
imLinguin / linux_installer_parser.py
Last active September 6, 2023 13:02
Demo showcasing a way to parse Linux native installer without access to whole file
# MIT LICENSE
# Copyright © 2023 Paweł Lidwin
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software
# and associated documentation files (the “Software”), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@imLinguin
imLinguin / bottles-wine.sh
Created May 29, 2022 14:22
Wrapper script to use Bottles like wine binary in tools like Legendary.
#!/bin/sh
if [ -z $HGL_BOTTLE_NAME ]; then
echo "NO HGL_BOTTLE_NAME?"
exit 1
fi
if [ $# -eq 0 ]; then
echo "NO EXE?"
exit 1