Skip to content

Instantly share code, notes, and snippets.

View rlvdx's full-sized avatar
driven by fun

Raphaël Louvradoux rlvdx

driven by fun
View GitHub Profile
@jprivet-dev
jprivet-dev / memo-forum-php-2017-ecrire-tests-long-terme-charles-desneuf.adoc
Last active October 16, 2019 11:18
[Mémo] Forum PHP 2017 - Écrire des tests pour le long terme (Charles Desneuf) | https://youtu.be/Bjw6N7bjzf4
:toc: macro
:toc-title: Sommaire
:toclevels: 3
:numbered:
ifndef::env-github[:icons: font]
ifdef::env-github[]
:status:
:outfilesuffix: .adoc
:caution-caption: :fire:
@windyinsc
windyinsc / ffmpeg-cheatsheet.md
Last active September 7, 2023 12:15 — forked from larvata/ffmpeg-cheatsheet.md
ffmpeg notes

ffmpeg Cheatsheet

  • Join TS Files
  • Convert TS to MP4
  • Download Online AES-128 Encrypted HLS video
  • Convert Video to GIF
  • Extract Audio and Convert it to MP3
  • Burn Subtitles into Video

Join TS Files

@alepee
alepee / free_disk_space.sh
Created July 7, 2017 07:28
clear cache for rubygem, yarn, composer, homebrew, docker and remove temp files
###
# free_disk_space
#
# remove files from downloads folder
# clear cache for rubygem, yarn, composer, homebrew, docker
###
free_disk_space() {
if command -v docker &> /dev/null; then
echo "--> Clear Docker images cache" && \
@hikari-no-yume
hikari-no-yume / example.php
Created March 20, 2017 20:02
function chaining for PHP 7
<?php declare(strict_types=1);
require_once "✨.🐘";
✨($_)->strlen("foo")->var_dump($_);
@jeantil
jeantil / algorithm.sql
Last active May 26, 2020 20:37
Code source d’Admission post-bac
--
-- le code ci-dessous a a été fortement amélioré par un effor collaboratif sur
-- https://github.com/jeantil/admission_post_bac
-- Pull requests, issues et contributions wiki sont les bienvenues.
-- Une partie du code a été rétro analysé a partir de diverses sources cf https://github.com/jeantil/admission_post_bac/wiki
--
FUNCTION gen class alea V1 relatif grp(
o_g_ea_cod_ins IN VARCHAR2,
o_g_ti_cod IN NUMBER,
@Bostonncity
Bostonncity / installer.sh
Created December 20, 2015 08:11 — forked from panbanda/installer.sh
Install Screaming Frog in the Amazon AWS Cloud
# Setting up Ubuntu
sudo apt-get update
sudo apt-get -y install xfce4 xfce4-goodies openjdk-7-jdk vnc4server
# Setup the login and configs
vncserver
vncserver -kill: 1
# Uncommenting settings required for normal vnc startup
sudo sed -i.bak s/"# exec"/"exec sh"/g ~/.vnc/xstartup
@cletusw
cletusw / .eslintrc
Last active February 29, 2024 20:24
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
{
// http://eslint.org/docs/rules/
"ecmaFeatures": {
"binaryLiterals": false, // enable binary literals
"blockBindings": false, // enable let and const (aka block bindings)
"defaultParams": false, // enable default function parameters
"forOf": false, // enable for-of loops
"generators": false, // enable generators
"objectLiteralComputedProperties": false, // enable computed object literal property names
@addyosmani
addyosmani / package.json
Last active May 21, 2024 19:56
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
@bearded-avenger
bearded-avenger / blur.less
Created October 27, 2014 13:20
CSS Blur - No IE Support
.abs-pos-img-div {
position: absolute;
top:0;
left:0;
width:100%;
height:100%;
background-size:cover;
background-position:center center;
z-index: 0;
.translate3d(0, 0, 0);