Skip to content

Instantly share code, notes, and snippets.

View rakesh87's full-sized avatar
🎯

Rakesh Verma rakesh87

🎯
  • Eos
  • bangalore
View GitHub Profile
@rakesh87
rakesh87 / matrix.rb
Created April 28, 2015 18:44
transverse spiral all element of matrix
module Matrix
class << self
def to_spiral(input_array)
array_length = input_array.length
# return element itself if array length is 1
return input_array[0][0] if array_length == 1
@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing
@tsabat
tsabat / zsh.md
Last active December 25, 2023 19:16
Getting oh-my-zsh to work in Ubuntu