Monthly Archives: March 2014

Create linux shortcut for commands

Description: Having long or medium commands we use pretty often, it comes in handy to create commands aliases in Linux. Solution: An alias can describe a command or a section of commands. To define an alias: > alias short_command=”do something … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Install compass and sass on linux machine with Ruby

Description: Compass offers a highly simplified way of writing style sheets. Basically users can create sass files, that can share style information, and then compile this using Compass into regular old-fashioned CSS files. Unfortunately Sass requires Gem which is a … Continue reading

Posted in Linux, Tools | Tagged , , , , | Leave a comment

Load different config files in in WordPress single implementation

Description: Having multiple databases on the same implementation of WordPress, you need to select the proper config file before running a selected script from command line Solution: Just add a parameter that describes the correct config you need, for example … Continue reading

Posted in Best practices, Script, Wordpress | Tagged , , | Leave a comment