Skip to content

Instantly share code, notes, and snippets.

View fkromer's full-sized avatar
🙈
In stealth mode.

Florian Kromer fkromer

🙈
In stealth mode.
View GitHub Profile
@Lakritzator
Lakritzator / generic_host-vs-spring_boot.md
Last active August 19, 2023 16:46
A comparison between Javas Spring-Boot and the Generic Host of dotnet core

This is work in progress

I read about the .NET Generic Host for the first time in a Tweet of David Fowler. And I was hooked by the idea, it was just what I was looking for.

I like modules making things small but fit together like pieces of a puzzle, if possible being able to reuse them. I started refactoring Greenshot over a year ago, and was making modules out of the spaghetti code that it was. Trying to extract the modules into their own nuget packages, making them more generic and testable. I glued them together with some code I wrote, which is availble in Dapplo.Addons, but I knew that this was just a journey, until I found something that is a better with more potential.

I found the following description: _The purpose of Generic Host is to enable a wider array of host scenarios. Messaging, backg

@justlaputa
justlaputa / unstar-all-repos.md
Last active May 1, 2024 02:42
How to unstar all your github starred repos
@jaykang920
jaykang920 / SignalHandler.cs
Created May 25, 2018 09:20
.NET Core: handling signals in console app
using System;
// Tested on .NET Core 2.1
class Program
{
static void Main(string[] args)
{
Console.CancelKeyPress += OnSigInt;
AppDomain.CurrentDomain.ProcessExit += OnSigTerm;
@dmnsgn
dmnsgn / WebGL-WebGPU-frameworks-libraries.md
Last active May 23, 2024 18:57
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries ⚙️

Name Stars Last Commit Description
three.js ![GitHub
@ctesta01
ctesta01 / qsf_explanation.md
Last active May 15, 2024 15:24
How does a Qualtrics Survey File work?

Quickstart Guide to undertsanding the Qualtrics Survey File

This information is likely to quickly become outdated when Qualtrics next changes the formatting of the QSF file. This guide was started February 2017. I hope that it is a useful introduction to understanding the contents of the QSF file that one can download from Qualtrics.

This document includes:

@sanketsudake
sanketsudake / kubernetes-ubuntu-install.sh
Last active May 19, 2024 02:21
[Ubuntu Linux]Kubernetes Minikube Helm Installation
# Install virtualbox
sudo apt install virtualbox
# Install Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin
# Install Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.14.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
# Launch Minikube
minikube start
@gboeing
gboeing / pypi.md
Last active June 17, 2022 16:11
How to organize and distribution a package on pypi

To distribute a package on pypi

Directory structure

/project/
    /package/
        __init__.py
        module.py
 setup.py
@dwilkie
dwilkie / docker-cheat-sheat.md
Last active May 12, 2024 14:08
Docker Cheat Sheet

Build docker image

$ cd /path/to/Dockerfile
$ sudo docker build .

View running processes

@groundwater
groundwater / dependency-injection.cpp
Created July 26, 2016 06:45
c++ dependency injection via templates
#import <iostream>
// A simple container class for holding results
class Item {
using str = std::string;
private:
str _item;
public:
Item(str k): _item {k} {}
const str value() const {
@steverichey
steverichey / install_cuda.sh
Created June 15, 2016 16:24
CUDA ARM Setup (Ubuntu 14.04)
# install CUDA
sudo apt-get update
wget "http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.5-18_amd64.deb"
sudo dpkg -i cuda-repo-ubuntu1404_7.5-18_amd64.deb
sudo apt-get update
sudo apt-get install cuda -y
export PATH=/usr/local/cuda-7.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
# install MPI (optional, for some samples)