Skip to content

Instantly share code, notes, and snippets.

View shakahl's full-sized avatar
:electron:

Soma Szelpal shakahl

:electron:
  • Platform whisperer @ Shakahl Ltd. • Made GitLab AutoDevOps work on GitHub • DevOps’d the hell out of DiNG • Metaverse pipelines @ nextearth.io • Used to scrub fraud on Jasmin at Docler
  • Budapest, Hungary
  • 03:15 (UTC +02:00)
  • LinkedIn in/somaszelpal
  • X @szelpalsoma
  • Facebook szelpalsoma
  • Instagram szelpalsoma
View GitHub Profile
@shakahl
shakahl / MacOS-Prune-Claude-Code-Data.md
Created September 11, 2026 10:06
Prune Claude Code Data on MacOS

Prune Claude Code Data

If by claude-code you mean Claude Desktop (/Applications/Claude.app) and its Code mode, you can reset it to essentially a first-run state without uninstalling the app. Current Claude Desktop uses bundle ID com.anthropic.claudefordesktop, and its Code/VM/session data lives primarily under ~/Library/Application Support/Claude/. ([GitHub][1])

Full local reset

Quit Claude first, then run:

osascript -e 'quit app "Claude"' 2>/dev/null || true
@shakahl
shakahl / llm-wiki.md
Created July 25, 2026 08:24 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@shakahl
shakahl / agent loop
Created April 2, 2026 16:56 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@shakahl
shakahl / beautifier.js
Created March 30, 2026 04:58 — forked from maliouris/beautifier.js
VS Code Laravel Blade formatter using extension Beautify 1.5.0 by HookyQR with js-beautify hacks
...
Beautifier.prototype.beautify = function() {
...
var source_text = this._source_text;
// BEGIN
source_text = source_text.replace(/\{\{(--)?((?:(?!(--)?\}\}).)+)(--)?\}\}/g, function(m, ds, c, dh, de) {
@shakahl
shakahl / tutorial.md
Created March 29, 2026 13:24 — forked from janoliver/tutorial.md
Arch Linux as a Web Server

In this tutorial, I briefly explain how to set up a webserver using nginx, openssl and uwsgi on Arch Linux. The tutorial is applicable to other Linux distributions and goes through the required configuration step by step. It is, I believe, beginner friendly.

0. Version

I updated, changed and tested the tutorial on Dec. 8th, 2013. All commands and configuration files relate to the software versions that are currently available in the Arch package repositories. Especially nginx and uwsgi change often and

@shakahl
shakahl / smooth-font.scss
Created November 7, 2025 01:12 — forked from Qoraiche/smooth-font.scss
use font-smoothing for a smooth font
@mixin text-rendring(){
text-rendering: optimizeLegibility !important;
-webkit-font-smoothing: antialiased !important;
}
body {
@include text-rendring();
}
@shakahl
shakahl / Check-Nahimic.ps1
Created October 2, 2025 12:28 — forked from sgeraldes/Check-Nahimic.ps1
Disable Nahinic Service
# Check Nahimic service status
$nahimicService = Get-Service -Name "Nahimic service" -ErrorAction SilentlyContinue
if ($nahimicService) {
if ($nahimicService.Status -eq "Running") {
Write-Host "Nahimic service is currently running." -ForegroundColor Yellow
Write-Host "Advice: If you're experiencing issues related to Nahimic or high CPU/RAM usage, consider stopping and disabling the service."
}
else {
Write-Host "Nahimic service is present but currently not running." -ForegroundColor Green
@shakahl
shakahl / parse-netstat.ps1
Created August 20, 2025 19:25 — forked from sdwheeler/parse-netstat.ps1
Example for parsing the output from netstat
function parseNetstat {
param([object[]]$Lines)
if ($IsWindows) {
$skip = 4
} else {
$skip = 3
}
$Lines | Select-Object -Skip $skip | ForEach-Object {
@shakahl
shakahl / base_test.ps1
Created August 13, 2025 14:35 — forked from Luiz-Monad/base_test.ps1
how-to-normalize-a-path-in-powershell
# Clear-Host
Import-Module Pester
# New-Item -ItemType Directory 'a/b' -Force -ErrorAction Ignore
# New-Item -ItemType Directory 'c' -Force -ErrorAction Ignore
# New-SmbShare -Name "Shared" -Path "./shared" -FullAccess "Everyone"
$ErrorActionPreference = 'Stop'
$PesterPreference = [PesterConfiguration]::Default
$PesterPreference.Output.StackTraceVerbosity = 'None'
@shakahl
shakahl / clients.md
Created July 25, 2025 14:32 — forked from defunkt/clients.md
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support