Skip to content

Instantly share code, notes, and snippets.

@parisni
parisni / vinted
Last active September 25, 2023 20:43
vinted
// ==UserScript==
// @name Vinted RSS
// @namespace https://gist.github.com/parisni/4735282c86822b54a9c7a29980dfadd1
// @author parisni
// @description A kind of RSS for Vinted with your personnal search
// @include https://www.vinted.fr/*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js
// @require https://raw.githubusercontent.com/eligrey/FileSaver.js/master/dist/FileSaver.min.js
// @version 1.1
// @grant GM_addStyle
@parisni
parisni / leboncoin
Last active September 25, 2023 19:57
grease monkey script to generate a rss feed from a leboncoin search
// ==UserScript==
// @name Leboncoin RSS
// @namespace https://gist.github.com/parisni/ece9addf65c9fb19daff6193f52c5b36
// @author parisni
// @description A kind of RSS for LeBonCoin with your personnal search
// @include https://www.leboncoin.fr/recherche*
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js
// @require https://raw.githubusercontent.com/eligrey/FileSaver.js/master/dist/FileSaver.min.js
// @version 1.2
// @grant GM_addStyle
@parisni
parisni / merger.java
Last active April 3, 2023 08:05
Hudi custom merger
public class CustomHoodieSparkRecordMergert implements HoodieRecordMerger {
@Override
public Option<Pair<HoodieRecord, Schema>> merge(
HoodieRecord older,
Schema oldSchema,
HoodieRecord newer,
Schema newSchema,
TypedProperties props)
throws IOException {
@parisni
parisni / pyspark.png
Last active February 14, 2018 18:55
Scala findings
pyspark.png