Wednesday, 4 July 2012
Corkboard online
If you want to have a place to stick your notes in the virtual then you can try:
http://corkboard.me
Rod Johnson has left SpringSource
Rod Johnson the father of Spring, co-founded SpringSource has decided to leave SpringSource. He grew a company building a Spring Framework a better Java Enterprise Edition.
His leaving post: blog.springsource.org/2012/07/03/oh-the-places-youll-go/
His leaving post: blog.springsource.org/2012/07/03/oh-the-places-youll-go/
Sunday, 1 July 2012
Exposing monitoring by JMX in Spring application
To expose methods as MBeans in the Spring Application by JMX you have to:
You can also use annotations: @ManagedOperation, @ManagedNotification for methods that are not setters or getters.
- Declare in the application configuration: <context:mbean-export/>
- Annotate java class with @ManagedResource
- Annotate getters or setters with <@ManagedAttribute>
You can also use annotations: @ManagedOperation, @ManagedNotification for methods that are not setters or getters.
Wednesday, 27 June 2012
Denial of service via hash algorithm collision
A variety of programming languages suffer from a DoS via hash algorithm collision. If the implementation of the hash calculation is expensive, then creating POST request with many collisions can cause DoS. POST request has no limit then 8GB.
Java is affected. Webservers Tomcat and Jetty have been protected by limiting number of POST Request parameters.
More info on: http://www.ocert.org/advisories/ocert-2011-003.html
Java is affected. Webservers Tomcat and Jetty have been protected by limiting number of POST Request parameters.
More info on: http://www.ocert.org/advisories/ocert-2011-003.html
Friday, 22 June 2012
Spring Framework Known Vulnerabilities and Issues
Here is the page where we can read about critical insecure versions of Spring Framework. If you use them better upgrade Spring Framework version.
http://www.springsource.com/security/spring-framework
Thursday, 14 June 2012
Lucidchart - Comments
Lucidchart has new features:
- Commenting system - Comments panel for adding comments to the diagram
- Integration to Confluence OnDemand
Usefull git commands
- git config --global color.ui auto - add coloring for git command line
- git pull --rebase - it makes sense to be the default for pulling from the remote repository
- git merge --no-ff - does not forget about branch which was merged in even if it was fast forward one
- git rm --cached file - removing file only from git, not form file system
- git diff --cached - see what will go in the next commit
- git branch --no-merged - branched that are not merged
- git rebase master - rebasing current branch against master
- git mergetool - invoking tool for merging
- git stash - hiding temporary files changes e.g. for rebasing
- git stash pop - uncover changes hidden by stash command
- git reset HEAD file - reset staged changes to the file
- git checkout HEAD file - removing changes to the file
Subscribe to:
Posts (Atom)