Follow me
-
Recent Posts
calendar
April 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Author Archives: Thomas Cokelaer
Fedora 15: firefox bookmarks subfolder icons missing
You need first to install dconf-editor if not already done: sudo yum install dconf-editorsudo yum install dconf-editor launch it and go to org->gnome->desktop->interfaceorg->gnome->desktop->interface set menus-have-icons=true.
How to setup PHP under fedora
The following solution to install Apache, MySQL and PHP was checked under Fedora 15 distribution. First, you need to install the relevant packages: su #for root login, enter password when prompted yum install mysql-server service mysqld start mysqladmin -u root … Continue reading
How to mount a USB key
With the most recent distributions of Linux, and their GUI environment, mounting a USB key is automatically done when inserting the key. Yet, sometimes, it is useful to mount it yourself (for instance, when running Linux in level 3). Once … Continue reading
Fedora 15: how to enable the “delete” key
A “missing” shortcut in Fedora 15 as compared to previous Fedora distributions is the “delete” key: when you wanted to remove a file or a folder, you simply had to press the “delete” key. There is no such keyboard short … Continue reading
Fedora 15: post installation
Once in a while I install a fresh version of Fedora (or ubuntu). Of course, the installation process provides most of the basic tools (browser, editor…) but you miss you favorite ones. Each time, you need to repeat some identical … Continue reading
Linux command: cut (to extract information from text files)
It is very common in data analysis to have to deal with text files containing CSV data or data in columns/rows. Sometimes you just want to look at the third column only, so you try to find a nice little … Continue reading
Skype video missing under linux
In principle in the options->advanced section you should have a section called video devices If not, then quit Skype, and create this environmental variable export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.soexport LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so Restart Skype and go to options->advanced->video devices that should be available now. Tested … Continue reading
What is Virtualenv
Virtualenv is a tool to create isolated Python environments. Its usage could be very useful when dependencies and versions are tricky. Imagine you have an application that needs version 1 of a library, but another application requires version 2. If … Continue reading
Mount an ISO file under linux with bchunk
The tool bchunk can be used to mount an ISO file. Under Fedora 9, you could use it as follows. First, you need to install it: yum install bchunkyum install bchunk bchunk converts a .cue (and its pair-wise .bin) file … Continue reading
Combine AWK and SED to create symbolic links
The unix tools AWK and SED are very powerful tools to manipulate files and perform text processing tasks. It’s true that the syntax is not always very intuitive but it can help you in performing task in a single line. … Continue reading