Skip to content

Instantly share code, notes, and snippets.

View PrabhatKJena's full-sized avatar

Prabhat Kumar PrabhatKJena

  • Paypal
  • Bangalore, India
View GitHub Profile
@PrabhatKJena
PrabhatKJena / git-diff-excel.md
Created April 12, 2017 08:48 — forked from hkuno9000/git-diff-excel.md
How to git diff for MS-Excel files(xls/xlsx) on Windows-OS

How to git diff for MS-Excel files(xls/xlsx) on Windows-OS

  1. Download the xdoc2txt tool from: http://ebstudio.info/home/xdoc2txt.html#download
  2. extract "xdoc2txt.exe" and locate it on your PATH folder
  3. edit your gitattributes as A:
  4. edit your gitconfig as B:

A: append following texts to "~/.config/git/attributes" or ".git/info/attributes"

*.xls	diff=xdoc2txt
@PrabhatKJena
PrabhatKJena / introrx.md
Created January 23, 2017 07:30 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
Blackjack is a popular card game played against a Dealer. In this card game the Player is trying to beat the Dealer.
Deck:
The game is played with 4 or more decks containing 52 distinct cards in each (Face values : A, 2-9, J, Q and K; Suits : D,C,S,H)
The entire deck is shuffled before the start of the game.
Beginning:
Player and Dealer are initially dealt 2 cards each. Only one of the Dealer's cards is visible to the Player, the other is hidden. All the cards of the Player are visible to everyone at all times.
Turns: