Skip to content

Instantly share code, notes, and snippets.

View anandbhaskaran's full-sized avatar
🏠
Working from home

Anand anandbhaskaran

🏠
Working from home
View GitHub Profile
@anandbhaskaran
anandbhaskaran / webpack.config.js
Last active August 14, 2019 08:48
Webpack description
const { join, relative, resolve, sep } = require("path");
const webpack = require("webpack");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
const TerserPlugin = require("terser-webpack-plugin");
const VueLoaderPlugin = require("vue-loader/lib/plugin");
const NsVueTemplateCompiler = require("nativescript-vue-template-compiler");
set +e
# Update gazebo repository
wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable xenial main" > /etc/apt/sources.list.d/gazebo-stable.list'
sudo apt-get update
# install required packages
sudo apt-get install git docker.io gazebo7
set +e
# Update gazebo repository
wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable xenial main" > /etc/apt/sources.list.d/gazebo-stable.list'
sudo apt-get update
# install required packages
sudo apt-get install git docker.io gazebo7