Skip to content

Instantly share code, notes, and snippets.

View Sitin's full-sized avatar

Mykhailo Ziatin Sitin

  • Computational Arts Center
  • Kiev, Ukraine
View GitHub Profile
@Sitin
Sitin / README.md
Created March 10, 2024 02:28
Circular buffer of a constant size

NRingBuffer

A simple and efficient constant-size non-allocating ring buffer.

@Sitin
Sitin / Cross.toml
Last active November 17, 2023 09:51
`cross` is broken when running in `CROSS_REMOTE` mode
[build]
build-std = false
[target.aarch64-unknown-linux-gnu]
build-std = false
[target.x86_64-unknown-linux-gnu]
build-std = false
@Sitin
Sitin / os-x.report
Created June 24, 2023 18:56
Broken pyGLFW library version check
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Python [81293]
Path: /opt/homebrew/*/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python
Identifier: org.python.python
Version: 3.11.4 (3.11.4)
Code Type: ARM-64 (Native)
Parent Process: Python [81287]
@Sitin
Sitin / #gz-garden: broken libraries 2023-06-10.md
Last active June 10, 2023 07:27
`gz-garden`: broken libraries 2023-06-10

Broken libraries for gz-garden

Errors while running gz sim -s and gz sim -g.

Workaround

ln -s /opt/homebrew/Cellar/gz-sim7/7.5.0_1/lib /opt/homebrew/Cellar/gz-sim7/7.5.0_1/lib/gz-sim-7/lib
@Sitin
Sitin / # gz-common5 - 2023-06-10_08-35-21.txt
Created June 10, 2023 05:35
gz-common5 (osrf/simulation/gz-common5) on macOS 13.2 - Homebrew build logs
Homebrew build logs for osrf/simulation/gz-common5 on macOS 13.2
Build date: 2023-06-10 08:35:21
@Sitin
Sitin / # gazebo11 - 2023-02-19_11-51-31.txt
Created February 19, 2023 09:52
gazebo11 (osrf/simulation/gazebo11) on macOS 13.2 - Homebrew build logs
Homebrew build logs for osrf/simulation/gazebo11 on macOS 13.2
Build date: 2023-02-19 11:51:31
@Sitin
Sitin / # sdformat9 - 2023-02-18_01-50-32.txt
Created February 17, 2023 23:51
sdformat9 (osrf/simulation/sdformat9) on macOS 13.2 - Homebrew build logs
Homebrew build logs for osrf/simulation/sdformat9 on macOS 13.2
Build date: 2023-02-18 01:50:32
@Sitin
Sitin / get-envoy-binary.sh
Last active October 1, 2022 09:47
Get Envoy binary
#!/usr/bin/env bash
set -e
if [ "$#" -ne 3 ]; then
echo "Illegal number of parameters!"
echo "Usage:"
echo " ./get-envoy-binary.sh <version> <container engine: podman | docker> <out directory>"
exit 1
fi
@Sitin
Sitin / keybase.md
Created June 30, 2022 09:57
Find me on keybase.io

Keybase proof

I hereby claim:

  • I am sitin on github.
  • I am sitin (https://keybase.io/sitin) on keybase.
  • I have a public key ASBdHKYvUU-UqZZYsRgl7qxj0KvTCV9JDl7onc9mPgdE1Ao

To claim this, I am signing this object:

@Sitin
Sitin / setup.sh
Last active March 7, 2024 17:10
Run x86-64 Docker images on Raspberry Pi 4 (QEMU/QUS)
# Setup QEMU for x86-64 Docker images on Raspberry Pi 4
# Install Python3 and Docker first: https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl
# Install QUEMU (https://www.qemu.org/)
sudo apt-get install qemu binfmt-support qemu-user-static
# Use QUS in Docker (https://github.com/dbhi/qus) to configure x86_64 architecture
docker run --rm --privileged aptman/qus -s -- -p x86_64
# Test x86-64 image: