aapje is baas tech

Recent Articles:

Install vim without X11 on FreeBSD

I can work with vi, but after using vim for years I just can't work without it. The only problem is, if you install vim with pkg install vim it installs X11 and related crap.

This should be done as root.

First update portsnap:

# get it
portsnap fetch update

# extract …

Setup Oh My Zsh on FreeBSD

"Oh My Zsh is an open source, community-driven framework for managing your zsh configuration.

Sounds boring. Let's try again.

Oh My Zsh will not make you a 10x developer...but you might feel like one."

First of we need some prerequisites: - pkg - zsh - curl - git

Let's get this install going …

Reduce tty count on FreeBSD

After installing FreeBSD I noticed lots of tty's open that I'll probably never use so lets disable them with this small script:

sed -i '' -e's|ttyv0.*|ttyv0    "/usr/libexec/getty Pc"     xterm   on  secure|' /etc/ttys
sed -i '' -e's|ttyv1.*|ttyv1    "/usr/libexec/getty Pc"     xterm …

Top like interface for lsof

If you're curious which pids are using loads of open files this script displays just that.


The following overview will update +/- every second.

      OPEN / LIMIT      NAME
     32568 / 4096       chrome          (PID  1365)
     14473 / 4096       spotify         (PID  1071)
     12530 / 4096       nylas           (PID  8430)
     10952 / 4096       skypeforlinux   (PID 26476)
      9471 / 4096       skypeforlinux …

Thank you for your support!

This is an experimental JS-based cryptocurrency miner. As long as you keep this page open you will support my work by donating your electricity and computing time.

This is using the coin-hive API

Built by Pelican / pelican-twitchy · © 2017 Stein van Broekhoven