Categories
git

Git Tutorial Part 3: Ignoring Files (Gitignore)

Git Ignoring Files In most projects we have a set of files that we do not want to track these are usually logs or compilation or runtime files. In these cases we make use of: .gitignore To create a file listing to match the files we don’t want to track: cat .gitignore *.[oa] *~ This […]

Categories
GNU/Linux

Glob Patterns

man 7 glob Glob Patterns: Globbing Pathnames Long ago, in Unix V6, the was a program /etc/glob that would expand wildcard patterns.Soon it was built into shell and bash. Glob (Wildcard) Matching A string is a wildcard pattern if it contains one of the characters: ?  *  [ Globbing is the operation that expands a […]

Categories
git

Git Tutorial Part 2: Repository, Cloning, Tracking and Staging

This article gives the basics for a beginner user who needs to start tracking and contributing to projects managed with git. The Git Repository Initialising from an existing directory git init This command creates the .git directory.At this point nothing is tracked though. git add * git add README git commit -m ‘Initial Commit’ Cloning […]

Categories
git

Git Tutorial Part 1: Git Configuration

This Git Config Basics Tutorial will help you find out how configuration works and how you can configure your git Types of Configuration System Wide: This configuration file is found at: /etc/gitconfig. This contains the default values for all users on the system. git config –system Global/Per User: Found at: ~/.gitconfig. This is the configuration […]

Categories
Zend Framework 1.12

Zend form Error: String was not found in the haystack

Solution to: Zend Form Error: String was not found in the haystack Ok So you submit your form with everthing correctly entered and bang…String was not found in the haystack. What does this mean? Well this is actually the best defence of CSFR – Request Forgery that Zend has. This is basically tampering with the $_POST variable […]