Blog

Viewing posts by Ernst Sjöstrand

How to install AMDGPU-PRO 16.40 on Ubuntu 16.10

When AMDGPU-PRO 16.40 was released I had already upgraded to Ubuntu 16.10 which wasn't supported yet. And since you can't downgrade Ubuntu I would have to reinstall. Nah.. let's see if we can make it work on 16.10 anyway.

Where did .xsession-errors go?

In the beautiful bliss of the systemd world, you can now find the logs of your session here!

How to monitor for new mounts on Linux (without polling)

When I was googling for this it was quite to hard to find so I thought I'd share. /proc/mounts doesn't publish a stream of events or something like that, the trick is to put the file in the "exceptfds" field. A "special exception" is triggered when it's updated and you can read it from scratch.

Enabling the nginx plugin for letsencrypt

I thought the instructions for enabling plugins in letsencrypt were very confusing so here is a small guide for anyone else stuck on the same problem.

Setting up Kivy with SDL2 and Python 3 on Ubuntu with virtualenv

Kivy has traditionally used Pygame which is a python wrapper for SDL 1.2. However setting up Kivy with Pygame is a bit annoying and since Pygame is very old and unmaintained you don't want to use it anyway.

Upgrading python virtualenv to the latest version on Ubuntu

Virtualenv is great, you should use it! However Ubuntu comes with an old virtualenv, including it's basic dependencies setuptools and pip. The latest version of virtualenv only includes setuptools and pip when you create a new venv so you want up to date versions of those in your global install.

Recent Tweets

  • Fredrick Rybarczyk

    Fredrick Rybarczyk @Fredrick_R

    Ernst Sjöstrand

    SLUTA skriva som om lärarbehörighet vore en särskilt relevant. Våra elever måste få träffa lärare med ämneskunskape… https://t.co/VYMawBky4O
    1 day, 10 hours ago

  • Myq Kaplan

    Myq Kaplan @myqkaplan

    Ernst Sjöstrand

    TRUMP: Mexicans are bad TRUMP: Muslims are bad TRUMP: Media are bad EVERYONE: what about Nazis TRUMP: let's not single anyone out
    2 days, 5 hours ago

  • Åsa Schwarz

    Åsa Schwarz @AsaSchwarz

    Ernst Sjöstrand

    Regeringen börjar nu använda Sveriges tunga kompetens inom cybersäkerhet rätt. @amelsec tillträder som styrelsemedlem hos Trafikverket. =>
    1 week ago


Recent Posts

Archive

2016
2015

Categories

Tags

Authors

Feeds

RSS / Atom