Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Adding color to VIM and Cygwin

These are notes-to-self more than anything, but maybe you can use them. You can add colorized text to Vim by adding the following to .vimrc in your $HOME directory:

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
endi

If you don't have this file, you can create it using :mkv. You can change your font-settings by editing them with Edit >> Select Font and then typing :set guifont, followed by :mkv!. I prefer Courier New, 9pt.

If you want colors for file listings (using ls) in Cygwin, add the following to your .bashrc file in your $HOME directory:

alias ls="ls -CF --color"

Posted in Java at Jan 05 2003, 03:12:08 PM MST 7 Comments
Comments:

Thanks - this is what I was looking for. :-)

Posted by Steve on June 05, 2008 at 12:18 PM MDT #

Thank you, nice and simple

Posted by 139.93.128.12 on August 18, 2010 at 09:45 AM MDT #

All roads lead to Raible... Even my random Cygwin questions. Your blog is gold. I'll skip google next time, just for grins. ;)

Posted by Erik Weibust on June 29, 2011 at 07:01 AM MDT #

Thanks. Note to self: make more notes to self. :)

Posted by Wouter on October 17, 2012 at 08:20 AM MDT #

Great article. Thanks for Sharing.

Posted by Annon on March 30, 2013 at 05:28 AM MDT #

i got this error by just putting syntax on only. "-bash: :syntax: command not found" but still works, i just always get the same error everytime i open cygwin.

Posted by 112.204.152.113 on June 01, 2013 at 10:33 AM MDT #

Thanks you! I was all over the web trying to get my cygwin colors working. I new there was a shortcut for ls --color! Hector

Posted by Hector on April 24, 2014 at 03:43 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed