diff options
author | neodarz <neodarz@neodarz.net> | 2018-09-03 10:54:54 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-09-03 10:54:54 +0200 |
commit | 2f23c80043272d4ec4074e126343cdca97855a3f (patch) | |
tree | 9b74c474ad674243efab13dbba81425a1deb99b1 /cheat | |
parent | b41b828fa261bc1a976f49ca89740dae496e8308 (diff) | |
download | dotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.tar.xz dotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.zip |
Add some cheatsheet
Diffstat (limited to 'cheat')
-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 |