Technology Insights

How To Switch Between Git Branches From The Linux CLI

If you are using Git for version control then it is likely at some point you will have a project with multiple branches of code. The benefit of this is allowing various developers to work on different projects while providing an easier way to merge the code when the developers tasks are completed. One developer may be working strictly on big fixes that could need to be checked in daily while another developer may be working on a project that may take months to complete and git provides a system to merge these code branches together. Below is a quick reference for switching between Git code branches.

Technology Insights

SVN Checkout Error: Malformed Network Data; Using TortoiseSVN or SVN CLI

I recently upgraded the Project Management Software, which happened to be Redmine, for a company and after the upgrade I received some complaints regarding SVN not functioning properly. I initially thought there is no way that the upgrade caused an issue with SVN since SVN and Redmine are completely separate however you can browse the SVN repositories from within Redmine. Below I describe the error in more detail including an image of the error from TortoiseSVN, what I did to resolve the issue, and another possible resolution if your issue is different than the one mentioned in this article.

Technology Errors

SVN Checkout: svn: Cannot negotiate authentication mechanism

You may receive an error similar to the one below stating that SVN cannot negotiate the authentication mechanism during initial installation of Subversion. I received the below error when I was testing a new SVN repository I had set up on a CentOS Linux server and was attempting to checkout the repo from another CentOS Linux server. Below I describe basic configuration and what was done to move pas this error.

Error:
svn: Cannot negotiate authentication mechanism

Technology Insights

Zencart Show Accepted Credit Cards Images or Text

Its really easy to configure ZenCart to show the credit cards that you are going to accept to customers during their checkout. Not only could you display the text of these images similar to the below example but its also very easy to display images of the credit card types you will be accepting.

Example: We Accept: Visa, Mastercard, AmEx, Discover

The default text can be modified in the credit_cards.php languages file located in /includes/languages/english/ directory.