Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View narendraj9's full-sized avatar

Narendra Joshi narendraj9

View GitHub Profile

##Reactive System Design Links

#Articles and Papers

(require 'treepy)
(require 'parseclj)
(defun let-binding-point* (root s-value s-position)
"Return position for let binding in `ROOT' for `S-VALUE' at `S-POSITION'."
(let ((current-zipper (treepy-zipper (lambda (n) (assoc-default :children n))
(lambda (n) (assoc-default :children n))
(lambda (n children) (cons (cons :children children) n))
root)))
(while (and (not (treepy-end-p current-zipper))
@narendraj9
narendraj9 / magit-blame--search.el
Last active February 7, 2019 18:41
Search magit-blame committers
;;; -- Magit blame swiper results
(require 'magit-blame)
;;; -- Magit blame swiper results
(require 'dash)
(defun magit-blame--current-committer ()
(when (and (boundp 'magit-blame-read-only-mode)
magit-blame-read-only-mode)
(->> (overlays-at (point))
(-keep (lambda (ov)
(when (and (= (line-beginning-position) (overlay-start ov)))
@narendraj9
narendraj9 / books.md
Created October 23, 2015 15:25 — forked from sreeix/books.md
Books to read if you have kids
  • How Children Learn -John Holt (Fascinating read from old times) - Physical
  • How Children Fail - John Holt (Not read yet) - Physical
  • How Children Learn Mathematics Implications of Piagets's research - Richard Copeland - (If you read one book out of the list read this) - Physical
  • Mindstorms - Seymor Papert (Teaching programming to kids and how it changes the worlview) - Physical
  • The children's machine - Seymor papert (Currently reading.) - Physical
  • How Children Succeed - Paul Tough (Okish read) - Physical
  • Thinking Mathematically- John Mason et al. (It will blow your mind) - Physical
  • The smartest kids in the world - amanda ripley (Not completed but Seemed like good read. There are a alot of Amanda ripley articles on the web and you can probably get a gist out it) - Kindle
  • The Elephant in the Classroom - Jo Boler. - Kindle
;;; powerline-custom-theme.el | Modified Themes for Powerline
;; Copyright (C) 2012-2013 Donald Ephraim Curtis
;; Copyright (C) 2013 Jason Milkins
;; Copyright (C) 2012 Nicolas Rougier
;; Author: Donald Ephraim Curtis <dcurtis@milkbox.net>
;; URL: http://github.com/milkypostman/powerline/
;; Version: 2.0
;; Keywords: mode-line
(defun jump-to-comment ()
(interactive)
(require 'face-remap)
(search-forward-regexp "^;; \\([-+[:digit:]]+\\)")
(let ((text-scale-mode-amount (string-to-number (match-string 1))))
(text-scale-mode +1)))
;;; org-macro.el --- Macro Replacement Code for Org -*- lexical-binding: t; -*-
;; Copyright (C) 2013-2017 Free Software Foundation, Inc.
;; Author: Nicolas Goaziou <n.goaziou@gmail.com>
;; Keywords: outlines, hypermedia, calendar, wp
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
"How should I design my Android application? What kind of MVC
pattern should I use? What should I use for an event bus?"
We often see questions from developers that are asking from the
Android platform engineers about the kinds of design patterns and
architectures they use in their apps. But the answer, maybe
surprisingly, is we often don't have a strong opinion or really
an opinion at all.
Should you use MVC? Or MVP? Or MVVM? I have no idea. Heck, I only

Keybase proof

I hereby claim:

  • I am narendraj9 on github.
  • I am narendraj9 (https://keybase.io/narendraj9) on keybase.
  • I have a public key whose fingerprint is 71A7 1600 E6F7 6477 E369 6424 9116 6D6D B96A F7EB

To claim this, I am signing this object: