From 2f23c80043272d4ec4074e126343cdca97855a3f Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 3 Sep 2018 10:54:54 +0200 Subject: Add some cheatsheet --- cheat/.cheat/git | 4 ++++ cheat/.cheat/webfont | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/cheat/.cheat/git b/cheat/.cheat/git index bc1094a..9364438 100644 --- a/cheat/.cheat/git +++ b/cheat/.cheat/git @@ -152,3 +152,7 @@ git cherry-pick # Remove fucking '^M' at each of end of line (where 'file_fucked' is the file who contains '^M' char and 'file_ok' is the same file without this fucking char tr -d $'\r' < file_fucked > file_ok + +# Push to current branch to another branch +# Here push local master on remote dreamer_theme +git push origin master:dreamer_theme diff --git a/cheat/.cheat/webfont b/cheat/.cheat/webfont index be47382..c8504a8 100644 --- a/cheat/.cheat/webfont +++ b/cheat/.cheat/webfont @@ -1,9 +1,15 @@ +# https://github.com/google/woff2 # Permet de générer un woff2 woff2_compress mafont.ttf +# https://github.com/ananthakumaran/webify # Permet de générer un woff sans EOT et SVG car il le fait par défaut webify mafont.ttf ---no-eot --no-svg +# https://github.com/hanikesn/woff2otf +# Permet de génener un ttf à partir d'un woff +./woff2otf.py font.woff font.otf + # En une seul ligne $font=mafont.ttf; woff2_compress $font; webify $font --no-eot --no-svg -- cgit v1.2.1