Skip to content

Instantly share code, notes, and snippets.

View mahatt's full-sized avatar
🎯
Focusing

Mahesh Attarde mahatt

🎯
Focusing
  • India
View GitHub Profile
@mahatt
mahatt / cc.sh
Last active August 19, 2025 16:32
Compiler Options
#To see the individual features enabled by a particular -O
gcc -O2 -Q --help=optimizers
# Show enabled targets
gcc -c -Q -march=native --help=target
@mahatt
mahatt / screensetup.sh
Created August 6, 2024 17:14
Screen Tool Setup
# if Apt works
apt-get install screen
# or
wget http://ftp.gnu.org/gnu/screen/screen-4.9.0.tar.gz
tar -xf screen-4.9.0.tar.gz
cd screen-4.9.0
./configure && make
@mahatt
mahatt / Vimsetup
Last active February 25, 2017 14:39
Vinm Configurations commands
# Add plugin manager
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
.vimrc
<<COPY>>
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim