Skip to content

Instantly share code, notes, and snippets.

Avatar

Matej Kenda matejk

  • Tolmin, Slovenia
View GitHub Profile
@matejk
matejk / svg2icns.sh
Created Aug 21, 2019 — forked from adriansr/svg2icns.sh
Convert SVG file to macOS icon (icns) format
View svg2icns.sh
#!/bin/sh -x
set -e
SIZES="
16,16x16
32,16x16@2x
32,32x32
64,32x32@2x
128,128x128
@matejk
matejk / poco-mongodb-mt.cpp
Created Jun 9, 2015
Poco::MongoDB connection pool and multithreading
View poco-mongodb-mt.cpp
#include <iostream>
#include <memory>
#include <thread>
#include <mutex>
#include <Poco/UUIDGenerator.h>
#include <Poco/MongoDB/PoolableConnectionFactory.h>
#include <Poco/MongoDB/Connection.h>
#include <Poco/MongoDB/Database.h>
You can’t perform that action at this time.