Problem After finding myself sometimes needing a map of maps, and as I couldn’t find one in existing libs (like […]
Tag: collections
Add/Remove items thread-safely in List
Problem Recently I had to lock collections (of type List<T>) when items were added or removed. Because several collections were […]
Module for building swing tables
Problem I have a module that builds swing tables based on an Object[][], then I have another module that queries […]
User and group management access to main class
Problem UserGroup is not the main class. I don’t really mind putting these classes in a class as they are […]
Pulling Docker Machine IP
Problem I am working with MongoDB through Docker, and I have a terrible bash command to pull the Docker Machine […]
Implementing [ ] operator
Problem I have implemented the “[ ]” operator in a class that I have created to return values associated with […]
Thread-safe LRU Dictionary in C#
Problem Can’t seem to find one, so trying to build a very simple but fast implementation. Thought I would post […]
C smart string implementation using preprocessor
Problem I have wrote a smart string container implementation for use in my application, but as I’am not such professional […]
Dependency Container
Problem I’m currently creating my own microframework for learning purpose and I want to make it more powerful by providing […]
Ordered dictionary in swift 2
Problem Loosely basing myself on this blog post, I implemented an ordered dictionary. In essence, it’s a wrapper struct for […]