Confirmation Directive AngularJS

A simple directive when you need confirmation from the user and you don't want to popup a fancy modal. appName.directive('userConfirm', [function() { return { restrict: 'A', link: function(scope, element, attrs) { element.bind('click', function() { var message = attrs.userClickMessage; if (message && confirm(message)) { scope.$apply(attrs.userClickAction); } }); } } }]); Usage…

Using facebook messages to reduce emails by 80%

I have been experimenting with this for sometime now and I can safely say, Facebook messages is better for 1/n communication tool than email (gmail). Facebook messages have a lot of advantages over emails for instance, mainly Read notification Good for quick conversations , passive and/or realtime communication Better…

Intercom with Angularjs

It is fairly simple to integrate Intercom.io with your AngularJS app. Include the intercom api <script src=“//static.intercomcdn.com/intercom.v1.js”></script> after that Hopefully this save you a little time.…

Let's See

There’s a little boy and on his 14th birthday he gets a horse… and everybody in the village says, “how wonderful. The boy got a horse” And the Zen master says, “we’ll see.” Two years later, the boy falls off the…

Test Driven Recruitment

Hiring good tech people is hard, because you are optimizing for code and culture. Also the definitions of good will vary for individuals and company. Any of the following may make a hire bad: Bad culture fit Problems to learn and unlearn Politics (this is the worst, we have a…

Enterprise software sucks

Software is hard, but when you are trying to make a “one solution fits all” you create whole set of problems including shoehorned workflows, horrifically counterproductive forms, maintainability and migration problems. And before we forget dependency on the Internet Explorer 6. We must give them credit for this…

Amazon Cloudfront or S3

Amazon CloudFront is Content Delivery Network (CDN), that takes its data from S3. What actually does is replicate the S3 data in different locations, so that… When end users request an object using this domain name, they are automatically routed to the nearest edge location for high performance delivery…

Least

Figure out the absolute least you need to do to implement the idea, do just that, and then polish the hell out of the experience.John Gruber’s overriding guideline for iPhone UI design…

Yelp style guide

Yelp style guideThe styleguide is a resource for designers, product managers, and developers, providing a common language around Yelp's UI patterns. We use it to maintain modular front-end code and visual consistency across the web app.…

It's not piracy, it's you

Why do we pirate music, software and television and movies? It’s not all about the money, mostly. There is/was a french project Pourquoi je pirate where random strangers were asked why do they pirate, I present you few of my fav responses. Please see that these responses…

Post-it

Post-it notes are more powerful tool than most people realize because they: Rearrange easily (no copying) Support text and diagrams Are concurrently editable (as a group) Convert virtually useless walls into huge work surfaces The idea that really hit it home for me is The KJ Method (aka Affinity Diagramming…

Twelve-Factor Application

If you’re building a web application, you should design it as a Twelve-Factor Application. A Twelve-Factor Application follows twelve principles: The entire application’s code is stored in a single revision control repository. If you have multiple repositories for different parts of the software, you should consider them to…

Amazing Short Sci-Fi Films

Here is a short list of some amazing short films, you must watch. The Gift Directed by Carl E. Rinsch, ‘The Gift’ Belongs to the “pararell Lines” Phillips Cinema campaning. Placed in Russia, The Gift is a Sci-Fi short with a savage Chase sequence on it.…

Personal Hacks for Dealing with Inbox

If I don’t know the sender, the email more than a paragraph gets deleted withput any prejudice. Delete button is a your friend. Learn keyboard shortcuts, in side gmail press “?” to show you the list . This will reduct you time spent in the mailbox around 30…

Specialization is for insects

A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch…

Rule of thumb for better landing page

While working on your webapp, mobile app or micro sites. One of the most critical piece to design usually the landing page design, as in most cases people start the journey from the landing page. After working on many of such landing pages we have seen few of the things…

Angular Seed Bootstraped

This project is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects. The project also contains several tweaks and fixes which will help to to get started faster. This project already includes the bootstrap css framework 3 with jquery,…

Simple Git Guide

Install Git is a free software avilable on Windows, OSX and Linux. Create a new repo Create a new directory, open/change in to the directory and use this to create a repository. git init Checkout a existing repo Create a working copy of a local repository by running the…

Simple file upload in Laravel

This is a quick tip, so I’ll skip the explaination. public function index() { $file = Input::file('file'); if($file  != null){ $path = storage_path().'/up/'; $filename = $file->getClientOriginalName(); $file->move($path,$filename); } else{ echo Form::open(array('url' => 'fs', 'method' => 'post','files' => true)…

Building a flash message with Angular.js

I had build this for a project. Use is as you please. I am basing this on twitter bootstrap, but you can style elements anyway you like. For the html we can just drop the directive. I like to divide my directives and services, so as for services. In the…

Inflection points

Seek out inflection points, start with business model, fit technology later, focus, don’t be an a-hole, as long as possible…

Multiple sites on single aws instance

Ok, so we all have some projects or idea which are small enough to deserve a full instance and big enough to be hosted via github. Here come a old an very well tested idea, hosting multiple sites on AWS. Please note this is my version of how this needs…

Notes on Startup Traction

After reading Traction mistakes by Gabriel Weinberg, who, by the way has also founder of   duckduckgo, an amazingly simple and (sometimes) better search engine than google, ddg is really effective for developers. Gabriel Weinberg has a really good set of articles on traction, you can see his book about traction…

Installing LAMP stack on AWS EC2 instance

This is a fairly simple article on how to install [LAMP stack](http://en.wikipedia.org/wiki/LAMP_(software_bundle)) on EC2. Prerequisites AWS account Basic understanding of SSH Comfortable with CLI Step 1. Start an instance. Add the security group, and download the private key. Step 2.  Security Group…

Pitching to Investors

After searching a lot of forums and blogs, when I couldn’t find a simple cheat-sheet on pitching to investors, I decided to write my own. (after observing a lot of successful product pitches by founders of admob, reddit, mint, twitter…many more.) Here are the key points overlapping in…

Amazon Web Services in plain English

I have been playing with AWS for quite some time now and as a beginner, I faced few starting problems, one of them was to understand what’s-up with so many services and what does each service mean. So here is the list of most of AWS services and what…

Do it yourself - SEO

I am writing this post for multiple reasons. Refresh my Search engine optimization( SEO) basics A lot of startups ask me Basic SEO is not something you must be paying for. SEO is important So without wasting your time, let’s dive in. What is SEO You’ll see a…

Tale of Missing Verb

We had just  finished pushing our beta of our consumer storage product. It has amazing UX (_ Majority of people who have tried this application just love the UI_) and it is additive as you can save your  all of your favorite blogs, videos, photos, music and files. Our 2. users…

An Open Letter to Indian News Media

Dear Indian Journalist, Media Reporters, Editors, Whom So Ever the Fuck it Concerned, I am writing today to issue a plea on behalf my fellow Indians. It’s, admittedly, a move out of extreme anxiety and initiate from the minds of people who can’t see the light now. We…

Was Buddha a lazy sales guy?

We  meet a lot of good sales people whom we believe even though we know they are selling something. Sometimes we like them, they make us feel better and  connect with us through familiar stories. Then a thought struck me today morning that all or may be  most of the…