This file contains 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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Indent rules</string> | |
<key>scope</key> | |
<string>source.ocaml</string> | |
<key>settings</key> | |
<dict> |
This file contains 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 | |
# CVMFS doesn't allow multiple hard-links to the same file unless they sit in the same directory. | |
# We do something to try to patch them up! | |
REPO_ROOT=$1 | |
#List of files | |
FILES=$(find $1 -type f -printf "%i\t%h\t%f\n" | sort) |
This file contains 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 models.dao | |
import play.api.db.slick.Config.driver.simple._ | |
/** | |
* A parameter to a role type. | |
*/ | |
private[models] case class ParameterTypeDO(id: Long, name: String, description: Option[String]) | |
private[models] class ParameterTypes extends Table[ParameterTypeDO]("PARAMETER_TYPES") with StandardQueries[ParameterTypeDO] { |
This file contains 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
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
module Statistics.MannWhitney where | |
import Prelude hiding (sort) | |
import Control.Monad (forM) | |
import Data.List (genericLength, intersect, intercalate, nub, sortBy, splitAt) | |
import Data.Number.Erf (normcdf) |
This file contains 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
{-# LANGUAGE LambdaCase #-} | |
module Main where | |
import Control.Monad (liftM) | |
import qualified Data.ByteString.Char8 as BS | |
import qualified Data.ByteString.Lazy.Char8 as B | |
import Data.Monoid (mconcat) | |
import Data.Ord() | |
import System.Environment (getArgs) |
This file contains 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
{-# LANGUAGE LambdaCase #-} | |
module Main where | |
import Control.Monad (liftM) | |
import qualified Data.ByteString.Char8 as B | |
import qualified Data.ByteString.Lazy.Char8 as LB | |
import qualified Data.Map as Map | |
import Data.Maybe (fromMaybe, catMaybes) | |
import Data.Monoid (mconcat) |
This file contains 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 ChattyCalculator where | |
import Prelude hiding (exponent, subtract) | |
import Control.Applicative hiding ((<|>)) | |
import Data.List (intercalate) | |
import Text.Parsec | |
import Text.Parsec.Expr |
This file contains 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
{-# LANGUAGE ForeignFunctionInterface #-} | |
{-# LANGUAGE EmptyDataDecls #-} | |
#include <sys/ttycom.h> | |
#include <sys/ioctl.h> | |
#c | |
typedef struct winsize winsize; | |
#endc |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Smith-Waterman Demo</title> | |
</head> | |
<body> | |
<form> | |
<label for="word1">Word 1</label> | |
<input name="word1" id="word1" value="ACACACTA" /> |
This file contains 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 GHC.IO.Handle | |
import Control.Concurrent (forkIO, forkOS, threadDelay) | |
import System.Directory (createDirectoryIfMissing) | |
import System.Environment | |
import System.IO | |
main ::IO () | |
main = do | |
putStrLn "Writing to stdout" | |
mapM_ (createDirectoryIfMissing True) ["output_io", "output_os"] |
OlderNewer