Skip to content

Instantly share code, notes, and snippets.


Santiago Basulto santiagobasulto

View GitHub Profile
santiagobasulto / 0_reuse_code.js
Created Jun 30, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
santiagobasulto / gist:4235499
Created Dec 7, 2012 — forked from krishnanraman/gist:4210467
Portfolio Mgmt using Scalding
View gist:4235499
import com.twitter.scalding._
import cern.colt.matrix.{DoubleFactory2D, DoubleFactory1D }
import cern.colt.matrix.linalg.Algebra
import java.util.StringTokenizer
class Portfolios(args : Args) extends Job(args) {
val cash = 1000.0 // money at hand
val error = 1 // its ok if we cannot invest the last dollar
You can’t perform that action at this time.