-
Linux & Server Administration
11 commentsFinding files $ grep -rnw '/path/to/somewhere/' -e 'pattern' -r or -R is recursive, -n adds line numbers, -w stands for match the whole word, -l (lower-case L) can be added to just give the file name of matching files Ref: How do I find …
Read More -
Copying on Mac OS X
11 commentsTo copy files on Mac OS X on a remote server can be used FileZilla program, because it uses a secure FTPS protocol. Another good alternative to browsing the file system is e.g. Double Commander (similar to Total Commander) and Midnight Commander. https://filezill …
Read More -
Naming conventions
11 commentsMany-to-many relationship = joining tables Coming up with a good name for a table that represents a many-to-many relationship makes the relationship easier to read and understand. Sometimes finding a great name is not trivial but usually it is worth to spend some time …
Read More -
JPA & Hibernate
11 commentsLazy loading problem Also beware of the n+1-problem. Hibernate will not actually load all children when you access the collection. Instead, it will load each child individually. When iterating over the collection, this causes a query for every child. In order to avoid …
Read More -
Zend Framework
11 commentsHow to create a Zend project using command lines. Firstly, go to project home directory and do the following: zf show version zf create project your-project zf enable layout zf create controller AlbumController zf create db-table Albums albums zf c …
Read More
Search
Categories
Archive
- February 2017
- March 2017
- April 2017
- May 2017
- June 2017
- July 2017
- August 2017
- September 2017
- October 2017
- November 2017
- December 2017
- January 2018
- February 2018
- March 2018
- April 2018
- May 2018
- June 2018
- July 2018
- August 2018
- September 2018
- October 2018
- November 2018
- December 2018
- January 2019
- February 2019
- March 2019
- April 2019
- May 2019
- June 2019
- July 2019
- August 2019
- September 2019
- October 2019
- November 2019
- December 2019
- January 2020
- February 2020
- March 2020
- April 2020
- May 2020
- June 2020
- July 2020
- August 2020
- September 2020
- October 2020
- November 2020
- December 2020