Skip to content

Instantly share code, notes, and snippets.

View Sultan-papagani's full-sized avatar

Berkay Efe Sultan-papagani

  • Vars Group
  • Turkey
View GitHub Profile
@Sultan-papagani
Sultan-papagani / main.js
Created November 28, 2025 20:32
Reddit Post Summarizer with Ollama & Model Dropdown (Tampermonkey)
// ==UserScript==
// @name Reddit Post Summarizer with Ollama & Model Dropdown
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Summarize Reddit posts with Ollama, select model from dropdown
// @match https://www.reddit.com/*
// @grant GM.xmlHttpRequest
// @connect 127.0.0.1
// @connect 127.0.0.1:11434
// ==/UserScript==
@Sultan-papagani
Sultan-papagani / gist:f1dfc771b491caf3ba1ed00397419f12
Created November 28, 2025 20:30
Google reddit sonuçlarını ingilizce linklere çevir (Tampermonkey ile)
// ==UserScript==
// @name Remove /?tl=tr from Reddit URLs and reload
// @namespace https://example.com/
// @version 1.1
// @description Automatically remove /?tl=tr from Reddit URLs and reload the clean version
// @match *://www.reddit.com/*
// @match *://reddit.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
@Sultan-papagani
Sultan-papagani / curseforge_modpack_downloader.py
Created August 9, 2024 10:52
Install curseforge mod packs with python
import json
from tkinter import filedialog
import shutil
import urllib.parse
import urllib.request
import os
def download(modId, fileId, fn):
@Sultan-papagani
Sultan-papagani / visualize.py
Created January 19, 2024 23:41
Visualize SDR++ Themes with Python Pygame
# Put this script on the same folder as .json theme files.
# for example: sdrpp_windows_x64\res\colormaps
# run .py and change themes with arrow keys -> <-
# Dependencies:
# pip install pillow
# pip install pygame
import json, pygame, os