Skip to content

Latest commit

 

History

History
303 lines (252 loc) · 9.73 KB

README.md

File metadata and controls

303 lines (252 loc) · 9.73 KB

general

This section/folder covers general topics.

pandoc

pandoc is a flexible document converter. see manual
It can read and write:

  • markdown
  • html
  • odt
  • docx
  • tex
  • pdf
  • epub
  • and more

example

more on github

vscode

Microsoft Visual Studio Code is open source and does not require installation.

LaTex

TUG distribution list

install

yum whatprovides latex
exlive-latex-7:20180414-14.el8.noarch : A TeX macro package that defines LaTeX
Repo        : AppStream
Matched from:
Filename    : /usr/bin/latex
yum install texlive-latex
CentOS-8 - AppStream                            1.3 kB/s | 4.3 kB     00:03    
CentOS-8 - Base                                  16 kB/s | 3.9 kB     00:00    
CentOS-8 - Extras                               6.4 kB/s | 1.5 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 -  22 kB/s |  22 kB     00:01    
Extra Packages for Enterprise Linux Modular 8 - 131 kB/s | 154 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64   26 kB/s |  22 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64  1.7 MB/s | 7.1 MB     00:04    
Dependencies resolved.
================================================================================
 Package                   Arch      Version                 Repository    Size
================================================================================
Installing:
 texlive-latex             noarch    7:20180414-14.el8       AppStream     13 M
Installing dependencies:
 perl-Text-Unidecode       noarch    1.30-5.el8              AppStream    149 k
 perl-XML-XPath            noarch    1.42-3.el8              AppStream     88 k
 texlive-algorithms        noarch    7:20180414-14.el8       AppStream    316 k


 texlive-xunicode          noarch    7:20180414-14.el8       AppStream     51 k
 texlive-zapfding          noarch    7:20180414-14.el8       AppStream     72 k
 zziplib                   x86_64    0.13.68-8.el8           AppStream     91 k

Transaction Summary
================================================================================
Install  104 Packages

Total download size: 143 M
Installed size: 245 M
Is this ok [y/N]: y
Downloading Packages:
(1/104): perl-XML-XPath-1.42-3.el8.noarch.rpm   354 kB/s |  88 kB     00:00    
(2/104): perl-Text-Unidecode-1.30-5.el8.noarch. 506 kB/s | 149 kB     00:00    

git

graph TD;
	EM --> NCT00;
	NCT00 --> NIF00;
	NCT00 --> NIF01;
	NIF00 --> CM00;
	NIF01 --> CM01;
Loading
graph LR;
	A(SFC00) --> B(node control 00);
	B --> CM00N(NIF 00);
	B --> CM01N(NIF 01);
	CM00N -- udtIFF_CMT --> CM00C(CM 00);
	CM01N -- udtIFF_CMT --> CM00C(CM 00);
	
Loading

git local

step comment
exp
install git scm
use git-bash for linux shell (bash)
use git-cmd for window shell
bash
clone repository locally using bash
base
clone repository locally using cmd
enter your password, note: ssh public key has to be registered on c.s.c in advance
wait until done
exp
use file explorer to verify
gui
consider using git gui
Stage Changed
Commit
Push
cmt
select branch and push
msg
in case you are not uptodate pull first
exit git gui
bash
bash
git pull to merge changes into your local data
git push after having resolved problems
bash
folder .git has to be found in parent

git local vscode

Microsoft offers a open source Visual Studio Code

Version: 1.27.2 (system setup)
Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f
Date: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
step comment
win10
about
vscode
install MS Visual Studio Code
vscode
msvsc is able to stage changes, commit and much more in a convenient way
vscode
review window is able to render markdown files
vscode
launch "C:\Program Files\Microsoft VS Code\Code.exe" from git-scm shell (CMD or BASH) to inherit ssh settings
vscode
enter phrase ...

git lfs

git lfs track "*.png"
git lfs track "*.pdf"
git lfs track "*.zip"
git lfs track "*.7z"
git lfs track "*.tar"
git lfs track "*.gz"
git lfs track "*.exe"
git lfs track "*.xls"
git lfs track "*.xlsm"
git lfs track "*.xlsx"
git lfs track "*.doc"
git lfs track "*.docx"
git lfs track "*.vsd"
git lfs track "*.vsdx"
git lfs track "*.vss"
git lfs track "*.vssx"
git lfs track "*.ppt"
git lfs track "*.pptx"
git lfs track "largefiles/*.xml"
git lfs track "largefiles/*.csv"

commit .gitattributes

git lfs ls-files

migration

git lfs migrate import --include "*.jpg,*.png,*.pdf,largefiles/*.xml" --include-ref=refs/heads/master

useful tutorial

migrate existing repos

git clone --mirror git@<site>:<group>/<repo>.git
cd <repo>.git
git lfs migrate import --everything --include "*.png"
git lfs migrate import --everything --include "*.pdf"
git lfs migrate import --everything --include "*.zip"
git lfs migrate import --everything --include "*.7z"
git lfs migrate import --everything --include "*.tar"
git lfs migrate import --everything --include "*.gz"
git lfs migrate import --everything --include "*.exe"
git lfs migrate import --everything --include "*.ppt"
git lfs migrate import --everything --include "*.pptx"
git lfs migrate import --everything --include "*.vsd"
git lfs migrate import --everything --include "*.vsdx"
git lfs migrate import --everything --include "*.doc"
git lfs migrate import --everything --include "*.docx"
git lfs migrate import --everything --include "*.xlsm"
git lfs migrate import --everything --include "*.xlsx"
git lfs migrate import --everything --include "*.xls"
git lfs migrate import --everything --include "*.vss"
git lfs migrate import --everything --include "*.vssx"
git lfs migrate import --everything --include "largefiles/*.xml"
git lfs migrate import --everything --include "largefiles/*.csv"
git reflog expire --expire-unreachable=now --all
git gc --prune=now
git push --force