Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Mateusz Łoskot mloskot

🏠
Working from home
View GitHub Profile
@mloskot
mloskot / run-swdt-master-windows-native.log
Last active April 29, 2023 13:12
Test run of https://github.com/kubernetes-sigs/sig-windows-dev-tools/pull/266 with current default settings.yaml in master-windows-native branch
View run-swdt-master-windows-native.log
$▶ mage | tee.exe x.log
Running dependency: main.Config.Settings
Running dependency: Fetch
[swdt-mage] --- Begin of configuration from settings.yaml ------------
calico:
calico_version: 3.25.0
kubernetes:
kubernetes_build_from_source: false
kubernetes_version: "1.26"
network:
@mloskot
mloskot / mage-run-swdt-with-custom-boxes.log
Last active April 27, 2023 10:09
master-nowsl: initial run with mage and custom updated vagrant boxes
View mage-run-swdt-with-custom-boxes.log
$ mage | tee mage.log
Running dependency: Fetch
Running dependency: startup
2023/04/27 06:56:05 main.go:71: [swdt] Setting environment variable VAGRANT_VARIABLES=variables.local.yaml
2023/04/27 06:56:05 fetch.go:35: [swdt] Downloading manifest https://storage.googleapis.com/k8s-release-dev/ci/latest-1.27.txt
Running dependency: Run
2023/04/27 06:56:06 fetch.go:41: [swdt] Downloading binaries of Kubernetes v1.27.1-13+6494bc61297cd0
Running dependency: checkVagrant
2023/04/27 06:56:06 fetch.go:50: [swdt] Downloading sync\linux\bin\kubeadm from https://storage.googleapis.com/k8s-release-dev/ci/v1.27.1-13+6494bc61297cd0/bin/linux/amd64/kubeadm
2023/04/27 06:56:06 fetch.go:55: [swdt] File exists. Skipping.
View github-workflow-upgrade-cluster-flux.yaml
---
name: 'upgrade-cluster-flux'
on:
schedule:
# Every Monday at 3 AM UTC
- cron: "0 3 * * 1"
workflow_dispatch:
inputs:
environment:
@mloskot
mloskot / boost-gil-changelog-develop-vs-master-for-boost-1_80.md
Last active May 12, 2022 07:51
Boost.GIL changes that will be merged from current develop into master for release with Boost 1.80
View boost-gil-changelog-develop-vs-master-for-boost-1_80.md

Discussion:

git log origin/master..origin/develop --pretty=format:"1. [%h](http://github.com/boostorg/gil/commit/%H) - %s"

| # | Date | Hash | Subject |

@mloskot
mloskot / test_sqlserver_cast_bit_bug_report.cpp
Created April 15, 2020 19:57
Conversion with CAST(? AS BIT) only works for 0 or 1 when using ODBC API. 22003: [Microsoft][ODBC Driver 17 for SQL Server]Numeric value out of rang
View test_sqlserver_cast_bit_bug_report.cpp
// MWE for bug report submitted to SQL Server:
// https://feedback.azure.com/forums/908035-sql-server/suggestions/40180918-conversion-with-cast-as-bit-only-works-for-0-or
#include <cassert>
#include <cstdint>
#include <iostream>
#include <string>
#include <vector>
#define NOMINMAX
#include <windows.h>
#include <sql.h>
@mloskot
mloskot / incredibuild-non-benchmark.md
Last active November 26, 2019 13:41
IncrediBuild non-Benchmark
View incredibuild-non-benchmark.md

Running BuildConsole.exe of IncrediBuild 9.4 to build a large project using Visual Studio 2017:

  • Machine 1: Intel Xeon E-2670v3 with 24 physical cores
  • Machine 2: Intel Xeon Gold 6230 with 40 physical cores
  • RAM 64 GB on both
  • HDD: SSD on both

The source code tree git clean-ed, IncrediBuild history and cache cleaned and machine restarted before every build.

  1. Machine 1 with IB on 16 cores of 48 logical cores (Hyper-Threading enabled)
@mloskot
mloskot / boost-1-72-gil-changelog.md
Created October 29, 2019 23:17
Boost.GIL changes between Boost 1.71 and 1.72
View boost-1-72-gil-changelog.md
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
View boost-gil-with-cmake-for-vs.md
@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
View soci-4.0.0-github-changelog.md

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 April 27, 2022 16:37
Building GEOS with CMake and Visual Studio on Windows
View build-geos-with-cmake-vs2019.md

Building GEOS with CMake and Visual Studio 2019 on Windows

Learn about CMake drivers

  • cmake to configure and build