Follow me
-
Recent Posts
calendar
Recent Comments
- Peter D. on How to use subprocess with PIPEs
- Ali Zhang on About matplotlib colormap and how to get RGB values of the map
- cloud on gimp: how to make a transparent background
- Stan Blum on gimp: how to make a transparent background
- 1125 on pytest-cov collects no data on Travis
Archives
Categories
Meta
Media RSS
Daily Archives: November 2, 2012
yum update failure: Cannot retrieve repository metadata
Sometimes, using “yum update”, the process fails with an error message similar to:: Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free-updates. Please verify its path and try again Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free-updates. Please verify … Continue reading
SED: insert text at the top of a bunch of files
at a line at the top of a file Imagine, you have a set of files ending in .txt, and you want to add the statement #header at the top of each of them. Then, simply type: ls *.txt | … Continue reading