Skip to content

Instantly share code, notes, and snippets.

public class tupples {
public static void main(String args[]) {
String gen = "agcaaagagagactgtttagtccacataaagcgtcgttggacgcaaattacgc" + "ggggggtgcaaacgaacgagaggaggtttgagatagctgtatattc";
String[][] tuples = new String[gen.length()][2];
int globalCounter = 0;
for (int i = 0; i < gen.length() - 2; i++) { // loop through the whole string
import java.util.Arrays;
public class tupples {
public static void main(String args[]) {
String gen = "agcaaagagagactgtttagtccacataaagcgtcgttggacgcaaattacgc" + "ggggggtgcaaacgaacgagaggaggtttgagatagctgtatattc";
String[][] tuples = new String[gen.length()][2];
int globalCounter = 0;
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package skuska.zapocet;
/**
*
* @author Mišel
RuntimeEngine engine = null;
try {
engine = RemoteRuntimeEngineFactory
.newRestBuilder()
.addDeploymentId("org.redhat.gss:StartedByCommandProject:1.0")
.addUrl(new URL("http://localhost:8080/business-central"))
.addUserName("anton")
.addPassword("password1!")
.addTimeout(0)
13:28:58,820 INFO [org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl] (http-/127.0.0.1:8080-4) Deploying unit org.redhat.gss:HellStarter:1.0
13:28:58,888 WARN [org.jbpm.runtime.manager.impl.DefaultRegisterableItemsFactory] (http-/127.0.0.1:8080-4) Unable to find ObjectModelResolver for enter resolver type
13:28:58,889 WARN [org.kie.remote.services.cdi.DeploymentInfoBean] (http-/127.0.0.1:8080-4) RuntimeManager for domain org.redhat.gss:HellStarter:1.0 does not exist and can not be undeployed.
13:28:58,890 WARN [org.jbpm.kie.services.impl.KModuleDeploymentService] (http-/127.0.0.1:8080-4) Unexpected error while deploying unit org.redhat.gss:HellStarter:1.0: javax.enterprise.event.ObserverException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_51]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_51]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAcc
Start with a box in the cage, and one or more boxes in the rabbit’s running space. If she urinates in a corner of the cage not containing the box, move the box to that corner until she gets it right. Don’t be concerned if your bunny curls up in his litterbox–this is natural. Once she’s using the box in the cage, open her door and allow her into her running space. Watch her go in and out on her own. If she heads to a corner where there’s no box, or lifts up her tail in the characteristic fashion, cry “no” in a single, sharp burst of sound. Gently herd her back to her cage and her litterbox, or into one of the boxes in her room. Be careful, however. You don’t want to make the cage or the litterbox seem like punishment. A handful of hay in the box makes it a more welcoming place. After she first uses the box, praise her and give her her favorite treat. Once she uses the box in her room a couple of times, you’re well on your way, as her habits will be on their way to forming. As she gets better trained in her fir
package org.redhat.gss;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
package org.redhat.gss;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
package org.redhat.gss;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
foreach ($this->getHttpRequest()->getFiles() as $file) {
$file->move(WWW_DIR.$file->getName());
}