-
Javascript/ Angular: `ng new` command stuck at ‘Installing packages for tooling via npm’
So I am learning Angular 2 and decided to use Angular CLI this time instead of those seed projects. BTW, I am following this course to study basics of Angular. sudo ng new angular-app And this is what happened Password: As a forewarning, we are moving the CLI npm package to “@angular/cli” with the next… Read More »Javascript/ Angular: `ng new` command stuck at ‘Installing packages for tooling via npm’
-
Simple code highlighter using only CSS
Over the last 10 years, I have learnt that sharing code on websites can be tricky. Just yesterday I was working on a blog post and realized that anything between the <code></code> can look ugly if not styled properly. For example, after writing some bash code within the post, it looked quite ugly: Now, I just… Read More »Simple code highlighter using only CSS
-
Restart apache on CentOS
Recently, I had a friend setup a CentOS server for me as I personally have experience setting up and managing lamp on Ubuntu servers but needed a CentOS expert. Anyhow, the way to manage Apache on CentOS is a bit different than how it’s done on Ubuntu or debian based Linux. So I was trying… Read More »Restart apache on CentOS