Skip to content

Instantly share code, notes, and snippets.

View dhwaneetbhatt's full-sized avatar

Dhwaneet Bhatt dhwaneetbhatt

View GitHub Profile
@dhwaneetbhatt
dhwaneetbhatt / .vimrc
Last active February 26, 2023 11:00
Development Env Setup
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Enable filetype plugins
filetype plugin on
filetype indent on
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => VIM user interface
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@dhwaneetbhatt
dhwaneetbhatt / ArrayMatrixIterator.java
Last active September 1, 2022 16:24
List and array iterators for iterating over a matrix
import java.util.Iterator;
import java.util.NoSuchElementException;
import com.google.common.base.Preconditions;
/**
* Provides data from a matrix represented using a 2D array
*
* @author Dhwaneet Bhatt
* @since Aug 17, 2016