Category Archives: Tools

Secure copy files between hosts

Description: Use scp (secure copy)┬áto copy data between different servers, from local or remote hosts. Solution: Syntax for secure copying is easy, you just need to provide the source and destination of the file/folder. Depending where you are copying to … Continue reading

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

Create symlink

Description: A symlink (or symbolik) link allows creating an alias for a file or folder in a different folder with a different name. This can come in handy for accessing special folders in the structure that don’t need to be … Continue reading

Posted in Linux, Tools | 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

Basic Git branch operations: create, update, delete

Description: Basic Git version control operations regarding branches. Solution: Create branch: >git checkout -b branches/new_branch Fetch changes: >git fetch Update branch/branches: >git pull >git pull origin branches/new_branch Delete branch: >git branch -D branches/new_branch

Posted in Best practices, Tools, Version control | Tagged , , , , , | 1 Comment

Send e-mail with Undisclosed Recipients

Description: For privacy purposes, it’s often required to send a mass e-mail message without wanting one recipient to know about the identities of the others. Solution: The field “BCC”, representing a “blind carbon copy” can be used to have privacy … Continue reading

Posted in Best practices, Tools | Tagged , , , , | Leave a comment

301 and 302 redirect, differences and implementation

Description: Is there any difference between 301 and 301 redirects ? Solution: Practically, there is limited difference between the two. To be precise, 301 redirect signals a permanent move of the page, while 302 reffers to a temporary move. This … Continue reading

Posted in Best practices, PhP, Script, Tools | Tagged , , , | Leave a comment