Skip to content

Instantly share code, notes, and snippets.

View yfyf's full-sized avatar

Ignas Vyšniauskas yfyf

View GitHub Profile
@yfyf
yfyf / export_pose_graph.py
Last active December 20, 2022 07:19 — forked from mjcarroll/export_pose_graph.py
Cartographer Pose Graph
#!/usr/bin/env python3
# Adapted from:
#
# https://gist.github.com/mjcarroll/f620ef8d88efc3a03711259d6fc9a578
#
# Original gist fixed to work with latest version of cartographer:
#
# [~/sensmetry/slam/cartographer:master]λ git describe --always
# bcd5486
@yfyf
yfyf / abt.hs
Last active August 29, 2015 14:21 — forked from pchiusano/abt.hs
-- A port of: http://semantic-domain.blogspot.com/2015/03/abstract-binding-trees.html
{-# LANGUAGE DeriveFunctor #-}
module ABT where
import qualified Data.Foldable as Foldable
import Data.Foldable (Foldable)
import Data.Set (Set)
import qualified Data.Set as Set
@yfyf
yfyf / beam.rst
Last active August 29, 2015 14:15 — forked from kuenishi/beam.rst

BEAM

assemble

$ erlc -S test.erl
@yfyf
yfyf / ccalc.c
Last active December 23, 2015 12:59 — forked from motiejus/calc.c
A pointless, but epic C vs Haskell battle!
/*
* Byte calculator. Sums bytes of a given file and displays to screen.
*
* Compile:
* gcc ccalc.c -o ccalc -O2
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>