In the middle of the desert you can say anything you want
timew
TODO finally read the man page and learn to use it right, esp. splitting; look at history for the usual things I do manually (esp. moving back starting time)
In my daily file, I need a better vim shortcut not to move lines to the very bottom, but to the beginning of the following day (===
), should be easy - TODO
So here’s a nice difference w/ Python - in Python, you can set breakpoints everywhere, and you can add something random after the line you want to look at if it’s the last line of the function. In java, I assume some pointless lines are optimized away or considered uninteresting, but you can set a breakpoint to the }
bracket and the end of the function if it’s on a line alone.
(Have yet to find a way to nicely output multiple values in the debugger though.)
What I could do in Python with 2, 3, 'test', function()
I can do in Java by returning an array or whatever, with
Object[] t = {1, 3, 5, "whatever"}
Which is nicely covered by this Live template:
Object[] t = {
$END$
}
that I run via exe<Tab>
Did a lot of python, pandas, jupyter and enjoyed it so much that did not write any of the things I learned here, now they are lost forever. :‘C
Sonderurlaub: Anspruch bei Hochzeit, Todesfall & Umzug | karrierebibel.de - doesn’t get counted in the the number of days for ‘usual’ vacations.
The copied link was:
https://www.arbeitsrechte.de/sonderurlaub/#:~:text=Sonderurlaub%20bei%20Hochzeit,-Die%20Entscheidung%2C%20den&text=Zwar%20erw%C3%A4hnt%20%C2%A7%20616%20BGB%20die%20Hochzeit%20nicht%20ausdr%C3%BCcklich%20als%20Freistellungsgrund.&text=Nicht%20nur%20f%C3%BCr%20die%20eigene,Die%20Silberhochzeit%20(25.)
which of course broke the Markdown. TODO update ym
qutebrowser keybinding to remove stuff starting with … #:~:
maybe?
Things that I selected with vim keybindings can be copypasted with usual qutebrowser keybindings (or mouse).
You can do it if you go in the find-and-replace dialog. Checkbox -> search all
.. is surprisingly hard and implementation-dependant. You can always iterate and look for the not-matched things. [^aeo]
doesn’t really work for capturing groups.
I should really rewrite my timer function to be a) Python, b) better than the current version.
# Timer in zsh
tm() {
local DATE=$(date +'%H:%M:%S %d/%m')
local N="$1"; shift
(utimer -c > ~/s/sounds/outbash $N && mpg123 -q ~/s/sounds/tib.mp3 &
zenity --info --title="Time's Up" --text="${*:-BING} \n\n $DATE")
}
utimer
seeing minutes as m
while everyone else (timew
especially) wanting minutes as min
makes me crazy.
I can remove the tree of files by doubleclicking the tabs!
<Ctrl-Shift-V>
gives a nice choice of things to paste, first thing being the current content of the buffer. The others I assume are historical.
In Tabs Config you can select a small font for them and move them to the left instead of top.
I had two projects, one used code from the other one. The other one is also compiled jars gotten via maven. Had an issue that it used the maven one instead of the manually imported one I wanted it to use, even though Ctrl+Click took me to the ‘right’ directory with the files I wanted it to see.
Sorted out via Project Structure -> Modules -> $modulename -> dependencies, where I deleted the maven one and pointed it to the imported folder/project
People seem to have a naïve view of what “cured” means: someone “gets sick”, is treated, and then returns to the status quo ante. Thus there is little concern about catching the disease (or any disease) when you are not in an “at risk” group.
But hospital discharge just means the treatment you get stops being worth the time/money. Ideally you finish convalescing at home. But any consequential damage isn’t ignored, as if you just had had a dented panel replaced on your car.
Once I understood this error some of the discussion about dealing with the virus made sense.1
Indeed.
Paper about the common OCR errors, containing statistical info about them and having nice clear lists w/ probabilities.
Stachelbeere – Wikipedia ist Крыжовник. English - Gooseberry.
Libreoffice Calc automatically replaces “ß”<->“ss”, unless you tick “Match case”.
You can drag and drop files to the split you want to open them into.
algorithm - Reason for 5381 number in DJB hash function? - Stack Overflow is a nice answer about why numbers may be chosen.
Unix culture values code which is useful to other programmers, while Windows culture values code which is useful to non-programmers. 1
treble - …triple.
I can search through the variables in the debugger by just typing, without any /
shortcut.
String Similarity Algorithms Compared | by Appaloosa Store | Medium compares different edit distance algos, TODO
Third-party doctrine - Wikipedia - is a United States legal doctrine that holds that people who voluntarily give information to third parties—such as banks, phone companies, internet service providers (ISPs), and e-mail servers—have “no reasonable expectation of privacy.”
Changed line to setxkbmap -option -option 'grp:rctrl_toggle, compose:rwin, compose:paus' v5,ruua &
, now the Pause key works as compose too. Will check whether the RWIN works back at home with the keyboard that has a RWIN. 1
For markdown references, updated my old @R
macro to add an additional
`let @R = ‘viw"oyi[^^[^[^[^[A]^[^[^[Go^M[^^[^[^[^[“opA]: ^[^[^[^[’et @R = ‘viw"oyi[^A]Go
For the ^M
/Enter, I used the old <C-v><Enter>
trick. 2
The Toolbox app is actually not bad at all and quite easy to use and the things it installs can actually be run from CLI. It also recognized my manually downloaded intellij - which raises the question how did it do that.
EDIT Do 17 Sep 2020 07:29:48 CEST: but of course the environment variables set in ~/.zshrc
are not going to be set if you launch the toobox app not via CLI. ~/idea/bin/idea.sh
remains my favourite method.
Maven Surefire Plugin – Skipping Tests has nice info and its readable, and I should read through the maven documentation sometime.
To skip maven tests:
mvn install -DskipTests
:devtools window
Added these two nice functions to zsh, for work and not-work:
tt () {task s project:w "$*"}
th () {task s \(sprint.is:$(date +%-V) or sprint:c \) project.not:w "$*"}