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
| module WMC | |
| # NoyesParser parses motif files with a header line and | |
| # column lines with symbols in the DNA alphabet in order A,C,G,T | |
| class NoyesParser | |
| attr_accessor :motifset | |
| attr_accessor :nukelinepattern | |
| attr_accessor :namepattern | |
| attr_accessor :normalize | |
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
| #import "NSArray+UniqueObjects.h" | |
| @implementation NSArray (UniqueObjects) | |
| -(NSArray*) uniqueObjects { | |
| NSSet *set = [[NSSet alloc] initWithArray: self]; | |
| NSArray *vals = [set allObjects]; | |
| [set release]; | |
| return vals; |
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
| #import <Foundation/Foundation.h> | |
| @interface NSArray (UniqueObjects) | |
| -(NSArray*) uniqueObjects; | |
| -(NSArray*) uniqueObjectsSortedUsingSelector: (SEL)comparator; | |
| -(NSArray*) uniqueObjectsSortedUsingFunction: (NSInteger (*)(id, id, void *)) comparator |
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
| Undocumented S4 methods: | |
| generic '$' and siglist '_p_PEER__cEpsNodeSparse' | |
| generic '$' and siglist '_p_PEER__cSPARSEFA' | |
| generic '$' and siglist '_p_PEER__cWNodeSparse' | |
| generic '$<-' and siglist '_p_PEER__cWNodeSparse' | |
| generic '[' and siglist 'ExternalReference' | |
| generic '[<-' and siglist 'ExternalReference' | |
| generic '[[<-' and siglist '_p_PEER__cWNodeSparse,character' | |
| generic 'length' and siglist 'SWIGArray' |
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
| // | |
| // NSString+Levenshtein.h | |
| // PyHelp | |
| // | |
| // Modified by Michael Bianco on 12/2/11. | |
| // <http://mabblog.com> | |
| // | |
| // Created by Rick Bourner on Sat Aug 09 2003. | |
| // rick@bourner.com |
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
| before_script: | |
| - git submodule update --init --recursive | |
| cache: | |
| key: ${CI_BUILD_REF_NAME} | |
| paths: | |
| - .build | |
| build: | |
| script: |
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
| # adapted from https://github.com/swiftdocker/docker-swift | |
| # once docker-swift supports setting the swift version via a build-arg we could pull from there instead | |
| FROM ubuntu:14.04 | |
| ENV SWIFT_BRANCH swift-3.0.2-release | |
| ENV SWIFT_VERSION 3.0.2 | |
| ENV SWIFT_URL https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz | |
| ENV SWIFT_SIG_URL https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz.sig | |
| ENV SWIFT_PLATFORM ubuntu14.04 |
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/bash | |
| # $PATH tweak done so this also runs from Xcode. | |
| PATH="/usr/local/bin:${PATH}" | |
| ./kill-docker | |
| docker run --rm -it -v $PWD:/vapor -p 5432 -p 8080:8080 \ | |
| -e HOST_IP=$(ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1') \ | |
| manuscript-annotations |
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/bash | |
| # $PATH tweak done so this also runs from Xcode. | |
| PATH="/usr/local/bin:${PATH}" | |
| if [[ $(docker ps -q --filter=ancestor=manuscript-annotations) ]]; then | |
| docker stop $(docker ps -q --filter=ancestor=manuscript-annotations) | |
| fi |
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
| # adapted from https://github.com/swiftdocker/docker-swift | |
| # once docker-swift supports setting the swift version via a build-arg we could pull from there instead | |
| FROM ubuntu:14.04 | |
| ENV SWIFT_BRANCH swift-3.0.2-release | |
| ENV SWIFT_VERSION 3.0.2 | |
| ENV SWIFT_URL https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz | |
| ENV SWIFT_SIG_URL https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz.sig | |
| ENV SWIFT_PLATFORM ubuntu14.04 |
OlderNewer