This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class exampleService { | |
| private IntegrationCurationDao curationDao; | |
| private IntegrationMetadataDao metadataDao; | |
| @Override | |
| public void acceptMetaboliteCluster(IntegratedCluster integratedCluster, CurationSet xid, CurationUser usr) { | |
| if (!integratedCluster.getClusterType().equals( | |
| IntegrationNodeLabel.MetaboliteCluster.toString())) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pt.uminho.sysbio.biosynth.data.production; | |
| import java.io.File; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.neo4j.graphdb.GraphDatabaseService; | |
| import org.neo4j.graphdb.Node; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <distributionManagement> | |
| <repository> | |
| <id>watson</id> | |
| <url>http://192.168.1.99/nexus/content/repositories/biosystems-releases</url> | |
| </repository> | |
| <snapshotRepository> | |
| <id>watson</id> | |
| <url>http://192.168.1.99/nexus/content/repositories/biosystems-snapshots</url> | |
| </snapshotRepository> | |
| </distributionManagement> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # chkconfig: 35 99 99 | |
| # description: Node.js /home/nodejs/sample/app.js | |
| # | |
| . /etc/rc.d/init.d/functions | |
| USER="nodejs" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # redis - this script starts and stops the redis-server daemon | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Redis is a persistent key-value database | |
| # processname: redis-server | |
| # config: /etc/redis/redis.conf | |
| # config: /etc/sysconfig/redis | |
| # pidfile: /var/run/redis.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <glpk.h> | |
| /* | |
| Maximize | |
| obj: x1 + 2 x2 + 3 x3 + x4 | |
| Subject To | |
| c1: - x1 + x2 + x3 + 10 x4 <= 20 | |
| c2: x1 - 3 x2 + x3 <= 30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package pt.uminho.sysbio.biosynth.chemsynth; | |
| import java.io.IOException; | |
| import java.io.Serializable; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import pt.uminho.sysbio.biosynthframework.biodb.kegg.KeggCompoundMetaboliteEntity; | |
| import pt.uminho.sysbio.biosynthframework.core.data.io.dao.biodb.kegg.AbstractRestfulKeggDao; | |
| import pt.uminho.sysbio.biosynthframework.core.data.io.dao.biodb.kegg.RestKeggCompoundMetaboliteDaoImpl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <configuration> | |
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
| <encoder> | |
| <pattern>%d{HH:mm:ss.SSS} [%thread] %M %-5level %logger{36} - %msg%n</pattern> | |
| </encoder> | |
| </appender> | |
| <!-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio> | |
| int main(int argc, char** argv) { | |
| printf("Hello Gist !"); | |
| return 0; | |
| } |