Skip to content

Instantly share code, notes, and snippets.

View saikrn112's full-sized avatar

Ramana Kiran saikrn112

View GitHub Profile
alias lt='ls -lrth'
alias gs='git status'
alias ga='git add'
alias gc='git commit'
alias gco='git checkout'
alias gcf='git clean -fd'
alias gb='git branch'
alias gcfo='git checkout . && git clean -df'
alias gd='git diff'
alias gg='git graph'
@saikrn112
saikrn112 / install_conda.sh
Created September 3, 2022 16:16
installing conda
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
@saikrn112
saikrn112 / install_cv.sh
Last active November 8, 2022 02:52
for installing CV environment
source ~/miniconda3/etc/profile.d/conda.sh
conda create -n CV
conda activate CV
conda install python=3.6 -y
conda install matplotlib -y
conda install numpy -y
conda install opencv -y
conda install jupyter -y
conda install -c conda-forge termcolor -y
conda install -c conda-forge ipywidgets -y
@saikrn112
saikrn112 / .vimrc
Last active November 8, 2022 02:51
vim configuration file
" Vim-Plug configuration got from https://github.com/junegunn/vim-plug
call plug#begin()
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
" Multiple Plug commands can be written in a single line using | separators
"Plug 'SirVer/ultisnips'
" Plug 'honza/vim-snippets'
" On-demand loading
@saikrn112
saikrn112 / tmux-cheatsheet.markdown
Last active January 7, 2018 07:32 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@saikrn112
saikrn112 / tmux.conf
Created January 7, 2018 07:05 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000