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 core.misc | |
| import scala.util.Random | |
| /** | |
| * Created by mishael on 5/6/15. | |
| * | |
| */ | |
| object SudokuSolver { |
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 core.sparkTest.examples | |
| import com.twitter.algebird.Monoid | |
| import scala.annotation.tailrec | |
| import scala.collection.GenSeq | |
| import scala.collection.immutable.Queue | |
| /** | |
| * Created by mishael on 3/23/15. |
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 core.misc | |
| /** | |
| * Created by mishael on 12/11/14. | |
| * | |
| */ | |
| object RegExpAlgebra { | |
| case class Singleton(regExp: String) extends RegExpAlgebra | |
| case class ~!(inner: RegExpAlgebra) extends RegExpAlgebra | |
| case class And(l: RegExpAlgebra, r: RegExpAlgebra) extends RegExpAlgebra |
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 com.liveperson.mishael.misc | |
| import scala.collection.immutable.SortedMap | |
| import scala.util.Random | |
| /** | |
| * Created by mishaelr on 6/15/2014. | |
| * | |
| */ | |
| object Sampling { |
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 com.liveperson.predictivedialer.examples.misc | |
| import spray.json._ | |
| import spray.json.DefaultJsonProtocol._ | |
| import java.io.{PrintWriter, FileWriter} | |
| import scala.concurrent.duration._ | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: mishaelr |
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 com.liveperson.lpbt.research.hadoop.examples | |
| import scala.annotation.tailrec | |
| /** | |
| * User: mishaelr | |
| * Date: 7/11/13 | |
| * Time: 10:33 AM | |
| */ | |
| object FCBF extends App{ |
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 com.liveperson.predictivedialer.examples.misc | |
| import scala.annotation.tailrec | |
| import scala.util.Try | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: mishaelr | |
| * Date: 5/14/14 | |
| * Time: 5:18 PM |
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 com.liveperson.lpbt.research.hadoop.scripts.EligibilityExperiment.auc.aucCalculators | |
| import com.twitter.scalding._ | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: mishaelr | |
| * Date: 4/17/14 | |
| * Time: 1:21 PM | |
| * |
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
| #!/usr/bin/perl | |
| use Getopt::Long; | |
| #use File::chdir; | |
| use Cwd; | |
| GetOptions ('host=s' => \$host, 'user=s' => \$user) | |
| or die("Usage: perl private_keys.pl --user <user name> --host <host name>\n"); | |
| print "user $user, host $host\n"; | |
| my $originDir = getcwd; |
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 com.liveperson.predictivedialer.examples.misc | |
| import scala.math.Ordering | |
| import scala.annotation.tailrec | |
| /** | |
| * Created with IntelliJ IDEA. | |
| * User: mishaelr | |
| * Date: 3/26/14 | |
| * Time: 2:47 PM |