Joined June 2012
·

Vinit Kumar

Software Engineer at Changer Technologies
·
Pune, India
·
·
·

Posted to Setup Macvim For Maximum Awesomeness over 1 year ago

@vitorcavalcanti: Updated the code with my latest config. Hope it helps. Cheers!

Posted to Total lines of code over 1 year ago

It would be better if we could exclude the libraries from this count. For eg: JS libraries that you didn't write.

Posted to Setup Macvim For Maximum Awesomeness over 1 year ago

I haven't used peepopen in sometime. You could ask it's developer to update his code to work in Yosemite if it is really broken in it.

Even better solution is to add them to your .git/info/exclude, it definitely stays inside your project and works the same as .gitignore.

Here is one sample file, I use:

# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
celerybeat-schedule.db
todo.md
.idea
.jshintrc
.ropeproject/

I hate Jade, things quickly run out of hand with Jade.

Checked your repo, What's up with the weird name and indentation?

Though it does quite the same stuff as one that I wrote. Except that my project also has polyfill that provides localStorage to the browser that don't have support of it yet.

Well, It abstracts a steps that you will normally do while using localStorage in your app. And gives you the option of just dealing with storage and retrieval of objects. It's very bare bones at this stage and I am going to add more features in coming time.

If you take a look at the code, you might understand the steps it saves you using barebones localStorage. Also, it is a more DRYer approach as you won't be doing same thing again and again.

Posted to Bash config for web developers over 1 year ago

Thanks!
They are used for directory bookmarking for quicker navigation. http://stackoverflow.com/questions/7374534/directory-bookmarking-for-bash

Though I would suggest you to use this for that purpose. https://github.com/rupa/z

I do it all the time, it is really nice trick to store good forks that you want to hack on, but don't really want to show on your own github profile.

@petermelias: About the other points, though were not directly related to code quality but were related to code maintainability.
Code maintainability is also very important and it affects the quality of code. Nevertheless, I totally agree with the idea of contributing to an open source project.

@mixedmedia: Great, that is the intention of this post. The post is my accumulated understanding about development and programming. I am glad it could help you. :)

Yeah, you are right. Those things are for documentation/wiki only. But sometimes it is good to explain some part of tricky code just as a reminder for you for future reference.

Exactly.

This comes from one of my Pull Requests, I am sure it will help you understand. https://docs.google.com/file/d/0B-gH8xrN3O5fTHVFU3hVellBckk/edit?usp=sharing

This post seems more like a biased rant, rather than a logical conclusion. They are many incorrect statements as mentioned above. Why not write something before getting biased and actually using it for an application or two.

Posted to Take a screenshot from commandline over 1 year ago

thanks for the detail explanation. :) Cheers!

Posted to Linux build script over 1 year ago

Cool man, Will try and contribute to it. I really appreciate your effort. :)

Posted to Take a screenshot from commandline over 1 year ago

"I don't see that 'scrot' have a 'display' option, so I guess I should export first the 'DISPLAY=:0' variable to be able of taking the screenshot through ssh." scrot is a command line application, i don't understand what is a problem with using it take the screenshot in the remote system you are ssh into (obv with scrot installed) . Also, you can always set timer with scrot to take timed screenshot. Very handy feature. Plus the options are simpler and cover more features.
So i compared yours method with mine on basis of these features.

With that said, i haven't used your version much. So will test it.

Posted to Take a screenshot from commandline over 1 year ago

Isn't scrot better for this.?

Posted to ziraga oh-my-zsh theme over 1 year ago

Yeah there is a simpler way. you could leave 4 space in the beginning. Since it is based on markdown, this is the normal convention. You can check out my protip, here my code's syntax is highlighted.
https://coderwall.com/p/kynpyg?i=1&p=1&q=&t%5B%5D=%21%21mine&t%5B%5D=%21%21bookmarks

Posted to Linux build script over 1 year ago

What about the speed ? Must be slower for sure, Right?

Posted to ziraga oh-my-zsh theme over 1 year ago

Why not properly indent it so that the code is readable?

Posted to My desk at the office over 1 year ago

Is that ubuntu Running on ur iMac?

Achievements
1,136 Karma
69,450 Total ProTip Views