Skip to content

Instantly share code, notes, and snippets.


Thomas Recloux trecloux

View GitHub Profile
trecloux /
Created Feb 7, 2018
Ch'tiJUG video mixer
ffmpeg -i -i -i background.png -filter_complex "
nullsrc=size=1920x1080 [base];
[0:v] setpts=PTS-STARTPTS, scale=1280x720 [laptop];
[1:v] setpts=PTS-STARTPTS, scale=1280x720, crop=w=640:h=720:x=320:y=0 [speaker];
[2:v] scale=1920x1080 [background];
[base][background] overlay=shortest=0 [base+background];
[base+background][laptop] overlay=shortest=1:y=180 [background+laptop];
[background+laptop][speaker] overlay=shortest=1:x=1280:y=180
" -map 0:a
trecloux / docker-compose.yml
Last active Jun 14, 2017
Simple docker-compose
View docker-compose.yml
version: '2.1'
image: mysql:5.7
- db_data:/var/lib/mysql
restart: always
MYSQL_ROOT_PASSWORD: somewordpress
trecloux / feedly.user.js
Last active Jun 2, 2020 — forked from micbase/feedly.user.js
Feedly Tweak - Open feed item in background by pressing 'v'
View feedly.user.js
// ==UserScript==
// @name Feedly Tweak - Open feed item in background by pressing 'v'
// @namespace
// @description Feedly Tweak - Open feed item in background by pressing 'v'
// @include http*://*
// @grant GM.openInTab
// ==/UserScript==
var x;
var link;
View jenkins-cleanup.groovy
import hudson.model.*
import hudson.tasks.*
for(item in Hudson.instance.items) {
print("job "
item.buildDiscarder = new LogRotator(-1, 5, -1, -1)
println (" configured")
for(item in Hudson.instance.items) {
print("job "

Keybase proof

I hereby claim:

  • I am trecloux on github.
  • I am trecloux ( on keybase.
  • I have a public key whose fingerprint is 4C3F 3816 F28B EF68 CE69 A601 F137 375E CF82 E73B

To claim this, I am signing this object:

trecloux / pom.xml
Last active Dec 18, 2015
Maven yeoman plugin declaration
View pom.xml
<!-- Declare the maven yeoman plugin to launch npm, grunt and bower during the build -->
trecloux / Gruntfile.js
Last active Dec 18, 2015
Grunt proxy configuration
View Gruntfile.js
// Juts after var lrSnippet ....
var proxySnippet = require('grunt-connect-proxy/lib/utils').proxyRequest;
/* ...... */
// Modify the connect task configuration : add proxies section and insert 'proxySnippet' in the middleware
connect: {
proxies: [
context: '/rest',
trecloux / gist:4348782
Created Dec 20, 2012
Java 8 lambda type inference question
View gist:4348782
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static java.util.Arrays.asList;
import static org.fest.assertions.Assertions.assertThat;
public class LambdaSample {
You can’t perform that action at this time.