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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class KmathMeshMaker : MonoBehaviour { | |
void OnNetworkInstantiate(NetworkMessageInfo info) { | |
if (!networkView.isMine) | |
Debug.Log("Kmath.Meshmaker" + networkView.owner); | |
} |
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
using UnityEngine; | |
using System.Collections; | |
using Leap; | |
public class GetFrame : MonoBehaviour { | |
private LeapManager manager; //This provides access to leap data | |
public Leap.Frame frame; //this is a home for leap frame | |
private Leap.Controller controller; //This interprites the data stream | |
private Leap.Listener listener; //This is the data stream | |
// Use this for initialization |
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 sys | |
import os | |
#import and init pygame | |
import pygame | |
import numpy | |
def colPong(n,c): | |
n = int(int(n)/c) | |
n = n % 510 | |
n = 510 - n if(n > 255) else n | |
return(int(n)) |
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 prefixNotation; | |
public class prefix { | |
/** | |
* @param args | |
*/ | |
public static String reverse(String input){ | |
if(input.length()==1){ | |
return(input); |
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 Trees; | |
import Trees.treeNode; | |
public class tree{ | |
public treeNode root; | |
public treeNode current; | |
int size; | |
boolean first; | |
public tree(){ | |
super(); | |
root = new treeNode(0); |
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
########################################################### ____ ______ _ _ _ | |
## Author : Kevin Nelson #### / ____| | ____(_) | | | | | |
# ### | | __ ___ _ __ ___ | |__ _ ___| | __| |___ | |
##Projecting gene Fields into principal Component space#### | | |_ |/ _ \ '_ \ / _ \ | __| | |/ _ \ |/ _` / __| | |
########################################################### | |__| | __/ | | | __/ | | | | __/ | (_| \__ \ | |
########################################################### \_____|\___|_| |_|\___| |_| |_|\___|_|\__,_|___/ | |
import os | |
import numpy as np | |
import sys |
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
(1)01000010 66 B | |
(2)01110010 114 r | |
(3)01100001 97 a | |
(4)01101001 105 i | |
(5)01101110 110 n | |
(6)01000110 70 F | |
(7)01110101 117 u | |
(8)01100011 99 c | |
(9)01101011 107 k | |
>++++++++++[ |
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
######################################################### | |
## Author : Kevin Nelson ## | |
# # | |
## Mapping MicroArrayData back to AS ## | |
######################################################### | |
import sys | |
import csv | |
import pylab as pl | |
import matplotlib.pyplot as plt | |
import numpy |
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
# ___ ____ _ _ ____ ____ ____ ___ __ __ ___ | |
# / __)( ___)( \( )( ___)(_ _)(_ _)/ __) /__\ ( ) / __) | |
#( (_-. )__) ) ( )__) )( _)(_( (__ /(__)\ )(__( (_-. | |
# \___/(____)(_)\_)(____) (__) (____)\___) (__)(__)(____)\___/ | |
# | |
from pylab import * | |
def QuickerPlot(x): | |
close() | |
y=[] | |
for k in range(1,len(x)+1): |
OlderNewer