Skip to content

Instantly share code, notes, and snippets.

View artob's full-sized avatar
⌨️
Coding

Arto Bendiken artob

⌨️
Coding
View GitHub Profile
@artob
artob / mqueue.asd
Created July 14, 2013 17:21
POSIX message queues for Common Lisp.
;; This is free and unencumbered software released into the public domain.
(asdf:defsystem :mqueue
:name "mqueue"
:description "POSIX message queues for Common Lisp."
:version "0.0.0"
:author "Arto Bendiken <[email protected]>"
:depends-on (:cffi)
:serial t
:components ((:file "mqueue")))
@artob
artob / net-edit.pl
Last active October 10, 2015 21:24 — forked from morsik/net-edit.pl
#!/usr/bin/perl -w
# Author: Konrad "morsik" Mosoń <[email protected]>
# linked here: http://wiki.libvirt.org/page/Networking#Applying_modifications_to_the_network
use strict;
use warnings;
my $net = $ARGV[0];
@artob
artob / readme.txt
Created June 19, 2015 20:27
On age-related muscle loss
From "Practical Programming for Strength Training" [1] by Mark
Rippetoe, one of the foremost authorities in the field:
8<
As humans advance beyond middle-age, some significant changes
generally occur. Sarcopenia (loss of muscle cells), increased body
fat, performance loss, and reduced flexibility are common effects of
aging. This is largely because the average adult has a greatly reduced
activity level and becomes increasingly sedentary, which leads to a
# First, installed Go as per notes at <http://ar.to/notes/go>:
$ sudo port install go
$ export GOROOT=/opt/local/lib/go
$ export GOPATH=/tmp/go
$ go get -u -v github.com/mutecomm/mute/cmd/mutegenerate
github.com/mutecomm/mute (download)
github.com/mutecomm/mute/util/git
github.com/mutecomm/mute/def/version
github.com/mutecomm/mute/cmd/mutegenerate
@artob
artob / inria-41005S02-toc.txt
Created February 8, 2016 15:58
INRIA Mobile Robots and Autonomous Vehicles MOOC
Mobile Robots and Autonomous Vehicles
by INRIA, via the FUN MOOC platform
https://www.france-universite-numerique-mooc.fr/courses/inria/41005S02/session02/about
Introduction
Course presentation
Guide: Learning Platform
Guide: Discussion Forums
@artob
artob / keybase.md
Created November 22, 2017 08:08
Keybase proof

Keybase proof

I hereby claim:

  • I am bendiken on github.
  • I am arto (https://keybase.io/arto) on keybase.
  • I have a public key ASDW_JOyPv-7KuEMEibpz6oMFx_qmlyEZBDkVyjCBJK-3Ao

To claim this, I am signing this object:

@artob
artob / keybase.md
Created October 31, 2018 22:00
keybase.md

Keybase proof

I hereby claim:

  • I am artob on github.
  • I am arto (https://keybase.io/arto) on keybase.
  • I have a public key ASDW_JOyPv-7KuEMEibpz6oMFx_qmlyEZBDkVyjCBJK-3Ao

To claim this, I am signing this object:

@artob
artob / exp10.cpp
Last active February 20, 2020 13:38
int pins[] = {11, 10, 9, 8, 7, 6, 5, 4};
void setup() {
for (int i = 0; i < 7; i++) {
pinMode(pins[i], OUTPUT);
}
}
int number = 0;
#include <cstdio> // for printf()
#include <unistd.h> // for sleep()
int number = 0;
void setNumber() {
printf("%d\n", number);
}
void loop() {
@artob
artob / counter.bin
Created October 27, 2020 16:52
clarc counter.clar -t bytecode
600060005560648060106000396000f360e060020a6000350480638ada066e146028578063d09de08a1460365780632baeceb714604d57005b5060005460005260206000f3005b5060016000540160005560005460005260206000f3005b5060016000540360005560005460005260206000f300