In the middle of the desert you can say anything you want
This tutorial and extension could separate about 30% of the pictures with the default settings. Margins (and margins to the sides of the image!) are important.
is done by putting the .scm
file to /usr/share/gimp/2.0/scripts/
This tutorial is freaking awesome.
Given the number of images I was dealing with manually configuring each one was not an option. What I wanted was a service that would, given my image collection, just print me a photo album of approx 6x4 images, in chronological order, two per page, with a caption below each detailing the image file name and the date taken.
It provides a .tex
album file and a Python2 file which reads the Exif data and creates a photos.tex
which gets included in the main album file.
scanimage
(SANE) is a “a library and a command-line tool to use scanners”.
sudo scanimage -L
to see the list of scanners, then to scan (for me also with sudo
for some reason):
sudo scanimage --device "xerox_mfp:libusb:002:004" --format=png > name.png
Added a date format to my command line alias:
alias le="ledger -f ~/p/f/l/ledger.txt --strict --date-format '%Y/%m/%d'"
for my date formats.
Also to represent bought currencies, I think the way to do it is:
2019/02/25 Exchanged 100$ for 74.81 at XXX Assets:Cash:Wallet E74.91 @ $100 Assets:Cash:Fund:USD
* It would be interesting to do an implementation of [this xkcd](https://xkcd.com/2112/) using data from Twitter with 'intensity' defined as 'more or less interaction that the norm for this user'
To exclude tasks of a certain project, the syntax for the filter is project.not:projectname
.
Also added a new report for tasks which will never be finished – anki, cleaning, basic org etc., but that I still want to track with timewarrior. t m
now returns me all such tasks.
I find myself grepping through the dict.cc raw file, I might build a script to do that for me. But I often need to find a word with the condition that it’s the first thing on a line, instead as partof a bigger sentence.
^
helps. /^Dru
gives me the lines which start with “Dru”.
d3b 70% Mon 25 Feb 2019 12:16:05 PM CET d3b 79% Mon 25 Feb 2019 12:17:50 PM CET d3b 64% Mon 25 Feb 2019 12:19:26 PM CET d3b 57% Mon 25 Feb 2019 12:21:00 PM CET d3b 86% Mon 25 Feb 2019 12:22:34 PM CET d3b 86% Mon 25 Feb 2019 12:24:38 PM CET d3b 71% Mon 25 Feb 2019 12:27:23 PM CET d3b 50% Mon 25 Feb 2019 12:28:57 PM CET
Deleted VK account. Saw another Verteidigung. Backed up my Android. Finished a ton of small things that I was postponing for weeks.
Using this tutorial:
adb backup -apk -shared -all -f backup-file.adb
To restore: adb restore backup-file.adb
-M
gives monthly transactions.
As I was looking for ideas for small businesses, I found this nice website with small easy microwave recipes: https://www.minmaxmeals.com/recipes/garlic-oatmeal/, and I’ll try today the linked one. In general having such a database of go-to dishes would be quite nice, because I forget about mine often.
For categories, I again used this nice tutorial.
When outputting posts, {%raw%}{{post.excerpt}}{%endraw%}
either takes the first paragraph or a separator.
The separator can be set in config.yml
: `excerpt_separator:
`
published: false
in the front matter. I like this more than the official draft mechanism.
A really elegant way to delete the tags surrounding something:
yitvatp
Tag blocks *tag-blocks* For the "it" and "at" text objects an attempt is done to select blocks between matching tags for HTML and XML. But since these are not completely compatible there are a few restrictions. The normal method is to select auntil the matching . For "at" the tags are included, for "it" they are excluded. But when "it" is repeated the tags will be included (otherwise nothing would change). Also, "it" used on a tag block with no contents will select the leading tag.
Just discovered this randomly after a typo. @@
repeats the last @-macro I used. This will save me really a lot of time!
In this article, this nice way has been mentioned:
def safe_division(*, number, divisor, ignore_overflow, ignore_zero_division):
It forces all arguments after *
to be named during call:
>>> safe_division(number=10**1000, divisor=3**-100, ignore_overflow=True, ignore_zero_division=False)
Add all the new English and German vocabulary to anki, finally.
I BROKE MY TYPING RECORD!!1111111111
(Can jekyll and/or vim do smileys? Apparently it can if you enter the Unicode value of the emoji directly
Test:
π
WOOOOOOOHOOOOOOO
Also I still can just paste them.
Okay, then behold.)
β¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππβ¨β¨β¨πβ¨β¨β¨β¨β¨πππππππππππππβ¨β¨π₯ππ
I still have no idea how that happened, but it’s quite interesting. We’ll see if and how that continues.
Race # Speed Accuracy Points Place Date 83 119 WPM 99.5% 75 2/5 today 82 87 WPM 97.7% 113 1/2 Feb. 8, 2019 81 93 WPM 98.5% 174 1/5 Feb. 7, 2019 80 87 WPM 97.2% 130 4/5 Feb. 7, 2019 79 87 WPM 97.0% 69 3/5 Feb. 7, 2019 78 101 WPM 98.5% 119 2/5 Jan. 31, 2019 77 87 WPM 97.2% 102 2/5 Jan. 31, 2019
And again, for unicode characters inside vim:
<C-v>U1F60A<esc>
Also, for the table above, to make it align right, I had to change the tabs to spaces. Select and :retab
.
Improving performance on the Arch wiki has nice ideas.
hdparm -t /dev/sdX
to measure read speed.
I will later possibly go through the entire page methodically.
typing.com has nice lessons about typing numbers, which I like a bit more than EdClub’s. Next up their advanced symbols to finally learn using the right Shift.
d3b 21% Mon 11 Feb 2019 12:13:52 PM CET d3b 43% Mon 11 Feb 2019 12:17:04 PM CET d3b 57% Mon 11 Feb 2019 12:18:47 PM CET d3b 71% Mon 11 Feb 2019 12:20:35 PM CET d3b 21% Mon 11 Feb 2019 12:22:25 PM CET
Decided to read Dive into Python to finally get a systematic understanding of all of the language.
The most important audience for your code is yourself, six month after writing it.
Limelight.vim is a really cool plugin. Found it linked here
Nasa’s 128 lessons of a project manager. Highlights:
None of these are original–It’s just that we don’t know where they were stolen from!
Although itβs not part of Jerryβs written Lessons Learned, he consistently told his people the following (unwritten lesson):
βShow up early for all meetings; they may be serving doughnutsβ
Finally, Les Meredith (former Director of Space Sciences and Acting Center Director) had this remark to make about Jerry Maddenβs 128 Project Managersβ Lessons Learned:
βGod only gave us Ten Commandments. Jerry has listed over a hundred instructions for a Project Manager. It is evident a lot more is expected from a Project Managerβ
sich mit etw.(Dat) befassen: undertake/concert/deal/occupy/dabble in/with/whatever
https://foursquare.com/v/true-burger-bar/52b02c4211d241652e021bdf – True Burger Bar in Kyiv
Finished “Old Mariner’s ballad”!
Read a number of pages of La Divina Commedia in a format that TIL is called bilingual parallel text, Italian and 1910s-German. It was absolutely fascinating on all possible levels..
Then I painted some random Gothic letters after getting inspired by the German Font the book. {:height=“500px”}.