Skip to content

Instantly share code, notes, and snippets.

View narendraj9's full-sized avatar

Narendra Joshi narendraj9

View GitHub Profile
(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)))
(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 <[email protected]>
;; Keywords: outlines, hypermedia, calendar, wp
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify

##Reactive System Design Links

#Articles and Papers

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:

"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