Skip to content

Instantly share code, notes, and snippets.

View rohanshukla94's full-sized avatar
🎯
Focusing

Rohan Shukla rohanshukla94

🎯
Focusing
View GitHub Profile
@rohanshukla94
rohanshukla94 / Laravel-Nuxt-Nginx.conf
Created November 11, 2020 04:09
Laravel nuxt deployment nginx conf
map_hash_max_size 262144;
map_hash_bucket_size 262144;
map $sent_http_content_type $expires {
"text/html" epoch;
"text/html; charset=utf-8" epoch;
default off;
}
server {
@rohanshukla94
rohanshukla94 / install_gcc_6_amcl_gpu
Created February 11, 2022 18:25
Install gcc 6 on Ubuntu 18.04 for using amcl with GPU. Works with ROS Melodic
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-6 g++-6 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-6 && \
gcc -v && \
sudo apt-get install nvidia-cuda-toolkit && \
mkdir -p ~/catkin_ws/src && \