Skip to content

Instantly share code, notes, and snippets.

View ajnavarro's full-sized avatar
🏠
Working from home

Antonio Navarro Perez ajnavarro

🏠
Working from home
View GitHub Profile
@ajnavarro
ajnavarro / test.ipynb
Created November 22, 2017 11:25
Test notebook example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am ajnavarro on github.
  • I am ajnavarro (https://keybase.io/ajnavarro) on keybase.
  • I have a public key ASDB9EKWRq4Y6PIxlF2GDHYb1hW2idp8FpKv9w7xWPK73Ao

To claim this, I am signing this object:

@ajnavarro
ajnavarro / README.md
Last active November 27, 2016 21:21
How to make 'go get' command work with private repositories

create new github token: github.com/settings/tokens

vim ~/.netrc

    machine github.com login [GIT_USER] password [GIT_TOKEN]
    machine gopkg.in login [GIT_USER] password [GIT_TOKEN]
@ajnavarro
ajnavarro / SparkSqlRules.scala
Last active August 29, 2015 14:15
Example to how to apply rules to a logicalPlan
package org.apache.spark.sql
import org.apache.spark.sql.catalyst.analysis.EliminateAnalysisOperators
import org.apache.spark.sql.catalyst.optimizer.{ColumnPruning, ConstantFolding, PushPredicateThroughProject, SimplifyFilters}
import org.apache.spark.{SparkConf, SparkContext}
case class E(name: String, id: Int)
object RuleMain extends App {