Skip to content

Instantly share code, notes, and snippets.

View priyanshu219's full-sized avatar
😂
EZPZGG

Priyanshu Garg priyanshu219

😂
EZPZGG
View GitHub Profile
View init.vim
syntax on
filetype plugin indent on
set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50
\,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor
\,sm:block-blinkwait175-blinkoff150-blinkon175
set noshowmatch
set ignorecase
set relativenumber
View .vimrc2
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
View vimrc
# first do :w for save
# then :source % to activate the changes
# leader is space
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
View SimpleRisc_18114058.txt
//Name; --Priyanshu_Garg Enrollment_No.: --18114058 Branch: --CSE
mov r0, 1 //i = 1
mov r1, 0 //j = 0
mov r2, 1 //x = 1, Ramanujan number
mov r3, 0 //count = 0
.loop1:
mov r3, 0 //count = 0
mov r0, 1 //i = 0