Skip to content

Instantly share code, notes, and snippets.

View aerosayan's full-sized avatar
:octocat:
ASM/C/C++ to rule them all !

Sayan Bhattacharjee aerosayan

:octocat:
ASM/C/C++ to rule them all !
  • Previously working in - Sukra Helitek Inc.
  • Chennai, India
View GitHub Profile
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@aerosayan
aerosayan / open-foam-7-github-blob.txt
Created March 3, 2020 10:35
Github scrapped for Open Foam 7 file links
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/.gitignore
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/Allwmake
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/COPYING
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/README.org
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/Allwmake
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/solvers/DNS/dnsFoam/Make/files
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/solvers/DNS/dnsFoam/Make/options
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/solvers/DNS/dnsFoam/createFields.H
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/solvers/DNS/dnsFoam/dnsFoam.C
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/applications/solvers/DNS/dnsFoam/globalProperties.H
@aerosayan
aerosayan / open-foam-7-github-tree.txt
Created March 3, 2020 10:34
Github scrapped for Open Foam 7 folder links
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/DNS
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/DNS/dnsFoam
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/DNS/dnsFoam/Make
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/basic
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/basic/laplacianFoam
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/basic/laplacianFoam/Make
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/basic/potentialFoam
https://github.com/OpenFOAM/OpenFOAM-7/tree/master/applications/solvers/basic/potentialFoam/Make
@aerosayan
aerosayan / NVIDIA-CUDA-10-SAMPLES-COMBINED.cpp
Created February 1, 2020 11:24
All NVIDIA CUDA 10.0 sample codes combined together to allow regex.
This file has been truncated, but you can view the full file.
/**
* Copyright 1993-2015 NVIDIA Corporation. All rights reserved.
*
* Please refer to the NVIDIA end user license agreement (EULA) associated
* with this source code for terms and conditions that govern your use of
* this software. Any use, reproduction, disclosure, or distribution of
* this software and related documentation outside the terms of the EULA
* is strictly prohibited.
*
*/
@aerosayan
aerosayan / .vimrc
Created January 31, 2020 10:45
aerosayan vimrc
"--------------------------------------------------------------------
"run pathogen package manager
execute pathogen#infect()
"--------------------------------------------------------------------
set nocompatible "run in vim mode
"set expandtab "expand tabs into spaces
set noexpandtab "don't expand tabs into spaces
set autoindent "auto-indent new lines
set smartindent "return ending brackets to proper locations
set softtabstop=4 "indentation level of soft-tabs
@aerosayan
aerosayan / README.md
Created September 1, 2019 13:41 — forked from csswizardry/README.md
Vim without NERD tree or CtrlP

Vim without NERD tree or CtrlP

I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.

Fuzzy Search

There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:

:vs **/*<partial file name><Tab>
@aerosayan
aerosayan / orthodoxc++.md
Created February 22, 2019 15:42 — forked from bkaradzic/orthodoxc++.md
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@aerosayan
aerosayan / init.el
Created February 3, 2019 17:17
spacemacs user defined configuration
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; USER DEFINED CONFIGURATION ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Display line numbers globally
(global-display-line-numbers-mode)
;; Use soft wrap
(global-visual-line-mode t)
;; Disable the horrible auto-indent "feature"
(add-hook 'after-change-major-mode-hook'
(lambda()(electric-indent-mode -1)))
@aerosayan
aerosayan / competitive-programming-resource-links
Last active August 30, 2018 08:43
Competitive programming resource links that are helpful to me.