Skip to content

Instantly share code, notes, and snippets.

Laurent Constantin ragusa87

Block or report user

Report or block ragusa87

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ragusa87 / .gitlab-ci.dist.yml
Last active May 24, 2019 — forked from Dagefoerde/.gitlab-ci.dist.yml
GitLab CI configuration for testing Moodle plugins using moodle-plugin-ci. Thanks to @danielneis who contributed a first version (cf.
View .gitlab-ci.dist.yml
image: moodlehq/moodle-php-apache:7.0-stretch
- postgres:latest
- vendor/
- node_modules/
View gist:e6ef112f0830cd244a2a37a789b6f70c
### Keybase proof
I hereby claim:
* I am ragusa87 on github.
* I am ragusa87 ( on keybase.
* I have a public key ASAbz7DA36ZJeEWBRGlwuGKPvYseNlSa9B4nMZIaQLGkDQo
To claim this, I am signing this object:
ragusa87 /
Created Mar 28, 2019 — forked from pylover/
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.6
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5.
Workaround for bug:
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone.
This will be only fixes the bluez5 problem mentioned above .
ragusa87 /
Last active Apr 4, 2019
Liip clone moodle repo (private)
set -xe
if [[ $# -eq 0 ]]; then
echo "Entrez le nom de la branche client: [mdl31-tcs]: "
read branch
ragusa87 / !Wrench
Last active Jul 27, 2018
Wrench passbolt tool
# Create environement for development.
# docker script is inspired by
# 1 = docker name
ragusa87 / index.php
Created May 6, 2017
Data transform "page_history" column of a CSV file
View index.php
* @author Laurent Constantin
* Alter the 'page_history' column of a CSV file with emotions.
* A map between page number and emotion's name is required in a csv format.
class WhatDoYouDo4Love
ragusa87 / StrokeFilter.php
Created Sep 12, 2016
LiipImagine Stroke filter
View StrokeFilter.php
namespace Generalmedia\AppBundle\Filter;
use Imagine\Image\ImageInterface;
use Imagine\Image\ImagineInterface;
use Imagine\Image\Palette\RGB;
use Imagine\Image\Point;
use Liip\ImagineBundle\Imagine\Filter\Loader\LoaderInterface;
# Backup Mysql database staring with "__apps", compress the dump.
# Olds backup are removed if they are older than X days
# LCO 2016-06-05
# Script based on
MYSQL="$(which mysql)"
ragusa87 /
Created Jul 29, 2015
Rotate pdf left with pdftk
if [ "$#" -ne 1 ]; then
echo "Usage: $0 filename"
exit 1;
if [ ! -f $1 ]; then
echo "File not found!"
exit 2
You can’t perform that action at this time.