Showing posts with label tips and tricks. Show all posts
Showing posts with label tips and tricks. Show all posts

23 November 2015

Bookshelf of My top (Java) software development books

This is not typical "Top 10 favourite book", "Essential  or Must-Read Software Development Books" and so on .This is just selection of books that I found useful in my software development carrier so far.




1.  Eric Freeman, Elisabeth Robson, Bert Bates , Kathy Sierra  - Head First Design Patterns Paperback 
  • http://shop.oreilly.com/product/9780596007126.do
  • After this book ,if you feel bored and you fancy read legendary book on this subject then read this: Gang of four - Design Patterns: Elements of Reusable Object-Oriented Software


2.  Steve Krug - Don't Make Me Think!: A Common Sense Approach to Web Usability
  • https://www.sensible.com/dmmt.html
  • This is a simple and awesome book about user experience design basics.
  • After reading this book it is worth to see some presentation by Janne Jul Jensen


3. Michael T. Nygard - Release It!: Design and Deploy Production-Ready Software
  • http://pragprog.com/book/mnee/release-it
  • for some odd reason this is not well know book, but everybody who read this book thinks that this book is very important because it helps you understand whole life cycle of software .


4. Simon Brown - Software Architecture for developers
  • https://leanpub.com/software-architecture-for-developers/read#what-is-architecture
  • One of the newest on my shelf. Really interesting  book that shows how to  successfully  adapt  "software architecture" role into agile universe that all teams want to be in but as we know Scrum hates Architects .


5. Gregor Hohpe , Bobby Woolf - Enterprise Integration Patterns
  • http://www.eaipatterns.com/eaipatterns.html
  • This book is very useful ,if you will have a privilege to work with Apache  or Spring Integration as they based on this book.


List of book that many people mentioned that is must read book that I haven't read yet:
  • The Psychology of Everyday Things
  • Clean code
  • Colin Vipurs "Test needs love too"
  • Refactoring, Improving design of existing code
  • Effective Java
  • Agile Software Development, Principles, Patterns and Practices
  • (and I am planning read all of them next year)




I  still didn't find great book about:
  • algorithms
  • testing
I am sure they are already written ,but I just didn't read them yet.If you know any ,let me know.









7 April 2015

My top useful shortcuts in IntelliJ IDEA


FUNCTION MAC(new) MAC(old) WIN
Review recent changes in project ALT+SHIFT+C ALT+SHIFT+C ALT+SHIFT+C
Generate CMD+N CMD+N ALT+INSERT
Find an action SHIFT+CMD+a ? SHIFT+CTRL+a
Format code CMD+ALT+l ? CTRL+ALT+l
Smart completion ? ? CTRL+SHIFT+SPACE
Next/previous problem F2/SHIFT+F2 F2/SHIFT+F2 F2/SHIFT+F2
Select clipboard SHIFT+CMD+v ? ALT+SHIFT+C
Open current opened file
in the separate window.
SHIFT+F4 SHIFT+F4 SHIFT+F4
Complete method SHIFT+CMD+ENTER ? SHIFT+CTRL+ENTER
Show project structure CMD+7 ? ALT+7
Show project CMD+1 ? ALT+1
Toggle full mode SHIFT+CMD+F12 ? SHIFT+CTRL+F12
Refactoring menu 
(it is context aware)
? ? CTRL+SHIFT+ALT+T
Find class in project. CMD+o CMD+n CTRL+n
Find file in project. CMD+SHIFT+o CMD+SHIFT+n CTRL+SHIFT+n
Search everywhere. SHIFT (press twice) SHIFT (press twice) SHIFT (press twice)
Evaluate expression
ALT+F8ALT+F8 ALT+F8
Extract method. ALT+CMD+m ALT+CMD+m CTRL+ALT+m
Find word(s) in project. CMD+SHIFT+f ? CTRL+SHIFT+f







"? - I couldn't find shortcut .. or it doesn't work on my machine "

TIPS and Resources

17 June 2014

How to change user directory and cache directory in Netbeans 8 ?

Solution for Netbeans 8.x (It should work in Netbeans since v. 7.2)

Are you fancy change path where cache and data is stored ?
Well,then you need change netbeans.conf.

How to do it?

You can find netbeans.conf file in etc directory (where Netbeans was installed)
For example: C:\Program Files\NetBeans 8.0\etc

You need find property:
netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/8.0"
netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/8.0"

You just need change path to anything you like ... for example:

netbeans_default_userdir="C:/junk/temp/nb/usr"
netbeans_default_cachedir="C:/junk/temp/nb/cache"



Source: http://wiki.netbeans.org/FaqNetbeansConf

30 October 2013

How to alwaws show line numbers in Eclipse and STS ( SpringSource Tool Suite )


Solution for:
 STS 3.x.x and Eclipse Juno
It probably works in previous and future version of STS and Eclipse.

  1.  Go to Menu
  2. Press Window
  3. Press Preferences
  4. Press General (from tree on the left)
  5. Press Editors (from tree on the left)
  6. Press Text Editors (from tree on the left)
  7. Press Show line numbers check box on the right .
Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers

22 January 2013

How to tab text to the left (reverse tab function)?

I using pc-style keyboard for nearly 15 year  (before i used Amiga style keyboards,AMIGA RULEZ!).

Last year ,I found out that  to tab text to right you use tab,but how to move to the left?

Answer is ...
SHIFT+TAB

I can't believe that after 15 years ,I still find new things about ancient keyboard ...


LOL

12 December 2012

Useful shortcut in IntelliJ IDEA. Review recent changes

I used Since  IntelliJ IDEA v11.x (but i believe,it exist since forever).

To review recent changes to the project:
Press Alt+Shift+C

1 April 2011

How to set an account to open automatiacally In Windows Vista

How to set an account to open automatiacally:
  1. In Windows Vista fo to the start menu.
  2. Choose run from the menu or go to the search bar at the botton.
  3. Type in control userpasswords2 and press enter.
  4. The User Accounts window will appear. (screenshot below)
  5. Now select a user name by making it blue.
  6. Remove the tick in the box next to Users must enter a user name and password to use this computer.
  7. Press apply. You will be asked to enter the password for this account. If there is no password then leave it blank.
  8. Press ok and exit.
  9. Restart your computer and it will login to that account automatical

29 March 2011

Spring framework - best practices. Controller

It is good to have a controller (super class)  which that will extend by every controller , where you can put all methods that will be aplication wide used.

MothersuperiorController (usuall called abstracController or BaseController) where you
//package and all imports 
@Controller
public class MothersuperiorController{
 
public void home() {
//methods that can be used by every controller 
}

}

and each controller  should extend above controller

// package and all imports
@Controller
public class SlaverController extends MothersuperiorController{
//do amazing controller job
}