Author: johayek

  • Unix, Linux: how to do a proper and secure file transfer in a cronjob

    I got advised to do sftp with an empty passphrase. I got that working. Was pretty straight forward. But is there a better way? With a non-empty passphrase? But how to deal with that passphrase? https://en.wikipedia.org/wiki/ssh-agent https://linuxhandbook.com/transfer-files-ssh/ https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ my buzzword web search: ssh file transfer best practice I do my ordinary SSH handling with an […]

  • how to disable vim syntax colour?

    https://askubuntu.com/questions/339092/how-to-disable-vim-syntax-color http://catb.org/jargon/html/A/angry-fruit-salad.html Of course I like colours – in nature, on people, wherever … – but some colour schemes on computer displays are hard too read – some are awkward or ugly. I am glad, there is a short way to get rid off these colours in VIM. In order to tell a shell console […]

  • creating a line break in Messages for Mac

    https://en.wikipedia.org/wiki/Messages_(Apple) On the Mac, if you want to create a line break in the macOS Messages app by holding down the OPTION key and then hit RETURN to jump to a new line without sending the message. https://osxdaily.com/2014/07/05/type-new-line-break-messages-ios/ I wondered for years, how that would work – always too lazy to look for a solution […]

  • GNU Emacs 28.1 released

    https://lists.gnu.org/archive/html/info-gnu/2022-04/msg00001.html https://emacsformacosx.com – and you can find 28.1 ready-made for macOSX on “Emacs For Mac OS X”

  • quotation: “how sharper than a serpent’s tooth …”

    https://en.wikiquote.org/wiki/Gratitude How sharper than a serpent’s tooth it isTo have a thankless child. William Shakespeare, King Lear (1608), Act I, scene 4, line 310 – https://en.wikiquote.org/wiki/Gratitude How sharper than a serpent’s toothTo hear your child make such a fuss.It isn’t fair —it’s not the truth—He’s fucked up, yes, but not by us. Judith Rich Harris, […]

  • Emacs and Microsoft Windows

    https://www.gnu.org/software/emacs/manual/html_node/emacs/Microsoft-Windows.html https://www.gnu.org/software/emacs/manual/efaq-w32.html C:\Program Files\Emacs\x86_64\share\emacs\VER\README.W32 – read it! for serious! C:\Program Files\Emacs\x86_64\bin\ – where the utilities are located https://ftp.gnu.org/gnu/emacs/windows/ https://ftpmirror.gnu.org/emacs/ I use to download and install emacs-VER-x86_64.zip , it contains “a large number of optional dependencies for Emacs” – maybe you want to install that into c:\opt\emacs-VER\. emacs-VER-installer.exe – a Windows installer – installs into C:\Program […]

  • The English Wikipedia: Manual of Style: National varieties of English

    https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#National_varieties_of_English The English Wikipedia prefers no national variety of English over any other. National varieties of English

  • how to stop videos from automatically playing in the Instagram app – actually you can not

    https://www.carlcare.com/global/tips-detail/stop-videos-from-automatically-playing-on-instagram/

  • Linux: extending the capacity of a filesystem

    https://learning.oreilly.com/library/view/centos-7-linux/9781785887284/ch05s06.html#ch05lvl2sec149 – context: XFS, LVM https://learning.oreilly.com/library/view/linux-powerful-server/9781788293778/ch19s06.html#ch05lvl2sec0151 (by the same authors) In 2022 it looks a little unreasonable to not use LVM but only partitions. Resizing a filesystem on a partition (as opposed to on an LVM volume) should only be done, if / as long as the filesystem is not mounted on that partition. https://linuxconfig.org/how-to-resize-ext4-root-partition-live-without-umount […]

  • Postman REST client

    https://www.postman.com/product/rest-client/ https://hub.packtpub.com/testing-restful-web-services-with-postman/