Salary Calculator

Salary Calculator AppOut of necessity the Salary Calculator was devised. I required a tool to give me a breakdown of an annual salary (prior to taxes/deductions and after) into chronological iterations (per year, month, day, hour).

The Salary Calculator will be updated with leaner markup and a new theme very soon. Further iterations will include custom deductions and salary comparison functionality.

Using Vim as a diff tool

Firstly I will start with why to not use diff. I am not suggesting a replacement, I have simply found that Vim offers a much better interface, that is available on most (*nix based) server environments for comparing and merging files side by side.

Getting started

vim -d file_original.txt file_new.txt

Your tool of choice here is vim -d, so if you like this as a ‘patch’ to diff, why not be naughty and alias it? I have aliased alias diff='vim -d' in my shell preferences.

Getting fancy

Wow, i can see the difference between 2 files, big deal! Try adding more files to the arguments, suddenly we have loads more power to compare multiple files, easily.

vim -d file_original.txt file_new.txt file_new_ammendments.txt

Commands

ctrl+ww - will let you navigate buffers.

When comparing just 2 files, these commands will be handy when you select the lines to merge

  • dp - diff put
  • do - diff obtain/get

If you are in multi diff mode, these may be handy as you need to write long hand commands;

  • :diffget 3 If you were in buffer 1, writing this command would obtain the difference in buffer 3
  • :diffpu 1 Again, write this in buffer 3 and it will place the change in buffer 1

Writing/saving changes
:wqall

Further Reading

Five Minimal Inspirational Design Sites

A small selection of sites that have caught my attention for being particularly well designed. The minimal nature of web design is something that i find extremely hard to pull off, and as such i have been inspired by these and similar such sites to create this site.

Astheria

Astheria screenshot

Type Sites

Typesites screenshot

We Are Only Human

We Are Only Human screenshot

Creative And Live

Creative And Live screenshot

Icon Eye

Icon Eye screenshot

A bit about Carbon Silk

Its a design/development centric site by James Broad, a London based web developer working at Yahoo!

Categories

Get In Touch

Email:
jb@carbonsilk.com
Linked In:
http://www.linkedin.com...
Twitter:
http://twitter.com/kulor
Del.icio.us:
http://del.icio.us/kulor