Skip to content

Instantly share code, notes, and snippets.

View pmbrull's full-sized avatar
Building OpenMetadata

Pere Miquel Brull pmbrull

Building OpenMetadata
View GitHub Profile
@sebastien-attia
sebastien-attia / MarkdownMathJax.md
Last active January 8, 2021 11:53
VueJS c omponent transforming Markdown and LateX in HTML

The MarkdownMathJax's VueJS component transforms a Markdown and LateX string into HTML.

It uses markdown-it and MathJax.

The following piece of code supposes that:

  • it runs in a nuxt project with the following nuxt.config.js config:
modules: [
  '@nuxtjs/markdownit'
@stdatalabs
stdatalabs / dbms_crypto_UDF.scala
Last active January 23, 2019 10:30
A Spark UDF to find the MD5 message digest of a column. More @ stdatalabs.blogspot.com
import org.apache.spark.{SparkConf, SparkContext}
import org.apache.spark.sql._
import org.apache.spark.sql.hive.HiveContext
val hiveContext = new HiveContext(sc)
import hiveContext.implicits._
import hiveContext.sql
import sqlContext.implicits._
import java.security.MessageDigest
/**
@staltz
staltz / introrx.md
Last active July 22, 2024 09:31
The introduction to Reactive Programming you've been missing