Skip to content

Instantly share code, notes, and snippets.

@sirop
sirop / cheryy_pick.txt
Created May 11, 2021 08:58
Cherry-picking commits from unoffical etherlab
cd ethercat_official
git remote add ethercat_unofficial https://github.com/ribalda/ethercat.git
git fetch ethercat_unofficial
git cherry-pick 81d4d6a..cb94053
git remote rm ethercat_unofficial
./bootstrap
./configure --prefix=/usr/local/etherlab --disable-8139too --enable-e1000e --disable-generic --enable-cycles --enable-hrtimer --enable-regalias --enable-sii-assign
@sirop
sirop / boost-regex_build-x64-windows-rel-out.log
Created May 6, 2020 11:02
vcpkg boost-regex build with VC 2015
notice: found boost-build.jam at D:/freeopcua/vcpkg/installed/x64-windows/tools/boost-build/boost-build.jam
notice: loading Boost.Build from D:/freeopcua/vcpkg/installed/x64-windows/tools/boost-build/src/kernel
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
D:\freeopcua\vcpkg\buildtrees\boost-regex\x64-windows-rel\user-config.jam
notice: Searching 'D:\freeopcua\vcpkg\buildtrees\boost-regex\x64-windows-rel' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from 'D:/freeopcua/vcpkg/buildtrees/boost-regex/x64-windows-rel'.
notice: [msvc-cfg] msvc-14.0 detected, command: 'D:\Microsoft Visual Studio 14.0\VC\bin\cl.exe'
notice: [msvc-cfg] msvc-12.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe'
@sirop
sirop / desktop_enty_AppImage
Created August 12, 2019 18:52
desktop_enty_AppImage
[Desktop Entry]
Categories=Qt;Utility;
Comment[en_US]=TestHal remote UI client based on QtQuickVcp
Comment=TestHal remote UI client based on QtQuickVcp
#Encoding=UTF-8
Exec=TestHal
GenericName[en_US]=Machinekit Remote User Interfaces
GenericName=Machinekit Remote User Interfaces
Icon=TestHal
#MimeType=
@sirop
sirop / openrave_inst2.txt
Created March 13, 2019 18:05
openrave install 2
71 git clone --branch production https://github.com/rdiankov/openrave.git
72 cd openrave/
73 git branch
74 cmake --help
75 mkdir build
76 cd build/
77 cmake --help
78 cd ..
79 cmake ----help-variable-list
80 cmake --help-variable-list
@sirop
sirop / openrave_inst.txt
Created March 13, 2019 17:24
openrave install
1 more films
2 sudo apt-get install cmake g++ git ipython minizip python-dev python-numpy python-scipy qt5-dev-tools
3 su -
4 sudo apt-get install cmake g++ git ipython minizip python-dev python-numpy python-scipy qt5-dev-tools
5 su -
6 sudo apt-get install cmake g++ git ipython minizip python-dev python-numpy python-scipy qt5-dev-tools
7 sudo apt-cache search qt5
8 sudo apt-cache search qt5 | grep 'tools'
9 sudo apt-get install cmake g++ git ipython minizip python-dev python-numpy python-scipy qt5-default
10 sudo apt-get install zlib-bin
@sirop
sirop / ssecheck.cpp
Created February 1, 2018 17:32 — forked from hi2p-perim/ssecheck.cpp
Check SSE/AVX instruction support.
/*
Check SSE/AVX support.
This application can detect the instruction support of
SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4a, SSE5, and AVX.
*/
#include <iostream>
#ifdef _MSC_VER
#include <intrin.h>
#endif
@sirop
sirop / CMakeCache.txt
Created January 3, 2018 09:49
CMakeCache.txt for open62541, RELEASE version, simple UA config
# This is the CMakeCache file.
# For build in directory: d:/QtProjects/open62541/Build
# It was generated by CMake: D:/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
@sirop
sirop / lcec_ realtime.mk
Created September 18, 2017 15:17
lcec realtime.mk
include ../config.mk
include Kbuild
.PHONY: all install .so
EXTRA_CFLAGS := $(RTFLAGS) \
-D__MODULE__ \
$(call cc-option,-mieee-fp) \
$(KERNEL_MATH_CFLAGS)
@sirop
sirop / Urho3D-Offroad-Vehicle.log
Created August 5, 2017 13:33
Lumak/Urho3D-Offroad-Vehicle with Urho3D master errors
Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Fehler C2248 "Urho3D::RigidBody::AddBodyToWorld": Kein Zugriff auf private Member, dessen Deklaration in der Urho3D::RigidBody-Klasse erfolgte. 63_OffroadVehicle D:\Urho3D\Source\Samples\63_OffroadVehicle\RaycastVehicle.cpp 77
Fehler C2039 "getLocalAabbMin": Ist kein Element von "btCompoundShape" 63_OffroadVehicle D:\Urho3D\Source\Samples\63_OffroadVehicle\RaycastVehicle.cpp 212
Fehler C2530 "minAabb": Verweise müssen initialisiert werden 63_OffroadVehicle D:\Urho3D\Source\Samples\63_OffroadVehicle\RaycastVehicle.cpp 212
Fehler C2039 "getLocalAabbMax": Ist kein Element von "btCompoundShape" 63_OffroadVehicle D:\Urho3D\Source\Samples\63_OffroadVehicle\RaycastVehicle.cpp 213
Fehler C2530 "maxAabb": Verweise müssen initialisiert werden 63_OffroadVehicle D:\Urho3D\Source\Samples\63_OffroadVehicle\RaycastVehicle.cpp 213
Fehler C2039 "getLocalAabbMin": Ist kein Element von "btCompoundShape" 63_OffroadVehicle D:\Urho3D\Source\Samples\63_Off
@sirop
sirop / PktUART_1inst.pin
Created May 17, 2017 12:11
PktUART 1 instance
library IEEE;
use IEEE.std_logic_1164.all; -- defines std_logic types
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
-- As used at Mike's place
-- Copyright (C) 2007, Peter C. Wallace, Mesa Electronics
-- http://www.mesanet.com
--