Skip to content

Instantly share code, notes, and snippets.

View tuuzdu's full-sized avatar

Ivan Biriuk tuuzdu

View GitHub Profile
0x7fb4af715fbfb2148f96b16c6a9df67a79e65b83
@tuuzdu
tuuzdu / CMakeLists.txt
Created June 25, 2018 15:51
de_example
cmake_minimum_required(VERSION 2.8.3)
project(de_example)
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
@tuuzdu
tuuzdu / ROS catkin
Last active November 11, 2018 21:27
Nix
AIRA development cheatsheet
Status of the system
Journals
journalctl -u ipfs -f
journalctl -u parity -f
journalctl -u lighthouse -f
IPFS peers
ipfs pubsub peers airalab.lighthouse.0.robonomics.eth
Lighthouse logs
tail -f /var/lib/lighthouse/.ros/log/latest/lighthouse-lighthouse-6.log
@tuuzdu
tuuzdu / hamachi.nix
Last active June 21, 2020 10:31
Nix hamachi aarch64
{ stdenv, fetchurl }:
with stdenv.lib;
let
arch =
if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
else if stdenv.hostPlatform.system == "aarch64-linux" then "armhf"
else throwSystem;
@tuuzdu
tuuzdu / armbian
Created December 17, 2018 10:52
rock64
usb_modeswitch -v 12d1 -p 1f01 -M '55534243123456780000000000000011062000000101000100000000000000'