Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sterym on github.
  • I am stevenrymenans (https://keybase.io/stevenrymenans) on keybase.
  • I have a public key whose fingerprint is 66D9 80BE 9628 53FF 5E50 FD4F 236C CAF9 406D 173B

To claim this, I am signing this object:

@sterym
sterym / MongoOperationsFactory.java
Created August 26, 2013 12:55
MongoOperationsFactory.java
package be.cremers.multiplication;
import java.net.UnknownHostException;
import javax.ejb.Startup;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import org.springframework.data.authentication.UserCredentials;
/**
* Copy for user.
*
* @param camid the camid of the {@link CognosUser}
* @param cognosUser the {@link CognosUser}
* @param sourceCamId the source cam id
* @param cognos the {@link CognosService}
* @param config the {@link ProcessConfig}
*/
private void copyForUser(final String camid, final CognosUser cognosUser, final String sourceCamId,
@sterym
sterym / Deploy rest collections
Created July 16, 2013 17:44
Deploy rest api for collection service
echo "current dir"
pwd
echo "files in current dir"
ls
echo "files in target dir"
cd target
ls
echo "cloning openhift repo"
git clone ssh://51e584315973ca1b0600002f@rest-collections.rhcloud.com/~/git/rest.git/