Categories
Entrepreneurship

How to Register a Company with CIPC

Better thing to do is not start a company or create a bank account. Just use your personal bank account and avoid doing annual returns, paying banks R100 a mont. So you’ve decided to start your own company. What Next? You Decide on your Legal Type and Choose a Trading Name. Now you need to […]

Categories
GNU/Linux

Copy Files with specific extension from multiple directories into a single directory Linux

How to Copy Files with specific extension from multiple directories into a single directory Linux find . -type f -print0 | xargs -0 cp -t /home/my/dir/ The only problem is file name conflicts…hmmm how to solve?

Categories
GNU/Linux

What is the default php includes path on linux?

This post specifies the default php includes path on a linux distribution. The one I used was gentoo. This is the path that will be globally included in all your php projects. It is: include_path = “.:/usr/share/php5:/usr/share/php” If you want to change this path, just change the above line in php.ini and restart apache or […]

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 […]