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 Timer { | |
| private long startTime = 0; | |
| public void start() { | |
| startTime = System.currentTimeMillis(); | |
| } | |
| public long stop() { | |
| return System.currentTimeMillis() - startTime; |
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
| from __future__ import division | |
| from scikits.audiolab import flacread | |
| from numpy.fft import rfft, irfft | |
| from numpy import argmax, sqrt, mean, diff, log | |
| from matplotlib.mlab import find | |
| from scipy.signal import blackmanharris, fftconvolve | |
| from time import time | |
| import sys | |
| from parabolic import parabolic |
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 java.io.{File, FileInputStream, FilenameFilter} | |
| import org.apache.poi.xwpf.extractor.XWPFWordExtractor | |
| import org.apache.poi.xwpf.usermodel.XWPFDocument | |
| object Main { | |
| def main (args: Array[String]) { | |
| println(getCountFromFolder("E:\\SchoolWork\\Running Start")) | |
| } |
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
| EDU>> A=[62 32 45 0 49 33 44 21 0 47 49 26 24 15; 165 84 115 0 124 90 112 55 0 122 132 65 67 54] | |
| EDU>> B=[-5 2; 1 1] | |
| EDU>> A*B | |
| EDU>> B*A | |
| EDU>> A.dim | |
| EDU>> size(A) | |
| EDU>> A(1, 1) | |
| EDU>> A(2, 14) = 45 | |
| EDU>> B*A | |
| EDU>> char(B*A+64) |
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 String capitalize(String str) { | |
| String[] words = str.toLowerCase().split(" "); | |
| for (int i = 0; i < words.length; i++) { | |
| words[i] = Character.toUpperCase(words[i].charAt(0)) + words[i].substring(1); | |
| } | |
| return TextUtils.join(" ", words); | |
| } |
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 me.shreyasr.fbmp | |
| import java.text.{DateFormat, DateFormatSymbols, SimpleDateFormat} | |
| import java.util.{Date, Locale} | |
| import net.ruippeixotog.scalascraper.browser.JsoupBrowser | |
| import net.ruippeixotog.scalascraper.dsl.DSL.Extract._ | |
| import net.ruippeixotog.scalascraper.dsl.DSL._ | |
| object Parser { |
OlderNewer