Skip to content

Instantly share code, notes, and snippets.

View mrflo's full-sized avatar
👋
Trying new ideas

Florent Grandjean mrflo

👋
Trying new ideas
View GitHub Profile
@mrflo
mrflo / ba.sh
Last active December 11, 2018 08:10 — forked from bvolpato/ba.sh
Install Chrome Driver with Xvfb (Debian Server)
#!/bin/bash
sudo apt-get update
sudo apt-get install fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 unzip default-jdk
# Chrome Repo
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
@mrflo
mrflo / MultiNodeTreePickerIdToUdiMigrator.cs
Created August 17, 2022 09:48
Migrate Ids to Udis for Umbraco.MultiNodeTreePicker
using System;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Web;
namespace Sniper.Umbraco
{
public static class MultiNodeTreePickerIdToUdiMigrator
{
@mrflo
mrflo / gist:183f4bfd5d7eac32b3ca1cbefe3a0585
Created September 26, 2022 11:24 — forked from johanmeiring/gist:3002458
"git lg" alias for pretty git log
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"