News for hackers. Stuff that matters.

amirexdev

Re:Ask HN: Best things in your bash_profile/aliases? on Monday January 14, 2019 @10:39AM (#18903743)
These are my favorites:

alias ia="open $1 -a /Applications/iA\ Writer\ Classic.app"

alias makepass="pwgen -s 30 | awk '{print $NF}' | pbcopy"

alias phplint="find . -name \".php\" -print0 | xargs -0 -n1 -P8 php -l"

alias quicklint="find . -name \".php\" -depth 1 -print0 | xargs -0 -n1 -P8 php -l"

alias loc="find . -name '*.php' | xargs wc -l"

Re:Digital Ocean Managed Databases on Wednesday October 24, 2018 @03:32PM (#18295606)
I think you mean, shut up and take my money :)
Re:Some terrible personal news on Thursday March 08, 2018 @02:22AM (#16542911)
I agree that no one can truly understand what you are going through, except one who has gone through it.

I'm blessed to have been married for 10 years, but if I'm honest, I know I have taken my wife for granted at times.

I'm so sorry for your loss, but this is an important reminder to live life to the fullest with no regrets, because you don't know how long you or your loved ones truly have.

Re:How should I learn Java Web Development? on Wednesday February 28, 2018 @02:40AM (#16481393)
Wow, thanks for your reply. That's exactly what I was looking for. I know there are IDE's for PHP, Ruby, and Python, but it seems for Java it's practically a requirement.

As I've been researching, it seems to me like newer versions PHP has borrowed a lot of ideas from Java, which has made PHP better.

Thanks for the detailed reply, and I will definitely do some of those ideas.

How should I learn Java Web Development?

I am a freelance developer doing most of my work with Laravel (PHP). However, I want to branch out and learn Java, primarily in the context of web development.My main question is this. What would you say is unique to Java web development that I should focus on as I learn?I understand that syntax is easily picked up, and design patterns can be translated from one language to another. But are...

( Read More... | 2 comments | 2 points | on HN )
So this is how inception starts.