Skip to content

Instantly share code, notes, and snippets.

@woidpointer
woidpointer / gist:073f8d5075e4fcda95c19cddee0e37bd
Last active December 18, 2021 08:35
Enable/Disable promiscous mode for Linux network interfaces (ip command)
# Enable
ip link set eth1 promisc on
# Check with
netstat -i
# You should see something like this
eth0 1500 0 26631 0 0 0 27143 0 0 0 BMPRU
@woidpointer
woidpointer / .ycm_extra_conf.py
Last active April 8, 2019 02:45 — forked from galou/.ycm_extra_conf.py
YouCompleteMe configuration file for ROS, copy to $ROS_WORKSPACE
# -*- coding: utf-8 -*-
##########################################################################
# YouCompleteMe configuration for ROS #
# Author: Gaël Ecorchard (2015) #
# #
# The file requires the definition of the $ROS_WORKSPACE variable in #
# your shell. #
# Name this file .ycm_extra_conf.py and place it in $ROS_WORKSPACE to #
# use it. #