About Emad Ibrahim

http://www.emadibrahim.com

Posts by Emad Ibrahim:

Fellow Americans, Help Me Understand

NOTE: Sorry for writing about politics on this blog.  I mostly write about programming, technolog and startups but this is an extraordinary time. I really don’t understand politics.  It makes no sense to me. I am a very proud American and have always been the biggest fan of America and American ideals.  America that is(…)

Error Logging With Angular and log4javascript

Angular is an awesome framework and plays very well with other libraries and is easy to integrate.  Angular come with a built-in log service which you can simply access by injecting $log; but I like the log4javascript library… You can easily overwrite the default $log service by defining it in your app as such:

Basically(…)

Powershell Script to Alias a Command with Parameters

Powershell Set-Alias doesn’t pass arguments to the alias and I want an easy way to launch my editor, so I can easily say: “e file.txt” Here is my script that launches WebStorm and pass along the parameters (note the special treatment of the “.”

Now I can just type “ws .” and open webstorm(…)

Tough Mudder and 6 Startup Lessons Learned

I finished my first ever Tough Mudder on April 20th with some friends.  It was tough and muddy and very similar to a startup journey.  I know it sounds crazy but I was thinking about my startup the entire time I was racing.  It could have been the cold weather or the electric shocks but I learned(…)

Useful bash history tricks

This is a reminder to my future self (source https://coderwall.com/p/oqtj8w) Create ~/.inputrc and fill it with this:

This allows you to search through your history using the up and down arrows … i.e. type “cd /” and press the up arrow and you’ll search through everything in your history that starts with “cd /”.  (…)