Jan
17
joe - A .gitignore magician in your command line
A .gitignore magician in your command line. Joe generates .gitignore files from the command line for you.
Nov
21
thekarangoel is now karan on Github
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.
While my old profile will give a 404, links to repos should be automatically redirected.
Jul
29
Sum of digits of a number in one line (or any other mutation)
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.
Jul
25
One-liner if..else statements.
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.
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.
Jul
24
A list of 100+ projects to complete to master Python.
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).
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).
View comments