aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-09-03 10:54:54 +0200
committerneodarz <neodarz@neodarz.net>2018-09-03 10:54:54 +0200
commit2f23c80043272d4ec4074e126343cdca97855a3f (patch)
tree9b74c474ad674243efab13dbba81425a1deb99b1
parentb41b828fa261bc1a976f49ca89740dae496e8308 (diff)
downloaddotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.tar.xz
dotfiles_ascii-2f23c80043272d4ec4074e126343cdca97855a3f.zip
Add some cheatsheet
-rw-r--r--cheat/.cheat/git4
-rw-r--r--cheat/.cheat/webfont6
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