Programming, Math and Physics
https://penrose.ink/siggraph20.html Math visualization
https://jupyterbook.org/
https://quarto.org/ open-source scientific and technical publishing system
https://www.tadviewer.com/
https://vdt-labs.com/easy-csv-editor/
https://superintendent.app/
https://github.com/Eugene-Mark/bigdata-file-viewer
https://github.com/DaveJarvis/keenwrite/blob/main/docs/screenshots.md
https://lapce.dev/
https://news.ycombinator.com/item?id=37993575
https://habr.com/ru/companies/globalsign/articles/758568/
https://news.ycombinator.com/item?id=37110628
https://smallpdf.com/ru
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
https://helix-editor.com/
https://github.com/helix-editor/helix/releases
https://www.youtube.com/watch?v=9Zj-wiQ9_Xw
https://nova.app/
https://habr.com/ru/post/687482/
https://lite-xl.com/
https://lite-xl.github.io/
https://betterprogramming.pub/bored-of-vs-code-try-lite-xl-76d4cb3f8dda
https://news.ycombinator.com/item?id=27358479
.vimrc
autocmd BufWritePre * %s/\s+$//e
VS Code: whitespace trimming at file save time from settings: File → Preference → Settings → Text Editor → Files → (scroll down a bit) to see checkbox Trim Trailing Whitespace
https://lobste.rs/s/e5lx5p/what_note_taking_team_wiki_personal_wiki
https://github.com/mhinz/vim-galore
### csv plugin https://www.vim.org/scripts/script.php?script_id=2830
Open csv.vmb in Vim and source the file:
:so %
This will install the plugin into your $HOME/.vim/ftplugin directory and the documentation into your $HOME/.vim/doc directory.
mkdir -p ~/.vim/pack/my-plugins/start
git clone https://github.com/chrisbra/csv.vim ~/.vim/pack/dist/start/csv
:helptags
https://github.com/chrisbra/csv.vim
https://news.ycombinator.com/item?id=30084913
:w !sudo tee "%"
https://github.com/chrisbra/csv.vim CSV viewer
https://jaredgorski.org/writing/6-a-vim-puff-piece/
https://changelog.com/podcast/450
https://vim-bootstrap.com/
https://thevaluable.dev/vim-veteran/
https://thevaluable.dev/vim-expert/
https://habr.com/ru/company/avito/blog/682962/
https://toroid.org/modern-neovim
https://habr.com/ru/post/585222/
https://www.lunarvim.org/01-installing.html
https://codefaster.substack.com/p/look-ma-no-mouse-vimium
https://www.youtube.com/watch?v=u9tqwIzRZ8I Latex
Lyx
https://latex-cookbook.net/
https://news.ycombinator.com/item?id=29672872
https://habr.com/ru/company/skillfactory/blog/593999/
https://news.ycombinator.com/item?id=24741077
https://www.overleaf.com/learn
https://artofproblemsolving.com/wiki/index.php/LaTeX:LaTeX_on_AoPS
https://www.texstudio.org/
https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop Latex
https://www.youtube.com/watch?v=331YxgOJUGw
https://medium.com/@mathcube7
https://www.youtube.com/watch?v=IAF8DjrQSSk
Jupyter Book takes one or more Jupyter Notebooks and converts them into a static “book” output (looks like it primarily targets HTML output but with LaTex/PDF possible)
https://blog.jupyter.org/announcing-the-new-jupyter-book-cbf7aa8bc72e
https://news.ycombinator.com/item?id=24136955
https://www.reddit.com/r/javascript/comments/cti3xs/why_you_should_use_eslint_prettier_and/
https://www.freecodecamp.org/news/the-guide-to-using-eslint-and-prettier-in-a-react-app/
CompareIt! (Windows) WinMerge (windows)
https://github.com/dandavison/delta
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.FileDiffer VS Plugin
https://github.com/dandavison/delta
https://github.com/ynqa/diffy
https://github.com/ymattw/ydiff
https://github.com/so-fancy/diff-so-fancy
https://unix.stackexchange.com/questions/196565/how-to-color-diff-output
https://yousseb.github.io/meld/
https://github.com/ymattw/ydiff
https://github.com/so-fancy/diff-so-fancy
In order to make it your default Git pager, run this:
git config –global core.pager “diff-so-fancy | less –tabs=4 -RFX” |
alias diff=”diff-so-fancy”
ranger https://www.youtube.com/watch?v=47QYCa8AYG4 . vifm
https://www.youtube.com/watch?v=EGBEIb2DgtQ . lf
https://www.youtube.com/watch?v=cnzuzcCPYsk nnn
if you mean the C-g behaviour then you need to set $NNN_TMPFILE:
nnn() {
declare -x +g NNN_TMPFILE=$(mktemp --tmpdir $0.XXXX)
trap "rm -f $NNN_TMPFILE" EXIT
=nnn $@
[ -s $NNN_TMPFILE ] && source $NNN_TMPFILE
}
You can use a static file if you're sure you'll never be running more than one instance.
I'd prefer something like:
nnn() {
local tmp=$(mktemp --tmpdir $0.XXXX)
trap "rm -f $tmp" EXIT
=nnn -p $tmp $@
[ -s $tmp ] && cd ${"$(< $tmp)":h}
}
That will cd to the selected file's directory with enter/right, or do nothing if you simply quit.
I guess it depends if you use it for browsing a lot or simply picking a file.
Pressing `!` in the target directory will open a new terminal session within nnn, with that path as working dir.
When you `exit` you'll land in nnn again.
It's not exactly the same but close enough for me.
If you like terminal productivity I recommend: fzf https://betterprogramming.pub/meet-fzf-a-fuzzy-finder-to-enhance-your-command-line-workflow-a2890f6a70f8 Facebook path picker (aka fpp), fd, ripgrep, lf, tig
Some honorable mentions: tokei, hyperfine, lazydocker, ctop, ncspot. bat, exa, percol, GNU dialog or zenity, xsv, ministat, gnuplot, tshark, mitmproxy.
Plus any project from sharkdp and burntsushi and any tools recommended by Brendan Gregg.
ht editor is a personal favorite too (press F6 and go to image to get started).
https://codepen.io/davidrv/full/amkWdw/
https://stackoverflow.com/questions/3001177/how-do-i-grep-for-all-non-ascii-characters
grep on OSX 10.8 no longer supports PCRE (“Perl-compatible regular expressions”) as Darwin now uses BSD grep instead of GNU grep.
grep --color='auto' -P -n "[\x80-\xFF]" file.xml
https://stackoverflow.com/questions/18649512/unicodedecodeerror-ascii-codec-cant-decode-byte-0xe2-in-position-13-ordinal
https://news.ycombinator.com/item?id=21564990
https://news.ycombinator.com/item?id=21513337
https://avdi.codes/tools-for-turning-descriptions-into-diagrams/
https://news.ycombinator.com/item?id=21491715
https://news.ycombinator.com/item?id=21458977
avro and parquet viewer:
https://plugins.jetbrains.com/plugin/12281-avro-and-parquet-viewer
https://www.vimfromscratch.com/articles/awesome-command-line-tools/
https://github.com/sharkdp/bat . bat
alias cat=”bat”
https://kakoune.org/
https://www.moolenaar.net/habits.html
https://news.ycombinator.com/item?id=24363225. vim as C++ IDE
https://lobste.rs/s/du8i6z/5_lines_i_put_blank_vimrc
” | vim -“ instead of less |
:wq. vs :x
https://www.youtube.com/watch?v=Gs1VDYnS-Ac
http://vi-essentials.palashkantikundu.in/
https://jemma.dev/blog/intermediate-vim-tips
Linting: python-mode. IMHO it provides very good linting out of the box
Completion: jedi-vim. Jedi for python is great!
mkdir -p ~/.vim/pack/michael/start
cd ~/.vim/pack/michael/start
git clone https://tpope.io/vim/fugitive.git
vim -u NONE -c "helptags fugitive/doc" -c q
-- gitgutter
git clone https://github.com/airblade/vim-gitgutter.git
vim -u NONE -c "helptags vim-gitgutter/doc" -c q
--- inside vim:
:GitGutterLineHighlightsEnable
:set signcolumn=yes
https://news.ycombinator.com/item?id=24287566
:sp/:vsp,
can edit remote files over scp,
:E,
:earlier, and now
:term,
https://danielmiessler.com/study/vim/
https://www.youtube.com/watch?v=E-ZbrtoSuzw
https://www.youtube.com/watch?v=futay9NjOac
https://www.youtube.com/watch?v=SLQWQ_R4bRI&list=PLRjzjpJ02WDMJOTsrdByXynk8h0ScMK9R
% -matching brackets
ctrl-f scrolls down a page
ctrl-b scrolls up a page
Ctrl-d scrolls down half a page
ctrl-u scrolls up half a page.
^ takes you to the beginning of a line,
$ to the end of a line
https://stackoverflow.com/questions/1445992/vim-file-navigation
https://www.vimfromscratch.com/articles/vim-for-python/ Python
http://liuchengxu.org/posts/use-vim-as-a-python-ide/ Python
https://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
https://habr.com/ru/post/468265/
http://ismail.badawi.io/blog/2014/04/23/the-compositional-nature-of-vim/
https://www.youtube.com/watch?v=5r6yzFEXajQ tmux+vim
https://www.youtube.com/watch?v=XA2WjJbmmoM
https://www.youtube.com/watch?v=3TX3kV3TICU Autocompleteon
https://statico.github.io/vim3.html
https://danielmiessler.com/study/vim/
https://dougblack.io/words/a-good-vimrc.html
https://boddy.im/vim-dev-env.html
http://www.viemu.com/a-why-vi-vim.html
https://curi0sity.de/en/2018/06/use-vim-as-a-simple-ide/
https://github.com/morhetz/gruvbox/wiki/Installation Color sheme gruvebox
https://github.com/helix-editor/helix
https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker Spell Checker
https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh-edit Remote SSH
https://marketplace.visualstudio.com/items?itemName=formulahendry.docker-explorer Docker Explorer
Find matching bracker: Cmd Shift \
Shift code block left: Shift+ Tab Shift code block left: Tab
Markdown viewer plugin https://marketplace.visualstudio.com/items?itemName=shd101wyy.markdown-preview-enhanced
To invoke from command line
sudo ln -s /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code /usr/local/bin/code
Or add this to PATH
~/.zprofile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
Git History https://marketplace.visualstudio.com/items?itemName=donjayamanne.githistory
PATH=$PATH:"/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
https://marketplace.visualstudio.com/items?itemName=shardulm94.trailing-spaces
https://habr.com/ru/company/microsoft/blog/472228/
https://habr.com/ru/company/edison/blog/479828/
https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens . GitLens
https://marketplace.visualstudio.com/items?itemName=tomaszbartoszewski.avro-tools AVRO Tools
https://code.visualstudio.com/blogs/2019/10/03/remote-ssh-tips-and-tricks SSH
https://www.jonrcorbin.com/the-best-vs-code-extension-list-for-full-stack-developers/
https://code.visualstudio.com/docs/introvideos/debugging . DEBUGGING
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
https://neps.academy/blog/how-to-install-and-configure-python-and-vscode
https://habr.com/ru/company/microsoft/blog/471188/ . Python extension
https://devblogs.microsoft.com/python/python-in-visual-studio-code-january-2020-release/ Python extension
https://habr.com/ru/company/tinkoff/blog/461737/
https://medium.com/young-coder/setting-up-javascript-debugging-in-visual-studio-code-6c5005529987
https://habr.com/ru/post/469707/
https://flaviocopes.com/vscode/
https://www.youtube.com/watch?v=sVDizUZesZk
https://code.visualstudio.com/docs/java/java-tutorial
show the diff between two files, with VSCode add to path:
PATH=$PATH:"/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
code –diff file1.js file2.js
https://foicica.com/textadept/
https://micro-editor.github.io/index.html
https://news.ycombinator.com/item?id=23126458
https://github.com/helix-editor/helix Helix