Skip to main content

Posts

Showing posts from 2013

Linux shell script Practice Questions

1) Use a for loop to show users existing in the system. The output should be in a tabular format. 2) Use a table to display the network interfaces in the system. 3) Display output in the format ********Hello*********** ------------------------------------- | Sr. No. | Test | Test1 | Yes  | ------------------------------------- |   10      | ABC| DEF | Yes  | |   20      | DEF | FKG|  Yes | ------------------------------------ 4) Write a script to print table of 2 in below format 2*1 = 2 2*2 = 4 ...... 2*10 = 20 5) Display the following menu to user   a) Add   b) Subtract   c) Multiply   d) Divide Then ask for his choice of operation(a-d). Then get two numbers from user and perform the operation. 6) Take a number from user and print a triangle of stars from that number. For e.g. if user enters 3 * ** *** 7) Write a script that takes two arguments search and replace and the thi...

Using animate function in jquery to reduce it to zero and back

Declare this in your header or in your body for initilialising your div <style> div.solution{ width:400px; } </style> declare the div within the body <div class="solution"> abracadabra.....poof poof</div> use this line to slowly reduce the width of the div to 0px $("div.solution").animate({width:"0px"},500); use this line to slowly increase the width of the div to 400px $("div.solution").animate({width:"400px"},800); The last parameter denotes the time to run the function for....

Mind Mapping Tool

I was planning to design my own mind mapping tool for my projects and i looked upon the internet for many tools but one which caught my attention is http://coggle.it. This is a very user friendly tool which helps to develop your own mind maps and shows it in a very graphical way.

How to add maps to your website

1) go to  http://map-generator.net/en 2) in the text box add the location which you want to highlight or which is nearer to you. It will show a dropdown of the nearest location to you. Select the location 3) Click on "add marker". It will add an pointer at that location. 4) Select the width and height according to the website settings. 5) click on the red marker and it will give you the option to edit text. 6) Click on the "Create Map" button. 7) It will show an popup with embedded javascript code. Copy that. 8) Paste it in your website in the location which you prefer.

New Entry into the arena of Cloud Computing & DevOps... DevOpsTech Solutions

DevOpsTech Solutions....a new player in the field of software solutions specializing in software build & release management , cloud consulting. They offer the following solutions 1) DevOps , Agile 2) Cloud Consulting 3) Atlassian Product Support 4) Infrastructure Management 5) Custom Product Development 6) Build & Release Management Seeing the service offerings it looks like it has a promising future. All the best for their future endeavors.

Taking Backup of contacts in iPhone

Here is how to back up your  iPhone  contacts on a PC.  1) Open i-tunes on your computer that you sync it to 2) Plug in your iPhone to the PC 3) open "Address book" window's address book program. Kinda lame, but it works. Its under start-programs-accessories - Back to  iTunes , click on the phone icon on the left - Click on the Info, and under "Contacts" (the first one) check "sync contacts from" and then pick "Windows address book" from the drop down menu - Click all contacts - Then at the bottom right of  iTunes , click "Sync" It will ask you if you want to merge or replace. Make sure you select "MERGE" or it will delete your contacts on the phone.  Thats it, check your Windows Address Book and everything should be there. All the numbers and emails that you have put so much time into adding to your phone. Pretty nice. So, from now on, if you add contacts to the phone it will back up to the Computer and the Co...

Add a floating social media bar to your website

First declare a div called wrap <div id="wrap">test</div> <script> //append html to this div wrap....it will add a new floating div with social media buttons jQuery("#wrap").append('<div id="floatbutter">Follow us on:<a href="http://www.facebook.com/devopstech"><img src="./sites/all/images/fb.png" alt="Facebook" width="42" height="42"></a><a href="https://twitter.com/DevOpsTech"><img src="./sites/all/images/twitter.png" alt="Twitter" width="42" height="42"></a><a href="https://twitter.com/DevOpsTech"><img src="./sites/all/images/google+.png" alt="Google+" width="42" height="42"></a></div>'); //apply style to that div floatbutter jQuery("#floatbutter").css({ 'position':'fixed', ...