Skip to content

Instantly share code, notes, and snippets.

View drolevar's full-sized avatar

Andrij Abyzov drolevar

  • Onesubsea Processing AS
  • Bergen, Norway
View GitHub Profile
version: 1
debconf-selections: |
grub-pc grub-efi/cloud_style_installation boolean false
interactive-sections: ["*"]
#!/bin/sh
# Check if hostname is provided
if [ -z "$1" ]; then
echo "Usage: $0 <hostname>"
exit 1
fi
# Extract the hostname to look for
hostname=$1
@drolevar
drolevar / WinCE_vs80_toolchain.cmake
Created November 9, 2021 10:32
WinCE 5.0 CMake toolchain for compiling with VS2005
# Set Windows CE version
set(CMAKE_VS_WINCE_VERSION "5.00")
message(STATUS "Using toolchain file: ${CMAKE_TOOLCHAIN_FILE}")
# Make SDK_NAME variable a parameter to the toolchain
set(SDK_NAME "Undefined" CACHE STRING "Windows CE SDK name")
if(SDK_NAME STREQUAL "Undefined")
if (DEFINED ENV{SDK_NAME})

Keybase proof

I hereby claim:

  • I am drolevar on github.
  • I am abyzov (https://keybase.io/abyzov) on keybase.
  • I have a public key ASCDVsZzPA0ikOXWOro4dk3P8DcW9KAXvkqcjblDjNgSCAo

To claim this, I am signing this object:

@drolevar
drolevar / Matrix.h
Created October 9, 2019 14:23
vector-based matrix (rough concept)
//
// Created by Andrij Abyzov on 09.10.2019.
//
#ifndef MATRIX_H
#define MATRIX_H
#include <cstddef>
#include <utility>
#include <vector>