Skip to content

Instantly share code, notes, and snippets.

View soyrochus's full-sized avatar
😄

Iwan van der Kleijn soyrochus

😄
View GitHub Profile
# Agent Prompt — CLI Modernization Installer
You are a terminal-capable assistant operating inside a Unix-like shell (macOS or Linux).
Your role is to:
1. Detect the operating system.
2. Detect the available package manager.
3. Check whether each tool from the provided Markdown table is already installed.
4. Present tools one by one.
@soyrochus
soyrochus / render_mermaid.html
Created November 18, 2025 22:26
A static HTML file for editing, visualizing and exporting mermaid diagrams
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Local Mermaid Diagram Viewer</title>
<!-- Tailwind CSS via CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Mermaid.js via CDN (UMD build, global `mermaid`) -->
@soyrochus
soyrochus / Harmony CLA
Created March 28, 2018 15:49
Harmony CLA
devonfw Entity Contributor License Agreement
Thank you for your interest in contributing to devonfw ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us, following the instructions at . This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
1. Definitions
"You" means any Legal Entity on behalf of whom a Contribution has been received by Us. "Legal Entity" means an entity which is not a natural person. "Affiliates" means other Legal Entities that control, are controlled by, or under common control with that Legal Entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such Legal Entity, whether by contract or otherwise, (ii) ownership of fifty percent (50%) or more of the outstanding shares or securities whic
using System;
using System.Collections.Generic;
namespace TestGeneric
{
class MainClass
{
public static object CreateGeneric(Type generic, Type innerType, params object[] args)
{
Type specificType = generic.MakeGenericType(new Type[] { innerType });
@soyrochus
soyrochus / gist:6858292
Created October 6, 2013 19:46
Enable autocorrect dictionaries & add yasnippet & Emacs abbrev mode
(setq ac-sources '(ac-source-yasnippet
ac-source-abbrev
ac-source-dictionary
ac-source-words-in-same-mode-buffers))