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 java.io.*; | |
public class PagedFile{ | |
public static final int pageSize = 512; | |
private RandomAccessFile f; | |
public void PagedFile(String fileName){ | |
f = new RandomAccessFile(fileName); | |
} |
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
-- average male hand size, in meters | |
-- taken from http://www.theaveragebody.com/average_hand_size.php | |
handSize :: Double | |
handSize = 0.189 | |
planckLength :: Double | |
planckLength = 1.61619926e-35 | |
-- assuming the 'child' hands are 1/5 the original size | |
-- find the number of iterations to reach the planck length |
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
decodeAnswer = function(idx){ | |
var toDecode = answers[idx].split(/\//)[0]; | |
var res = "" | |
for(var i=0;i<toDecode.length;i++){ | |
var found = false; | |
for(var k in asta){ | |
if(asta[k]==toDecode[i]){ | |
res += k; | |
found = true; |
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
######## | |
# # | |
# #### # | |
# # # # | |
# # # # | |
# #### # | |
# # | |
######## | |
################ |
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 OverloadedStrings, FlexibleInstances #-} | |
import Network.HTTP (urlEncode) | |
import Network.HTTP.Conduit | |
import Network.HTTP.Client (defaultManagerSettings) | |
import qualified Data.ByteString.Lazy.Char8 as L | |
import qualified Data.Text as T | |
import qualified Data.Vector as V | |
import Data.Aeson | |
import Control.Monad |
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 Fasta where | |
import Control.Applicative | |
import qualified Data.Text as T | |
import qualified Data.Attoparsec.Text as A | |
import qualified Data.Attoparsec.Combinator as AC | |
import Data.Char | |
import Data.Either |
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 java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class Main { | |
static Scanner sc; | |
static ArrayList<Integer> c1; |
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
#include <hidef.h> /* common defines and macros */ | |
#include "derivative.h" /* derivative-specific definitions */ | |
unsigned char mask; | |
unsigned char next_bit; | |
unsigned char data1, data2; | |
// we need to be able to update the leds with new scrambled data | |
// every 5 seconds and pause/resume the code via the push button | |
unsigned char counter; // for keeping the frequency of 0.2Hz |
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
* Writing the explanation/help -> Ozge | |
* Title page -> Sarah | |
* Main Visualization Part | |
- Histone Markers/Genes -> Arda/Akin | |
- Pathways -> Sarah/Defne | |
* Discuss the pathways visualization/iterate on it -> Group | |
* Filtering the data to be more operable -> Ulduz | |
- Choosing the histone markers -> Acelya | |
- Processing bigwig file? -> Ulduz/Arda | |
* Paper(s) -> Everyone needs to write for themselves |
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
#include <hidef.h> | |
#include "derivative.h" | |
typedef enum { | |
WAIT_FOR_RISING, | |
WAIT_FOR_FALLING, | |
RING_BUZZER | |
} State; | |
State currState; |
OlderNewer