Mauriat Miranda     mjmwired

Migrate from Perforce to Git

I had been using Perforce for revision control mostly for Windows and binary files (excel, PDF, etc.). It worked amazingly well and had a powerful GUI! However I finally decided to consolidate on Git. Primary instructions are from git scm In CentOS you will need the helper package: $ sudo yum install git-p4 The following steps worked perfectly for me. My Git projects are in ~/git (where the converted project will end up) My Perforce server is on atlas I use ~/work as my working directory (where I clone, checkout, etc.

Migrate from Mercurial Hg to Git

I had one last Mercurial project that I still actively developed. Everything new I’ve completed restarted with Git but this was a last hold out. I blindly followed this Stack Overflow answer which says to use fast-export. However I ran into the following problem, and the Stack Overflow answer didn’t help much. $ git push origin master remote: error: refusing to update checked out branch: refs/heads/master ... ! [remote rejected] master -> master (branch is currently checked out) error: failed to push some refs to '/home/mirandam/git/project' After some trial and error, the following steps worked exactly how I expected.

CentOS Server and Desktop Updates

I’ve been using my previous hosting provider (PowerVPS) for over 10 years now! They had incredibly reliable service so I never switched. But for the past few years so many smaller companies have been providing much more competitive options. However I was just too lazy to make the switch. Just for fun: the last tweet by @PowerVPS was to me from the last time I purchased a server from them!

Chrome 28 and newer for CentOS 6

Officially Google no longer support Chrome for CentOS 6 (ref). The recommendation (for now) is to either switch to Firefox or Chromium. I decided to go with the second option. Obtain the YUM repository settings here: chromium-el6 repo. First uninstall Google Chrome # sudo yum remove google-chrome To install: # sudo wget -O /etc/yum.repos.d/chromium-el6.repo # sudo yum install chromium Do not launch Chromium immediately, if you want your Chrome settings to transfer over do the following:

Fedora Desktop and Computing

Fedora 18 was released this week and I finally got around to installing it today. To be honest, on either my laptop or desktop I have not really used Fedora much since Fedora 14. I have been incredibly happy with CentOS for over a year and a half now, and I (begrudgingly) accepted Windows 7 on my laptop. Today’s installation of Fedora 18 made me question my use of time. I switched jobs exactly 2 years ago and found myself in the precarious position of having little to no spare time.