Skip to content

Instantly share code, notes, and snippets.

View abhisekp's full-sized avatar
🏠
Working from home

Abhisek Pattnaik abhisekp

🏠
Working from home
View GitHub Profile
@abhisekp
abhisekp / # Variables Intro.md
Last active May 10, 2018 04:30
Variable Declarations in JavaScript — http://bit.ly/js-vars
@abhisekp
abhisekp / # Counters Count Challenge.md
Last active March 16, 2018 04:47
[Challenge] Counters Count

You are given N counters, initially set to 0, and you have two possible operations on them:

increase(X) − counter X is increased by 1,
max counter − all counters are set to the maximum value of any counter.
A non-empty zero-indexed array A of M integers is given. This array represents consecutive operations:

if A[K] = X, such that 1 ≤ X ≤ N, then operation K is increase(X),
if A[K] = N + 1 then operation K is max counter.
For example, given integer N = 5 and array A such that:

@abhisekp
abhisekp / # Misc Resources.md
Last active April 14, 2018 17:02
List of useful Resources — http://bit.ly/absk-resources
@abhisekp
abhisekp / # Emojis.md
Last active February 25, 2025 16:31 — forked from rxaviers/gist:7360908
Complete list of Github :octocat: supported emojis — http://j.mp/gh-emojis
@abhisekp
abhisekp / # Python Koans.md
Last active April 15, 2017 13:04
Python Koans
@abhisekp
abhisekp / True Caller.md
Last active September 17, 2017 20:12
True Caller - A Menance to Society

True Caller - A Menance to Society

— by Abhisek Pattnaik <[email protected]>
Image of true caller showing 100s of millions of users at risk

Many people use True Caller without actually realizing the privacy concerns deeply associated with the service.

How True Caller works is by sharing or uploading all your contact information to their servers and if a person has opted for their service by installing the app, it shares the stored details with the person.

@abhisekp
abhisekp / # Object Property Assignment.md
Last active March 16, 2018 02:55
Object Property Assignment in JavaScript — http://bit.ly/js-obj