Skip to content

Instantly share code, notes, and snippets.

View mloskot's full-sized avatar
🏠
Working from home

Mateusz Łoskot mloskot

🏠
Working from home
View GitHub Profile
@mloskot
mloskot / boost-1-72-gil-changelog.md
Created October 29, 2019 23:17
Boost.GIL changes between Boost 1.71 and 1.72
git log boost-1.71.0..master --pretty=format:"1. [%h](http://github.com/boostorg/gil/commi t/%H) - %s" > boost-1-72-gil-changelog.md
  1. e8a04f403 - Merge branch 'develop' for Boost 1.72 release.
  2. 62379dd5b - Implement Sobel and Scharr operators (#392)
  3. 20f511b7d - Flatten structure of test/extension/io/output/ folder (#400)
  4. 29208c730 - Fix void istream_device::read function returning a value (#399)
  5. 100762760 - Add GIL_ENABLE_EXT_DYNAMIC_IMAGE to CMakeSettings.json example [ci skip]
  6. 146d81bb7 - Update exte
@mloskot
mloskot / boost-gil-with-cmake-for-vs.md
Last active October 23, 2019 18:32
Generate VS solution with CMake 3.14 for Boost.GIL using staged Boost
@mloskot
mloskot / soci-4.0.0-github-changelog.md
Last active March 23, 2022 18:39
Changes in SOCI 4.0.0 since 3.2.3

Changes in SOCI 4.0.0 since 3.2.3 using git log 3.2.3..master --pretty=format:"1. [%h](http://github.com/soci/soci/commit/%H) - %s"

  1. f8f97fb - Disable use of std::ptr_fun when compiling as C++17 (#751)
  2. 04e1870 - Fix crash in Windows by correctly initializing session member in copy constructor (#739)
  3. 9d0caa1 - Use 64-bit integer for next sequence and last insert ID values (#720)
  4. 349ce86 - Refine try-catch scopes in failover for PostgreSQL (#733)
  5. a47fd69 - Add pg reconnection loop (#731)
  6. 64e917c - Add finished call in pg failo
@mloskot
mloskot / build-geos-with-cmake-vs2019.md
Last active August 17, 2023 13:51
Building GEOS with CMake and Visual Studio on Windows

Building GEOS with CMake and Visual Studio 2019 on Windows

Learn about CMake drivers

  • cmake to configure and build
@mloskot
mloskot / git_lfs_calculate_size_by_type.py
Last active April 12, 2024 10:57
Count Git LFS objects and their sizes, total and per file type
#!/usr/bin/env python
# Counts Git LFS objects and per file type, and calculates total sizes.
import os
import sys
import tempfile
print('Collecting sizes of Git LFS objects')
tmp_file = os.path.join(os.getcwd(), 'tmp_sizes.tx')
os.system('git lfs ls-files --long --size > {0}'.format(tmp_file))
@mloskot
mloskot / Add-CMakeToolbar.ps1
Last active April 11, 2018 08:02
PowerShell script to add toolbar with CMake commands to Visual Studio 2017
<#
.SYNOPSIS
Adds toolbar with CMake commands to Visual Studio 2017.
Workaround for "No toolbar or shortcuts for CMake integration", see
https://developercommunity.visualstudio.com/content/problem/199214/no-toolbar-or-shortcuts-for-cmake-integration.html
.DESCRIPTION
Visual Studio 2017 comes with integration for CMake,
with commands available from the dedicated top-level CMake menu.
@mloskot
mloskot / BashOnWindows.md
Last active September 26, 2018 09:33
BashOnWindows for C/C++ development
@mloskot
mloskot / theraband_flexbar_tyler_twist.markdown
Last active May 31, 2019 21:01
TheraBand FlexBar "Tyler Twist" for Tennis/Golfer's Elbow
@mloskot
mloskot / Scapular-Hanging-Progressions.md
Created June 30, 2016 10:20
Scapular Hanging Progressions by Dewey Nielsen
@mloskot
mloskot / pdal_build_incredibuild_vs_msbuild.md
Last active February 18, 2016 17:24
Timing PDAL build using VS2015 and IncrediBuild vs MSBuild

PDAL parallel builds on Windows

Quick wall clock comparison of PDAL parallel builds using MSBuild and IncrediBuild.

TL;TR

Build (cores) t(s)
MS (48) 44
MS (32) 44