Skip to content

Instantly share code, notes, and snippets.

View sokripon's full-sized avatar

sokripon sokripon

  • Germany
  • 07:52 (UTC +01:00)
View GitHub Profile
@glennmatlin
glennmatlin / claude_code_hooks_for_uv.md
Last active December 19, 2025 03:53
Claude Code hooks for working with `uv`

Claude Code Hooks for working with uv

by Glenn Matlin / glennmatlin on all socials

Installation

  1. Download and copy all files in this gist to ~/.claude/
  2. Move the .py files to ~/.claude/hooks
  3. Restart Claude Code.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 21, 2025 06:23
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@sokripon
sokripon / ideolog.md
Last active March 2, 2022 12:31
Ideolog pycharm python loguru

Simple Ideolog settings to work with the python loguru library

Sadly there is no convenient way to import/export Ideolog settings, so I will just have images and regexes in here.

How it looks

View

Image of the settings

pycharm settings logformat details

Details

Message pattern: (\d+-\d+-\d+\s\d+:\d+:\d+\.\d+)\s+\|\s+(\w+)\s+\|\s+((\w+):([<>\w]+:\d+))\s+-\s+(.*)$

@mbodo
mbodo / Linux - Systemd cheatsheet.md
Last active June 1, 2025 21:27
Systemd cheatsheet

Linux - Systemd cheatsheet

systemctl

Activates a service immediately:

systemctl start foo.service

Deactivates a service immediately: