diff options
-rw-r--r-- | cheat/.cheat/git | 4 | ||||
-rw-r--r-- | cheat/.cheat/webfont | 6 |
2 files changed, 10 insertions, 0 deletions
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 <commit SHA1> # 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 |