64 private links
Science based practices for a meaningful life
A collection of (at this moment) 1384 blogs about every topic. Somewhat curated by hand and sorted by rough topics. Contains some smaller but also quite a few bigger blogs (hackaday, Macrumours, etc).
The forked (in 2016) version of Asesprite, kept with a copyleft license and updated continually.
Does not reach feature parity with the mother program as far as I know, but should be way enough for some simple/intermediate pixel art.
A fantastic tool for the commandline to quickly get a single view of a csv file. Auto-spaces, auto-indents, automatically tries to find the right numeric scale to display one csv file. Quick, easy, sweet!
(Called tidy-viewer on Archlinux AUR and command)
Jupyter notebooks in the terminal. Run complete notebooks from your commandline for exploratory data analysis, before you use something like quarto for more permanent rendering. Seems very neat.
An oprn source stronghold 1 -like made with LÖVE
A framework for elegantly configuring complex applications.
Configuration management for python projects, may be useful to store simple and repeatable configurations for data science projects as well.
Open-source version control system for Data Science and Machine Learning projects. Git-like experience to organize your data, models, and experiments.
A way to track data - even if it is in different locations - alongside code, mimicking its version control. Seems a little complicated but really useful, especially with additional features like data pipelines that are contained
Tilde (~) goes beyond just denoting the user's home directory in bash:
~fred/foo
# The subdirectory foo of the home directory of the user fred
~+/foo
# $PWD/foo
~-/foo
# ${OLDPWD-'~-'}/foo
~N
# The string that would be displayed by ‘dirs +N’
~+N
# The string that would be displayed by ‘dirs +N’
~-N
# The string that would be displayed by ‘dirs -N’
To print e.g. newline characters with bash printf which interprets the characters EVEN FROM A VARIABLE, do printf "%b" "my\nnewline\nvariable"
.
printf's %b
format specifier was meant specifically to replace echo -e
(actually, the XSI extension to echo which calls for special interpretation of the arguments by default. -e was never specified and is disallowed by POSIX.), and is identical in virtually every way including a few differences from $'...' and the format string argument to printf.
Shipping web projects should be fast, easy, and low risk. Surge is static web publishing for Front-End Developers, right from the CLI.
Quickly deploy static web pages through the cli. Similar to netlify, now.sh and so on. Can be integrated with e.g. woodpecker ci systems with a simple plugin to have preview environments which get automatically destroyed after merging PRs.
$ \curl -L https://get.rvm.io | bash -s stable --ruby
There's no error, it's a little hack to avoid using a curl shell alias if any exists.
This works too :
'curl' (...)
"curl" (...)
/usr/bin/curl (...)
command curl (...)
command -p curl (...)
Remote desktop software that is open source. Really nice alternative to teamviewer, splashtop, remmina and other RDP implementations.
Theme your wallpapers and other images to a couple of well-known color scheme palettes!
Setting up Windows 10 in KVM, using virt-manager. Goes through step-by-step for driver installation and so on, very helpful
An interesting take on dynamic gemini pages: You add %%%-delineated code-blocks which execute shell code.
The output is displayed.
You can have inline variables mimicking shell variables prefixed with % as well (e.g. %$my_awesome_variable
).
With those two building blocks you have a very simple concept, but leadin gto powerful dynamic execution:
Want to execute an advanced python script? Just call it from your shell code!
I am not entirely sure about security implications, however.
Finding the use of <C-G>u was a little hidden. To find out more in vim-help: i_CTRL-G_u
or undo-break
.
For markdown I have the following mappings in ~/.vim/after/ftplugin/markdown.vim:
" Break undo sequence at punctuation marks
inoremap <buffer> . .<c-g>u
inoremap <buffer> ! !<c-g>u
inoremap <buffer> ? ?<c-g>u
inoremap <buffer> , ,<c-g>u
I don't think that this makes a difference in my workflow, because I seldom use undo on text that I just typed. It is more likely that I undo a formatting, deletion or copy command.
An open source, self-hosted implementation of the Tailscale control server
A way to separate multiple table or figure environments in latex:
\newcommand{\beginsupplement}{%
\setcounter{table}{0}
\renewcommand{\thetable}{S\arabic{table}}%
\setcounter{figure}{0}
\renewcommand{\thefigure}{S\arabic{figure}}%
}
Then, when your supplement starts, just add the line:
\beginsupplement
Voila! Instant “Table S1” and “Figure S1”. Enjoy.