Category Archives: linux

Handling files with python

You know now how to write a multi-platform GUI with Tkinter. I don’t know what your GUI is doing, but it’s good to know a few things about how to log them. For that and for other purposes, we need … Continue reading

Posted in bash, centos, linux, mac, osx, python, Uncategorized | Leave a comment

LDAP and sshtunnel : remote user identification techniques with python

I need to check the identity of one active directory (AD) user on a computer that is not a member of the AD. If you don’t understand what I’m speaking about, I envy you 😀 I was working with python … Continue reading

Posted in bash, centos, linux, mac, osx, python, software | Leave a comment

ssh login ignoring bashrc

A small post for a small problem. I was editing my bash profile when I closed all my ssh windows to the remote machine I was working on, just to find out due to my (incomplete) modification I was not … Continue reading

Posted in bash, centos, containers, linux, mac, osx, software, windows | Leave a comment

A Tkinter python multi-platform app/GUI

We wrote on python/wxpython Hello World a very simple window/gui. This time we are going to do it for real. The aim is to write “the app/GUI” that will run one command or another depending on the OS. We are … Continue reading

Posted in bash, centos, filesystems, linux, mac, python, software, windows, XP | 1 Comment

crYOLO conda error: bad interpreter

Creating a new virtual environment for crYOLO, that implement You Only Look Once for particle picking, I stumbled upon this error. I saw it before, but here we don’t use python so much, I mean, we use it only for … Continue reading

Posted in bits, centos, EM, linux, modules, python, software, sphire | Leave a comment

Enable cockpit on a a new CentOS 7 foreman host

First we install the cockpit plugin in our foreman server cfore: cfore # > foreman-installer –enable-foreman-plugin-cockpit Installing Done [100%] [………………………………] Success! * Foreman is running at https://cfore.mydomain.com Initial credentials are admin / SOME-random-THING * Foreman Proxy is running at https://cfore.mydomain.com:8443Continue reading

Posted in bits, centos, cockpit, foreman, ftp, linux, PXE | Leave a comment

foreman-installer errors: ruby and CMC hardware errors on CentOS7

I do have a foreman docker running. But we can’t play with dockers forever. We need to commit, we need to get serious, we need to get real. I do have something like on the picture above. It’s called a … Continue reading

Posted in bash, CMC, cobbler, docker, foreman, hardware, linux, PXE, ruby, yum | Leave a comment