Skip to content

Instantly share code, notes, and snippets.

View xfournet's full-sized avatar

Xavier Fournet xfournet

  • YOOI
  • Lyon, France
View GitHub Profile
@rrevol
rrevol / FlinkDeadlockTest.scala
Created February 20, 2018 15:01
Small test reproducing a deadlock in Flink
import org.apache.flink.streaming.api.functions.source.SourceFunction
import org.apache.flink.streaming.api.scala.{StreamExecutionEnvironment, _}
object FlinkDeadlockTest {
val MAX_LOOP_NB = 10
def main(args: Array[String]): Unit = {
val env = StreamExecutionEnvironment.getExecutionEnvironment
env.addSource(new SourceFunction[Int] {
var goOn = true
@DavidWells
DavidWells / reset.css
Last active September 19, 2024 19:20 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@csusbdt
csusbdt / index.html
Created January 13, 2013 16:56
How to store JSON data into the user's Google drive storage.
<html>
<head>
<!--
In this example, I started with the 5-minute example provided by Google
on the following page:
https://developers.google.com/drive/
I modified the example code, so that I could write the following