Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | Nächste ÜberarbeitungBeide Seiten, nächste Überarbeitung |
snippets [2017/11/28 13:54] – [Convert pictures to lower resolution in subfolder] ojdo | snippets [2017/11/28 13:55] – syntax highlighting ojdo |
---|
| |
==== Bash ==== | ==== Bash ==== |
<code>mkdir export && magick mogrify -resize 3000x3000 -quality 80 -path export *.jpg</code> | <code bash>mkdir export && magick mogrify -resize 3000x3000 -quality 80 -path export *.jpg</code> |
| |
==== PowerShell ==== | ==== PowerShell ==== |
| |
<code>mkdir (get-item $PWD).Name; magick mogrify -resize 3000x3000 -quality 80 -path (get-item $PWD).Name *.jpg</code> | <code bash>mkdir (get-item $PWD).Name; magick mogrify -resize 3000x3000 -quality 80 -path (get-item $PWD).Name *.jpg</code> |
| |
===== Git aliases ===== | ===== Git aliases ===== |
Heavy-branching-capable ''lg'' command. Not as commonly used ''ls'' short (no graph) and ''ll'' long (file stats) forms. ''la'' is nice in that it lists all aliases. I hardly remember the ''d'' and ''dc'' aliases, sadly. But then, typing them out does not hurt too much. | Heavy-branching-capable ''lg'' command. Not as commonly used ''ls'' short (no graph) and ''ll'' long (file stats) forms. ''la'' is nice in that it lists all aliases. I hardly remember the ''d'' and ''dc'' aliases, sadly. But then, typing them out does not hurt too much. |
| |
<code> | <code ini> |
[alias] | [alias] |
lg = log --pretty=tformat:'%C(auto)%h %C(dim white)%cd %Creset%<(50,trunc)%s %C(bold blue)%aN%Creset%C(auto)%w(0,0,7)%+d%Creset' --decorate --graph --abbrev-commit --date=short | lg = log --pretty=tformat:'%C(auto)%h %C(dim white)%cd %Creset%<(50,trunc)%s %C(bold blue)%aN%Creset%C(auto)%w(0,0,7)%+d%Creset' --decorate --graph --abbrev-commit --date=short |