Skip to content

Instantly share code, notes, and snippets.

View doudou's full-sized avatar

Sylvain Joyeux doudou

View GitHub Profile
@doudou
doudou / omniorb4-clean-log.service
Created December 14, 2020 20:38
Auto-clean the omniNames log before it starts
# Install this content in /lib/systemd/system/omniorb4-clean-log.service
# (Make sure it is owned and writable only by root !)
#
# Then run
# systemctl daemon-reload
# systemctl restart omniorb4-nameserver
[Unit]
Description=Cleanup omniorb log before starting it
Before=omniorb4-nameserver.service
@doudou
doudou / 65-focal.yml
Last active December 14, 2020 17:18
- pkg_set:github:/rock-core/package_set.git:
branch: qt4_focal
- gui/vizkit3d:
branch: focal
- gui/vizkit3d_world:
branch: opencv4
@doudou
doudou / .clang-format
Created May 15, 2020 15:10
initial clang-format for rock
---
Language: Cpp
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
ColumnLimit: 90
IndentWidth: 4
NamespaceIndentation: All
@doudou
doudou / vscode-minimal-buildconf.sh
Created April 24, 2020 15:30
Shell script to create the bare minimal Autoproj workspace to debug some vscode tasks issues
#! /bin/sh -ex
sudo apt-get install build-essential ruby ruby-dev wget
wget https://rock-robotics.org/autoproj_bootstrap
cat <<SEED > seed-config.yml
ruby_executable: "/usr/bin/ruby2.5"
separate_prefixes: true
osdeps_mode: all
apt_dpkg_update: true
deep-cover -o deep_cover \
--main test/test_plan.rb \
--no-bundle \
-c "ruby -Ilib -Itest -rminitest/autorun test/test_plan.rb"
@doudou
doudou / Failure
Last active March 9, 2022 23:42
Failing jenkins pipeline
Started by user admin
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during class generation: 296
java.lang.ArrayIndexOutOfBoundsException: 296
at org.codehaus.groovy.classgen.asm.CallSiteWriter.getCreateArraySignature(CallSiteWriter.java:58)
at org.codehaus.groovy.classgen.asm.CallSiteWriter.makeCallSite(CallSiteWriter.java:317)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCachedCall(InvocationWriter.java:307)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:397)
at org.codehaus.groovy.classgen.asm.InvocationWriter.makeCall(InvocationWriter.java:104)
@doudou
doudou / rake-out_of_date-benchmark.rb
Created October 5, 2017 13:53
Benchmark of Rake::FileTask#out_of_date? for https://github.com/ruby/rake/pull/224
# This attempts to reproduce the performance regression caused by #183
#
# We basically go wide with a bottleneck file and then go wide again. This
# causes the "downstream" part (after the bottleneck) to be queried over and
# over again with #183
require 'rake'
MAX_SIZE = 100
MAX_SIZE.times do |i|
@doudou
doudou / autoprojrc_automatic_split_of_prefix_and_build.rb
Created July 25, 2017 13:15
automatic setup of prefix and build dir in ~/.autoprojrc
# This code automatically splits prefix and build folders
# to match the directory layout under a root dev directory
#
# It is meant to be added in ~/.autoprojrc
#
# The autoproj bootstrap under #{dev_dir}/vanilla/rock-core
# will have its prefix in
# #{build_dir}/vanilla/rock-core/install
#
# and each package will have its build directory in
@doudou
doudou / 04-syskit-full-async.yml
Last active December 12, 2016 16:35
04-syskit-full-async.yml
- tools/syskit:
branch: syskit2-full-async
- tools/roby:
branch: roby3-full-async
- tools/metaruby:
branch: syskit2-full-async
- orogen:
branch: syskit2-full-async
- tools/orocos.rb:
branch: syskit2-full-async
@doudou
doudou / keybase.md
Created July 27, 2016 12:47
keybase.md

Keybase proof

I hereby claim:

  • I am doudou on github.
  • I am sylvainjoyeux (https://keybase.io/sylvainjoyeux) on keybase.
  • I have a public key whose fingerprint is 7BD9 47B0 FDA5 354F 7AF2 979C 49F2 257A 208D 50B9

To claim this, I am signing this object: