Monthly Archives: March 2014

JAX-RS file upload

For my current project i needed a RESTful file upload service. You’ll find the source code on github: JAX-RS file upload

Posted in maven, wildfly8 | Tagged , , , | Leave a comment

Ejecting optical media

Sometimes the “Eject Button” to eject optical media like cd or dvd doesn’t work. This can happen due to a bad media inserted or else. How to get the damn thing out without opening the case? In the ol’ days … Continue reading

Posted in OS X, shell | Tagged , , , , , , | 1 Comment

Tweet von TweetCaster

@java: RT @OracleDevTools: “Oracle’s Java 8 documentation rocks, always look there first” Kudos to the doc team! #eclipsecon http://twitter.com/OracleDevTools/status/446054411987472384/photo/1 Via TweetCaster geteilt

Posted in Uncategorized | Leave a comment

Tweet von TweetCaster

@andreruffert: A categorized cheatsheet of #git commands – http://www.ndpsoftware.com/git-cheatsheet.html Via TweetCaster geteilt

Posted in Uncategorized | Leave a comment

List all deployed artifacts in wildfly 8

JBoss Wildfly comes with a very handy command line interface jboss-cli.sh. Jboss-cli can execute arbitrary commands on your wildfly installation. Example: Using this tool it’s very easy to get an overview over all currently deployed artifacts (ear, war and jar … Continue reading

Posted in IT, JEE7, OS X, wildfly8 | Leave a comment

Scripting for Mongo

Sometimes you want to automate certain tasks using scripts. MongoDB also supports this: http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/

Posted in MongoDB, shell | Tagged , , , , , | Leave a comment

Delete entire database from mongo from cmd line

To quickly delete / remove a entire database from mongo you can use the command line interface: volker@Volkers-MacBook-Pro ~> mongo 127.0.0.1 # connect to default port MongoDB shell version: 2.4.9 connecting to: 127.0.0.1/test > show dbs AWESOME_DB 0.203125GB local 0.078125GB … Continue reading

Posted in MongoDB, OS X | Tagged , , , , , | Leave a comment