PARANOIDIX

Where technology and lunacy meet

Posts

  • KDE Discover Notification

  • The discover application is nice to use for installing software, however it’s rather annoying that it keeps telling me when updates are necessary. I am well capable of checking for updates myself.

    So if any of the KDE/Plasma developers see this: Fix your shit and put an option in discover to disable the notification.

    Until that happens (if ever) it seems we can work around the problem, which is what this post is about.

  • Jekyll on LXD Container

  • Building static sites with Jekyll is all well and good, but as I tend to re-install my PC from time to time (just for fun or because I broke something beyond repair) I’m always left with getting the build environment for my site up and running again.

    There are of course ways to create an automated build system inside git hosting, but that’s not my cup of tea. I like to be in full control of things and tend to do manual builds.

    I also looked into using docker for building the site files, and that is a possible solution. Noticing it running through a ruby install on every run however made me feel it wasted a lot of time. Maybe that could be changed somehow but I didn’t want to investigate it. (call me lazy)

    Where does that leave me? Well, a while back I started looking into LXD containers. They may be containers just as docker, but they behave more like a mini-virtual machine. This seemed like a fine fit for my requirements and would enable me to setup the build system once and just keep a backup of the image for later usage.

  • Centos Networking

  • Static IPs are typically only used on servers. Remembering how to set it up has always been so-so as it's done only once when setting up the server the first time.
    I've not use Centos much before I started working for my current employer. There we use it constantly though, alongside windows server, and I got into checking it out for my own setup as well.

  • Move to Jekyll

  • As I have grown weary of updating wordpress all the time I have decided to move my blog to static html instead.

    I am using jekyll to archive this and am using a home made theme. If you haven’t tried Jekyll yet, I suggest you do. It’s pretty easy to setup but of course takes a more manual approach and it requires you to re-upload files when they are changed.

  • Ignore case on tab completion

  • This is rather handy if you're not sure of the case of the starting letter of a program you wish to expand to using tab completion.
    All that is needed is that the following line is present in either ~/.inputrc or /etc/inputrc

    set completion-ignore-case on
  • List open network ports

  • Here are a few ways to list open ports in the linux terminal.
    First we'll try lsof.

  • tar

  • As I always forget which switches to use on tar I made this little note.

  • rsync

  • A quick reminder to myself on rsync usage

    $ rsync -Cvrtp <source> <destination>
    C = cvs-exclude
    V = verbose
    r = recursive
    t = times
    p = permissions
    K = keep dir links
  • DNSmasq and Pi-hole

  • For a long time I have been using bind as a LAN DNS server. Just for my local server setup, so that I can use hostnames instead of IP addresses. I found the hosts file to be a bit low-tech, and it was a good chance to learn a little about DNS along the way. :-)

    A short while ago I was watching the Linux Action Show, where the Pi-hole system was introduced. Now being able to block ads before they are even entering the network (or more correctly before they are requested) seems like a super idea to me. So I started reading up on the requirements.

  • Sakura time