Skip to content

Instantly share code, notes, and snippets.

Working from home

Anil Wadghule anildigital

Working from home
View GitHub Profile
View gist:62
Gist concept is nice!
anildigital / gist:9069004
Created Feb 18, 2014
Running graphite using UDP Port
View gist:9069004
$ docker run -d -p 8181:80 -p 8125:8125/udp jayofdoom/trusty-graphite-standalone

Notes on teaching both test/unit and RSpec to new Ruby developers

@tenderlove asked "Is it good to teach RSpec (vs t/u) to people who are totally new to Ruby?" I have experience suggesting that it is a good thing; after a short back and forth, it seemed useful to write it up in detail.


This goes back several years, to when I was the primary Ruby/Rails trainer for Relevance from 2006-2009. I'm guessing that worked out to probably 6-8 classes a year during those years. Since then, RSpec has changed a fair amount (with the addition of expect) and test/unit has changed radically (it has an entirely new implementation, minitest, that avoids some of the inconsistencies that made test/unit a bit confusing during the time I'm writing about here).

I started out as an RSpec skeptic. I've never been afraid of what a lot of people denigrate as "magic" in Ruby libraries … to me, if you take the trouble to understand it, that stuff's just pr

View gist:10576609

Better apps on the Mac/OSX

  • Skype
  • 1Password
  • Tweetbot
  • LimeChat
  • Day One app
  • iTunes (I have 209 music albums and I do use iTunes Match service so all music is on cloud)
  • Atom Editor
  • iTerm (better than
  • Acorn Photo/Image editor

Keybase proof

I hereby claim:

  • I am anildigital on github.
  • I am anildigital ( on keybase.
  • I have a public key whose fingerprint is 245C 73B2 FCAC AD94 2E68 91E3 6E65 900C C5CB 06F3

To claim this, I am signing this object:

anildigital / 13_March_2014.txt
Created Jun 16, 2014
Chris Wanstrath's talk at Esri notes
View 13_March_2014.txt
Today morning, I watched a keynote talk given by GitHub CEO and co-founder Chris Wanstrath. I was impressed. Here are his quotes in the talk.
'Great coders relentlessly iterate. Best coders relentlessly iterate with other people’
'It's not about fancier code, fancier tests. It's about fancier communication.'
'We iterate on software we build, we should also iterate on how we build it'
'Focus on your development workflow and collaboration, less on the tools or technology. It's about people.'
'Workflow of future: Getting shit done. Shipping awesome software.'
'It's not about software, its about people'
"It's not about tools, it's not about GitHub, it's about way people communicate with each other.
View docker_1.0_release_wired_post_notes.txt
Docker 1.0 released yesterday.
Google Embraces Docker, the Next Big Thing in Cloud Computing
Eric Brewer of Google says
- “Google and Docker are a very natural fit”
- "Google will combine Docker with its cloud computing services, Google App Engine and Google Compute Engine. "
- "That said, the importance of Docker can be hard for even seasoned developers to grasp."
- "Brewer says a developer technology hasn’t taken off so quickly and so enormously since the rise of the Ruby on Rails programming framework eight or nine years ago."
anildigital /
Created Jul 6, 2014
Some Architectural Principles for Software Development Teams

Many software development organizations fail to follow these principles and pay the price, which can lead to failure. Google mostly doesn't make the mistakes of going against them, though some projects at ITA used to.

Every change should be reviewed, seriously

Code reviews not only improve code quality by having more eyes to find bugs, but most importantly they build the mutual knowledge of the code base, and cross-pollinate minds of team members. This may look like it slows you down in the very short term, but is essential in the long run. If you need to check in a critical fix right now, interrupt a colleague and get the just as critical review right now. If it's so urgent that you can't wait for a review when no colleague is available at the moment (in the middle of the night, or they are all sick, in vacation, or in a retreat), then get it reviewed after the fact, but get it reviewed still (and of course run automated tests — your infrastructure won't let yo


The introduction to Reactive Programming you've been missing

(by @andrestaltz)

So you're curious in learning this new thing called (Functional) Reactive Programming (FRP).

Learning it is hard, even harder by the lack of good material. When I started, I tried looking for tutorials. I found only a handful of practical guides, but they just scratched the surface and never tackled the challenge of building the whole architecture around it. Library documentations often don't help when you're trying to understand some function. I mean, honestly, look at this:

Rx.Observable.prototype.flatMapLatest(selector, [thisArg])

Projects each element of an observable sequence into a new sequence of observable sequences by incorporating the element's index and then transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.


Inspired by Trulia Trends - but with code and using SVG.

Example data shows concurrent user sessions over time, taken from a development environment.