Friday, September 29, 2017

Systemctl memo

Enable, disable start, stop, restart service
systemctl [enable,disable,start,stop,restart,status,list-units]   [ServiceName]

Show all startup scripts
systemctl list-unit-files --type=service


Problem:  * IMPORTANT: config file '/etc/portage/package.accept_keywords/zzz_via_autounmask' needs updating.

Run etc-update or dispatch-conf 

Tuesday, July 11, 2017

Commit existing project to gitbucket

Ref: https://stackoverflow.com/questions/17570446/how-to-add-gitbitbucket-to-existing-source-code-folder


1,    cd /path/to/your/repo
2,    git init
3,    git add --all

4,    git remote add origin https://*******@bitbucket.org/******/**project**.git
5,    git commit -m "my first commit"
6,    git push -u origin master

Spring Jar files

Ref :https://stackoverflow.com/questions/19082860/where-can-i-download-spring-framework-jars-without-using-maven

All jar files of spring framework can be found from follow link.

Wednesday, June 21, 2017

JSF Update Attribute

 Ref : http://www.cnblogs.com/565261641-fzh/p/5989900.html

Update all forms
1
update="@(form)"
Update first form
1
update="@(form:first)"
Update all components that has “mystyle” style class
1
update="@(.mystyle)"
Update and process all inputs
1
update="@(:input)" process="@(:input)"
Update all datatables
1
update="@(.ui-datatable)"
Process input components inside panel and update panel
1
process="@(.ui-panel :input)" update="@(.ui-panel)"
Process input components but not select components
1
process="@(:input:not(select)))"
Process input components that are disabled
1
process="@(:input:disabled)"