Skip to content

Instantly share code, notes, and snippets.

View ludoo0d0a's full-sized avatar

LudoO ludoo0d0a

View GitHub Profile
@ludoo0d0a
ludoo0d0a / resume.json
Last active January 7, 2025 15:20
Ludovic Valente - my Json resume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Ludovic Valente",
"image": "https://www.libravatar.org/avatar/0c1ddc83408f6f3966e7999083692f6d42832e1054640f4cc0a6e45aa2bc6779?d=retro&s=80",
"email": "[email protected]",
"phone": "",
"url": "https://scora.watch",
"location": {
"countryCode": "LU",
@ludoo0d0a
ludoo0d0a / setup.sh
Last active October 18, 2021 04:14 — forked from bradp/setup.sh
LudoO's Mac Setup Script
VERSION=1.0
[email protected]
echo "Creating an SSH key for you..."
ssh-keygen -t rsa -b 4096 -C "$EMAIL"
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
@ludoo0d0a
ludoo0d0a / flutter-upgrade.sh
Last active March 30, 2020 19:50
Flutter upgrade from a fresh install
#!/bin/bash
#
# Flutter upgrade from a fresh install
# version : 1.0
# Can be used in case of androidX migration.
# ios, Android specific configruation are not copied ; use a git merge after execution
#
# Copy this file in /usr/local/bin/ and call it from root source of an existing flutter project.
# It requires : jq, xq and yq installation
@ludoo0d0a
ludoo0d0a / GitCloneHere.sh
Created June 12, 2019 18:03 — forked from donarb/GitCloneHere.sh
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
ludoo0d0a / macos_finder_open_folder_in_IntelliJ
Last active April 20, 2023 06:14
Open folder into IntelliJ from MacOs Finder
# How to oget an icon to easily open folder into IntelliJ from MacOs Finder
Use tools made with Automator (better, faster, stronger...) :
https://github.com/ludoo0d0a/open-in-buttons-for-finder-toolbar
:)
# Here is the old deprecated way :
(Multiple finder or multiple idea projects works badly)
@ludoo0d0a
ludoo0d0a / Bpmn Viewer.user.js
Created June 5, 2019 13:07
Bpmn Viewer for github
// ==UserScript==
// @name Bpmn Viewer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Show a source Bpmn as a diagram
// @author LudoO
// @match https://github.com/*.bpmn
// @require https://unpkg.com/[email protected]/dist/jquery.js
// @require https://unpkg.com/[email protected]/dist/bpmn-viewer.development.js
// @grant GM_xmlhttpRequest
@ludoo0d0a
ludoo0d0a / git fetch all remote branches
Created November 4, 2018 21:19
Git - Fetch all remote branches in one command
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
@ludoo0d0a
ludoo0d0a / docker-compose.yml
Created November 25, 2017 13:21
Docker configuration for Elasticsearch 6 (cluster 2 nodes) + Kibana 6 (version OSS)
version: "2.2"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.0.0
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
@ludoo0d0a
ludoo0d0a / MacOs keyboard shortcuts
Last active September 28, 2020 09:44
Macos Shortcuts
#
# Macos keyboard shortcuts
#
[ => Shift + Alt + (
] => Shift + Alt + )
} +> Alt + )
{ => Alt + (
| => Shift + Alt + L
\ => Shift + Alt + /
~ => Alt + n
@ludoo0d0a
ludoo0d0a / gist:b2f910b9591849a09270cb49b94f30f5
Last active November 1, 2018 15:46
Update / upgrade firmware Synology DSM - System partition size issues
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
Solution:
Se connecter en ssh au nas:
```bash
sudo du -d 3 -xm /
ou (pour obtenir les 10 plus gros répertoires)