Skip to content

Instantly share code, notes, and snippets.

View romainreignier's full-sized avatar

Romain Reignier romainreignier

  • Robopec @ixblue
  • La Seyne-sur-Mer, France
View GitHub Profile
@narate
narate / create-hotspot.md
Last active May 16, 2024 04:35
Create Wi-Fi Hotspot on Linux using nmcli

Create a Wi-Fi hotspot on Linux using nmcli

Original post : https://unix.stackexchange.com/a/310699

nmcli con add type wifi ifname wlan0 con-name Hostspot autoconnect yes ssid Hostspot
nmcli con modify Hostspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared
nmcli con modify Hostspot wifi-sec.key-mgmt wpa-psk
nmcli con modify Hostspot wifi-sec.psk "veryveryhardpassword1234"
@matt3o
matt3o / rqt_smach_kinetic.md
Last active February 13, 2020 02:14
Running rqt_smach (smach_viewer) with ROS Kinetic

Running rqt_smach (smach_viewer) with ROS Kinetic

Hello everyone!

As we needed Smach for an university project I decided to take a look in porting rqt_smach / smach_viewer to ROS Kinetic. Some things may still be broken but at least it is working at all!

NOTE: This is kind of work in progress - I'd love to get any feedback and will merge updates if you want to contribute any fixes! I will try to get into contact with jbohren but for the most recent issues and pull requests he was not willing to cooperate - that's surely one of the reasons why there is no kinetic support so far

This file is based on the instructions made by @jbohren in this file: rqt_smach.md - which is hard to find on the internet.

@whizzzkid
whizzzkid / XPS-15 9560 Getting Nvidia To Work on KDE Neon
Last active December 3, 2022 15:43
[XPS 15 Early 2017 9560 kabylake] Making Nvidia Drivers + (CUDA 8 / CUDA 9 / CUDA 9.1) + Bumblebee work together on linux ( Ubuntu / KDE Neon / Linux Mint / debian )
# Instructions for 4.14 and cuda 9.1
# If upgrading from 4.13 and cuda 9.0
$ sudo apt-get purge --auto-remove libcud*
$ sudo apt-get purge --auto-remove cuda*
$ sudo apt-get purge --auto-remove nvidia*
# also remove the container directory direcotory at /usr/local/cuda-9.0/
# Important libs required with 4.14.x with Cuda 9.X
$ sudo apt install libelf1 libelf-dev
@awesomebytes
awesomebytes / debian_from_ros_pkg.md
Last active May 7, 2024 11:50
How to create a debian from a ROS package
@tetsuok
tetsuok / compile_clang.md
Last active December 28, 2018 12:46
Compile Clang/LLVM

Setup

$ brew install cmake
$ brew install ninja

Getting the source

$ git clone http://llvm.org/git/llvm.git
$ cd llvm/tools
$ git clone http://llvm.org/git/clang.git
$ cd clang/tools

$ git clone http://llvm.org/git/clang-tools-extra.git extra

@alobato
alobato / start-stop-example.sh
Created March 3, 2012 23:09
start-stop-example
#!/bin/sh
# Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh
set -e
# Must be a valid filename
NAME=foo
PIDFILE=/var/run/$NAME.pid
#This is the command to be run, give the full pathname
DAEMON=/usr/local/bin/bar