A .gitignore magician in your command line. Joe generates .gitignore files from the command line for you.

https://github.com/karan/joe

2

View comments


  1. A .gitignore magician in your command line. Joe generates .gitignore files from the command line for you.

    https://github.com/karan/joe

    2

    View comments

    1. It looks really awesome but Joe is already the name of an editor packages in some distribution. http://sourceforge.net/projects/joe-editor/ Maybe another name would be worth.

      ReplyDelete
    2. What is the casino site? - ChoEgoCasino.com
      There is an important difference between online casinos หารายได้เสริม and the land worrione based gambling industry. It has the most appealing feature of choegocasino

      ReplyDelete
  2. Quick announcement : I've changed my Github username this morning from thekarangoel to karan.

    While my old profile will give a 404, links to repos should be automatically redirected.
    2

    View comments

  3. Recently, I was solving the Happy Numbers project from my Projects collection (a top repo on GitHub for a few weeks now). A major part of the problem was finding sum of square of digits of a number.

    What I wrote initially was this:

    def sum_digits(num):
        sum_dig = 0
        while num >= 0:
            last_digit = num % 10 # extract the last digit
            sum_dig += last_digit ** 2 # sum of square of digit
            num /= 10 # strip of last digit

    The problem was, it wasn't very pleasing to the eye!

    But then I thought of this beautiful one-liner..

    sum_digits = sum(int(digit) ** 2 for digit in str(num))

    Elegant, isn't it?

    - Karan Goel
    1

    View comments

  4. Nifty, little one-liner I learned today. Instead of doing this:

    def func(foo):
        if foo == 0:
            return "bar"
        else:
            return "baz"

    You can simply do this:

    def func(foo):
        return "bar" if foo == 0 else "baz"


    Pretty cool for those who didn't know. ;-)

    - Karan Goel
    3

    View comments

  5. Hey guys and gals

    Just a plug here. My repo: https://github.com/thekarangoel/Projects
    was one of the trending repos on Gh this week and I thought folks
    on this list might be interested in knowing about it.

    In a nutshell, I'm trying to complete over a 100 practical language-
    agnostic projects in Python only. I haven't read the project details yet,
    and I'm not filtering things out.

    If you would like to do the same, join me. Fork or star the repo,
    and start coding (in any language, really).

    https://github.com/thekarangoel/Projects

    Let me know if you have any questions or suggestions.

    - Karan Goel
    Goel.im | Resume | Github
    6

    View comments

Blog Archive
About Me
About Me
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.