Skip to content

Instantly share code, notes, and snippets.

View ammarnajjar's full-sized avatar

Ammar Najjar ammarnajjar

View GitHub Profile
@ammarnajjar
ammarnajjar / catkin_ws_indigo_setup.sh
Last active June 3, 2016 12:31
catkin workspace indigo setup bash script for lwa4p robot arm
#!/bin/bash
# Ubuntu 14.04 64-bit
# ROS-Indigo (the most recent update)
# SocketCAN(ESD CAN card (PLX90xx), sja1000 kernel driver)
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 0xB01FA116
# install Indigo and some dep packages on a fresh ubuntu 14.04
import os
import ycm_core
from clang_helpers import PrepareClangFlags
# Set this to the absolute path to the folder (NOT the file!) containing the
# compile_commands.json file to use that instead of 'flags'. See here for
# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html
# Most projects will NOT need to set this to anything; you can just change the
# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
compilation_database_folder = ''
#!/usr/bin/bash
DIR="indigo_full"
mkdir $DIR
cd $DIR
echo "#
# ROS Indigo with gazebo Dockerfile
#
@ammarnajjar
ammarnajjar / vimrc
Last active July 19, 2016 22:24
vimrc
" => Header ---------------------- {{{
" File: vimrc.vim
" Author: Ammar Najjar <[email protected]>
" Description: My vim/neovim configurations file
" Last Modified: July 20, 2016
" }}}
" => General ---------------------- {{{
" set by default in neovim
set incsearch
set ttyfast