Skip to content

Instantly share code, notes, and snippets.

LudoO ludoo0d0a

Block or report user

Report or block ludoo0d0a

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
ludoo0d0a /
Created Jun 12, 2019 — forked from donarb/
Automator service to clone Git repos in Mac Finder
# Use this to quickly create a git repo in a Mac Finder folder
# You need to create an Automator service:
# - Open Automator, choose to create a new Service
# - At the top, select Service receives selected "Folders" in "Finder"
# - From the list at the left, choose Library/Utilities, then drag the
# Run Shell Script action to the workarea
# - Paste the script below into the script area
# - Make sure you set the 'Pass input:' selection to "as arguments"
# - Save the service with an easy to find name, I used "Git Clone Here"
ludoo0d0a / macos_finder_open_folder_in_IntelliJ
Last active Jun 7, 2019
Open folder into IntelliJ from MacOs Finder
View macos_finder_open_folder_in_IntelliJ
# How to oget an icon to easily open folder into IntelliJ from MacOs Finder
Use tools made with Automator (better, faster, stronger...) :
# Here is the old deprecated way :
(Multiple finder or multiple idea projects works badly)
ludoo0d0a / Bpmn Viewer.user.js
Created Jun 5, 2019
Bpmn Viewer for github
View Bpmn Viewer.user.js
// ==UserScript==
// @name Bpmn Viewer
// @namespace
// @version 0.1
// @description Show a source Bpmn as a diagram
// @author LudoO
// @match*.bpmn
// @require
// @require
// @grant GM_xmlhttpRequest
ludoo0d0a / git fetch all remote branches
Created Nov 4, 2018
Git - Fetch all remote branches in one command
View git fetch all remote branches
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
ludoo0d0a / docker-compose.yml
Created Nov 25, 2017
Docker configuration for Elasticsearch 6 (cluster 2 nodes) + Kibana 6 (version OSS)
View docker-compose.yml
version: "2.2"
container_name: elasticsearch
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
View MacOs keyboard shortcuts
# Macos keyboard shortcuts
[ => Shift + Alt + (
] => Shift + Alt + )
| => Alt + Maj + L
} +> Alt + )
] => Shift + Alt + )
{ => Alt + (
[ => Shift + Alt + (
ludoo0d0a / gist:b2f910b9591849a09270cb49b94f30f5
Last active Nov 1, 2018
Update / upgrade firmware Synology DSM - System partition size issues
View gist:b2f910b9591849a09270cb49b94f30f5
Impossible de faire la mise à jour Synology DSM:
Message d'erreur:
Capacité insuffisante pour la mise à jour. La partition système requiert au moins 400 Mo
Se connecter en ssh au nas:
sudo du -d 3 -xm /
ou (pour obtenir les 10 plus gros répertoires)
ludoo0d0a / font-inspector.js
Created Sep 12, 2017
<Font inspector> To list all unicodes glyph characters for a font family on an already existing web site.
View font-inspector.js
/*eslint-disable */
Copy paste this code in Chrome console. Then execute
fontlist('MyFontFamily', 0, 200);
It will display the dictionary for all characters and their mapping with the right rendered glyph.
function fontlist(name, start, end, range){
var ID = 'font-list', IDS= 'style-'+ID;
View gist:2704333073b56742510e328b5d055271

1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
ludoo0d0a /
Created Sep 4, 2017
github ssh keys AND no password

A common mistake is cloning using the default (HTTPS) instead of SSH. You can correct this by going to your repository, clicking the ssh button left to the URL field and updating the URL of your origin remote like this:

git remote set-url origin

See, make sure you are cloning your repos using ssh:

You can’t perform that action at this time.