Niels K.

The Pilot Frixion Gel Pen is really good. Its grip is great, it dries fast and the eraseability is awesome.

A friend went into an electronic discounter & got a laptop recommended with 4GB RAM and a slow HDD. The moment windows update does stuff it gets slow as hell & she wonders what the problem could be. Dear discounters people really think they get good advice from your sales people.

Tomorrow I‘ll receive a new Bulletjournal and Frixion gel pens. Let‘s see if I can get into paper again in 2018. For studying I believe in paper more anyways for taking notes and exam preparation. Laptops are great for writing papers but not for getting stuff into your head.

As I have written before I will soon start studying CS part-time. Any recommendations for getting through math (besides visiting every session and doing all the homework - that’s how I got through all those math (or heavy on math) courses in economics at least)? Any good books?

And the next question is: what do your roleplaying-characters tell about you?

How does it come that the bios of my shadowrun-characters get darker & grittier the older I get? In the past it was the cool hacker, the war hero who used his skills in a more profitable way. Today it is the hardened criminal, abused as a kid, trying to survive in a world of pain

‪What do I do next as a private project? Move my wordpress-installation (right now on a FreeBSD-VM) to OpenBSD or move it to jails (one nginx/php, one MySQL) in FreeBSD…hm…‬

‪Ich empfehle übrigens allen Quality Land von Marc-Uwe Kling zu lesen oder zu hören. Gerade denen die Technikentwicklung und mögliche Folgenabschätzung nicht so verfolgen. Das Hörbuch macht Spaß aber auch Sorgen. ‬

I really like how Fitbit sends me a mail when my Charge 2 is nearly empty, so that I know that I should recharge it soon

My main use of Japanese these days: answering questions on Quora from time to time I wish it could be more useful.

‪Oh @nelstrom is writing a new book and you can already buy it‬ ‪pragprog.com/book/modv… #vim #neovim‬

An interesting article you should read: “A journey through a land of extreme poverty: welcome to America” www.theguardian.com/society/2…

‪There were some snapshots on my FreeNAS from June that didn’t get deleted. They just used up several hundred GB and I wondered where all my space went. ‬

‪Mr Robot Season 3 finished. Now I curious about things to come. ‬

I want this, too: in Iceland there is a tradition that people give each other books as Christmas presents, open them right away and read the rest of the evening while drinking hot chocolate etc jolabokaflod.org/about/fou…

freebsd-update forgot to install three files which led to me not being able to log in anymore after a reboot. Yeah ipmi. Copied the files from my machine to an iso, mounted that, copied the files to the correct location and it worked again. What a fuck up

I added today the task “Develop master plan for 2018” onto my todo-list for tomorrow… 1.5 weeks left until vacation \o/

Script to "centralize" checking for updates on FreeBSD

I have to administrate several FreeBSD-servers and I need to know which servers need updates. Eveen though I have a poudriere running, I also have a local ports-tree on the machines because they are either not using the poudriere because they are not migrated to it yet or there was some reason to have a locally compiled package. Now I want to know daily which servers need package-updates and if any server has packages that have known CVEs. Thus I update the index of the portstree daily with the following cronjob for root:

0 3 * * * portsnap -I cron updateI have several “classes” of servers, thus I want mails for every class of server. For each class I have a cronjob like this in my personal crontab (or you could put it on one of your servers): 0 6 * * 1-5 /usr/local/scripts/check_for_updates.sh class1The user needs to be able to log into each server with an ssh-key.


#!/bin/sh

TMPFILE=`mktemp`
case $1 in
class1)
SERVERS="server1 server2"
MAILADDRESS="my@mailaddress.foo"
;;
class2)
SERVERS="server3 server4 server5"
MAILADDRESS="my@mailaddress.foo"
;;
private)
SERVERS="privateserver1 privateserver2"
MAILADDRESS="myprivate@mailaddress.foo"
;;
esac

for i in $SERVERS; do
  echo "$i:" >> $TMPFILE
  update_count=`ssh $i "pkg version" | grep \< | wc -l`
  if [ $update_count -gt 0 ]; then
    echo "$i needs $update_count updates" >> $TMPFILE
    ssh $i "pkg version" | grep \< >> $TMPFILE
    echo "" >> $TMPFILE
    echo "" >> $TMPFILE
    ssh $i "pkg audit" >> $TMPFILE
  else
    echo "$i needs no updates" >> $TMPFILE
  fi
  echo "" >> $TMPFILE
  echo "" >> $TMPFILE
done

mail -s "$1 update status" $MAILADDRESS < $TMPFILE
rm $TMPFILE

mail -s "$1 update status" $MAILADDRESS < $TMPFILE
rm $TMPFILE

Yeah, the certificate from my university came and I have now officially a Magister. And in good old Magister-tradition I needed 20+ semesters ;)

And tonight I will fill out the application for starting a B.Sc.-program in Computer Science :)

Ich glaube ich habe gerade das erste Mal bewusst den Gender-* benutzt

Some very nifty ssh-tips in this article: blogs.perl.org/users/smy…

Order pizza from vim: github.com/arithran/…

Ok, Bud Spencer und Terence Hill auf Italienisch zu sehen ist ungewohnt.

This looks interesting. Chatting just with a ssh-client

https://2ton.com.au/sshtalk/

Well, FML. macOS 10.13, root-problem published. I set a root-password. I install Security 2017-001 which should fix the problem. I couldn’t even unlock with the set pw, thought I mistyped. I installed 10.13.1 and root works without a password again. Thanks Apple!