Problem Statement: I have few files in source directory. I have to move them to another destination directory. The source directory have *.txt files that needs to be moved to destination directory. The destination filename should be *.txt.backup.So how to accomplish the above task in Unix Shell Script?Well the solution is simple:cd source/ for file in *.txt do mv "${file}" ../destination/"${file}.backup"Run a loop for each ...
Architectural Patterns always been interesting from designer perspective. MVC, Pipe’n’filter, Layered,3-tier, n-tier, etc. But one very basic architectural concept coming from Civil engineers in practice.‘’Have common building block with minimal facility as a base, with modular and customizable components to suit customers need will provide flexibility to whole town /architectural planning and also help to save cost for designer ’’Same concept is ...
Google Analytics allows you to track how often viewers on your website click particular links on your website. Links to internal pages are automatically tracked, however you must add JavaScript code to links that point to pages outside of your own website (Exit Links) in order to track them.There are couple of ways you can track ...
Design Patterns are always wonderful for one who can perceived them as an tool to create generic solution to commonly occurring problems, let it be then software architecture, development issue or just coding work around.With plethora of resources and material available online about software design patterns, it's always a
GoF Patterns book serves as bible. However it is not prudent every time ...
Matt Cutts is the head of the webspam team at Google where he specializes in search engine optimization (SEO) issues. He is known in the webmaster and SEO community for applying Google’s Quality Guidelines.
Matt was at
WordCamp San Francisco 2009 talking about search engine optimization forum "Straight from Google: What You Need ...
If you are using wordpress as your blogging system you know that everytime you publish a post with an image, Wordpress creates two thumbnails and store them in the web server. These thumbnails are useful for photo galleries where smaller image will be displayed have a link to original image. These thumbnails are useful if you displaying some photo gallery but otherwise it just eat ...
RANDOM is a peculiar shell variable, but useful nonetheless. Peculiar because its value changes each time it is referenced (yes, this is by design).As you may have already guessed, RANDOM is a random number generator. The number generated is an integer between 0 and 32767, and can come in handy when writing shell scripts. ...
Soon after the iPhone 3GS was launched, it was jailbreaked by a 19 year old hacker
George Hotz. Jailbreaking and unlocking are two entirely different things. Jailbreaking is simply hack that lets you install unapproved third-party applications on your iPhone. Unlocking, on the other hand, is a hack that lets you use your iPhone ...
While surfing through the web, I encounter this wonderful website
codepad.org, that can be used to compile/interpret and share code snippets online. A number of language/script option is available which can be used to compile your code online.I started with writing a simple Hello World C program.#include main() { printf("Hello World"); }...
Eclipse have been my favorite Java IDE since I started coding in Java. Shortcuts makes life very easy when you are working with any IDE. Eclipse also comes with lot of shortcuts that makes like of a developer easy.Following are few shortcuts of my choice.Ctrl + Shift + O : Organize imports Ctrl + / : ...