Category Archives: mac

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

macOS and Mac annoyance list

Because not everything out there is Linux. This is a collection of solutions to problems I found while using the bitten apple products. One important issue is always how to write files on an NTFS drive. You can read them but … Continue reading

Posted in android, bash, bits, C, C++, ftp, hardware, mac, NTFS, programming, Uncategorized, windows, yum | 7 Comments

Add a puppet node to a foreman docker

There should be no difference between adding a node on a foreman server and on a foreman docker. But the world is not ideal, and things don’t work out of the box, therefore, here’s my HOWTO. The original source is … Continue reading

Posted in bits, centos, cobbler, containers, docker, foreman, hardware, linux, mac, programming, puppet, Uncategorized | 2 Comments

OSX su versus sudo

I had this weird problem. I need to run some commands with sudo. But I have a root password, why should I sudo something? The answer is simple: the SU password is not the same than the sudo one. So, … Continue reading

Posted in bits, mac, osx | Leave a comment