Skip to content

Instantly share code, notes, and snippets.

View Cube707's full-sized avatar

Jan Wille Cube707

View GitHub Profile
@Cube707
Cube707 / argparser.cmd
Last active November 24, 2025 11:36
Windows CMD batch file argumetn parser
@echo off
setlocal EnableDelayedExpansion
title %~nx0% %*
rem here is space for global variables,
rem for example, if options require default values, you define them here
@Cube707
Cube707 / install-docker.md
Last active November 21, 2025 12:50
How to install native docker on windows

Why?

You can of course just install Docker Desktop, but there are situation where you don't want / can't use it.

So its good to know that you actually don't need to and can isntead intall only the docker binaries. The only drawback is that it only allows you to use Windows images with now option to switch to linux based images.

The easy option: Installing via winget

As of docker-cli >= v24.0.2 you can also install via the winget tool. That makes it significantly easier, but gives you less contoll. So I am leaving the rest up here.

@Cube707
Cube707 / cheatsheet.md
Last active December 22, 2024 08:34
GiHub Markdown cheatsheet

A GitHub Markdown Cheatsheet

This show usable Markdown features on GitHub as a side by side comparison. This focuses on Markdown files, while most of also works in comments etc., there are some differences, so keep that in mind.

Table of Contents

Headings
Line Breaks
Inline text formatting
Links

@Cube707
Cube707 / keepass.php
Last active July 28, 2022 13:00
a PHP endpoint to handle KeePass files over https
<?php
/**
* KeePass HTTP Handler
*
* Allows you to use KeePass https://keepass.info/ and
* derivations thereof (keepass2android, etc.)
* with databases on your remote server over HTTP(S).
*
* Theoretically optional, but I recomend you configure BasicAuth on your web server and add a user for yourself.