Tag Archive: Command Line

Project: pwdshort – Bash Shell CWD Shortener

As a hardcore linux user, I frequently use the bash shell. As a developer I often have directories with long names, often with many subdirectories.

The problem I was encountering was that the CWD displayed in my $PS1 prompt was so long …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/project-pwdshort-bash-shell-cwd-shortener/

Project Automation – Website Development

When working on a website project, often you’ll find the need to synchronize your local source code to your development server, i.e. after making several changes for a new feature. The straightforward and common method of doing this is with your favorite FTP client …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/project-automation-website-development/

Script: new-php-project: PHP Project Creator

This script generates a new PHP project in the current directory.

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-new-php-project-creator/

Customing Bash, Part One

Customing Bash, Part One

I use bash every day, and I’ve customized it with all kinds of features that I couldn’t live without. In this installation, we’ll cover essential bash aliases.

You’ll want to create a separate file just for your aliases, or perhaps a directory …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/coding/customing-bash-part-one/

Script: Preprocess PHP

PHP doesn’t come with conditional compiliation or any preprocessor tools, but using a generic preprocessor can make life much easier. Conditional compilation is just that — blocks of code can be set to only compile and run if a certain condition is met. Many compiled programming langauges …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-preprocess-php/

Older posts «