This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Software License Agreement (BSD) | |
# | |
# Author Mike Purvis <[email protected]> | |
# Corrected by Fuzzy Logic Robotics, Inc., All rights reserved. | |
# Copyright (c) 2014-2016, Clearpath Robotics, Inc., All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that | |
# the following conditions are met: | |
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.1) | |
project(xml2 C) | |
set(xml2_dir ${PROJECT_SOURCE_DIR}/libxml2-2.9.8) | |
file(GLOB srcs ${xml2_dir}/*.c) | |
list(FILTER srcs EXCLUDE REGEX "/(run|test|trio)[^/]*$") | |
list(FILTER srcs EXCLUDE REGEX "xml(lint|catalog).c$") | |
# Generate xmlexports with fixed definition of LIBXML_STATIC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Copyright 2020 Antoine HOARAU <antoine [at] flr.io> | |
# | |
# CMake script for finding the XENOMAI 2 native or XENOMAI 3 alchemy/posix/rtdm skin. | |
# If the optional XENOMAI_ROOT_DIR environment variable exists, header files and | |
# libraries will be searched in the XENOMAI_ROOT_DIR/include and XENOMAI_ROOT_DIR/lib | |
# directories, respectively. Otherwise the default CMake search process will be | |
# used. | |
# | |
# This script creates the following variables for each skin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example xorg.conf.d snippet that assigns the touchpad driver | |
# to all touchpads. See xorg.conf.d(5) for more information on | |
# InputClass. | |
# DO NOT EDIT THIS FILE, your distribution will likely overwrite | |
# it when updating. Copy (and rename) this file into | |
# /etc/X11/xorg.conf.d first. | |
# Additional options may be added in the form of | |
# Option "OptionName" "value" | |
# | |
Section "InputClass" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
brew install cmake | |
brew tap ros/deps | |
brew tap osrf/simulation | |
brew tap homebrew/versions | |
brew tap homebrew/science |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAKEFLAGS="CC=distcc" BUILD_TIME="/usr/bin/time" CONCURRENCY_LEVEL=$(distcc -j) make-kpkg --rootcmd fakeroot --initrd kernel_image kernel_headers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://rubular.com/r/EQVeNwKZKu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y wireshark | |
sudo dpkg-reconfigure wireshark-common # answer yes | |
sudo groupadd wireshark | |
sudo usermod -a -G wireshark $USER | |
sudo chgrp wireshark /usr/bin/dumpcap | |
sudo chmod 750 /usr/bin/dumpcap | |
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap | |
sudo getcap /usr/bin/dumpcap | |
sudo reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the user to the xenomai group : | |
```bash | |
user -a -G xenomai student | |
``` | |
Remove sudo passwd for rtnet operations : | |
``` | |
sudo visudo | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install --reinstall libopenni-dev \ | |
libopenni-nite-dev \ | |
libopenni-sensor-primesense-dev \ | |
libopenni-sensor-primesense0 \ | |
libopenni0 \ | |
libopenni2-0 \ | |
libopenni2-dev \ | |
openni-utils |
NewerOlder