Trick

Author's details

Name: Patrick
Date registered: Friday, February 7, 2014

Latest posts

  1. Project: pwdshort – Bash Shell CWD Shortener — Friday, July 17, 2015
  2. Project Automation – Website Development — Saturday, July 11, 2015
  3. PHPUnit Configuration Generator — Tuesday, March 17, 2015
  4. Script: new-php-project: PHP Project Creator — Saturday, January 31, 2015
  5. Automated Project Versioning — Saturday, November 15, 2014

Most commented posts

  1. Selecting an Open Source License — 2 comments

Author's posts listings

Super-Charging rsync Transfers

is a great utility for transferring files across a network, such as synchronizing your project folders onto a development server. The only downside if you frequently use rsync to transfer changes across the network is that you have to wait for a new SSH …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/super-charging-rsync-transfers/

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/

Syntax Highlighting In Posts

Curious how I syntax highlight source code for posts? pygmentize is a python utility that supports many languages, comes with a bunch of different styles, and can output the highlighted text in a variety of formats (like html/css, ANSI colors, etc.). After you’ve installed pygmentize, you …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/syntax-highlighting-in-posts/

Script: Indent Lines From Stdin

In many of my shell scripts, I call other shell scripts to accompish various tasks. Sometimes the output from these sub-script calls is useful, but I like to differentiate between the output from the sub-script and the main script. Enter indent-stdin: A basic …

Continue reading »

Permanent link to this article: http://permafrostcodingstudio.com/articles/script-indent-lines-from-stdin/

Older posts «

» Newer posts