Monday, August 26, 2013

How to embed Java code in Blogspot ?

This blog explains about how to embed Java related code in Blogspot ?

Open your blogspot in HTML mode , by clicking on HTML button, keep Java code as shown below within <pre> element as shown below.



<pre style="font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace;
                color: #000000; background-color: #eee;
                font-size: 12px; border: 1px dashed #999999;
                line-height: 14px; padding: 5px;
class="brush: java;
                overflow: auto; width: 100%">
       <code style="color:#000000;word-wrap:normal;">

  // Write here your Java code 
       </code>
 </pre>


Example , How it looks like - http://fortunefusionminds.blogspot.com/

Friday, August 23, 2013

Why google authenticator doesn't work on your iPhone when you switch from other iOS mobile device?


Recently, I have changed my phone from Andoroid phone to iPhone, Installed Google authenticator on my new iPhone, but those codes never works, Below are the steps need to be considered to resolve the issue,

Login to accounts.google.com, Choose 'Security'

Select 'Edit' option as shown below

Select your phone type option

Download 'google authenticator' app on your new phone, When it prompts for scan the bar code, Scan the bar code, You will get a new code on your phone device, enter that code on your 2Step verification screen,

You are all set now.

Sunday, August 4, 2013

How to Edit PDF documents online for free


PDFEscape.com  is one of the best website to edit/create/modify PDF documents online just in minutes.

Step1 : Open www.pdfescape.com website in any browser

Step2: Click on 'Edit Your PDF Now' button as shown below

Step3: To edit the existing PDF, click on 'Upload PDF to PDFEscape' button as shown below
.

Step4: Select the required file by clicking on 'Choose File' option shown below, and click on 'Upload' button

Step5: After uploading the PDF to pdfescapelcom, You will see your PDF as shown below screen shot, Left hand side you will notice various options to edit the PDF document.
If you want to type something, Select 'Text' on left hand side, and then click the mouse cursor wherever you want to type, This will allows you to type in PDF document.

Step6: If you want to remove something in PDF, then choose 'Whiteout' option as highlighted in below screen shot, then use the mouse cursor to remove the required content in PDF document.

Step7: Free hand write - You can draw anything on your PDF by selecting 'Free Hand' option as shown below.

Step8: To Insert any image on your PDF document, Select 'Image' , Upload the required image, then place the mouse cursor wherever you want to drop the image.

Step9: Save -  Click on 'Save' image on left hand side, to download the modified PDF, choose the below highlighted option.

Sunday, July 21, 2013

NotePad ++ shortcuts



It is quite useful and time saving to know about the Notepad++ shortcuts while working with any xml's and xsd's, I have listed few here:



How to delete the first word/space/line no. in a file.

Given a file of foll. format and to remove the first word, select the Text,
goto TextFX> TextFX Tools> Delete Line Numbers or First Words.

1 Fname Lname
2 Assign Copy
3 Entry Exit

Will return:
Fname Lname
Assign Copy
Entry Exit


How to remove the trailing spaces:

goto TextFX> TextFX Edit > Trim Trailing Spaces

How to change the case

goto  TextFX > TextFX Characters, the following options are available

  • UPPER CASE
  • lower case
  • Proper Case
  • Sentense case.
  • iNVERT cASE

Sunday, July 7, 2013

How to add PDF's to iphone 5 using itunes 11.x


You should have iBooks app on your iPhone before you do below steps

Connect your iPhone to iTunes, Open iTunes, Choose Books on top left hand side corner of iTunes window as shown below

Drag the whatever PDF's you want to sync with your iPhone onto iTunes Books' window then click on
iPhone button on top right hand side corner of iTunes as shown below

Choose Sync Books option as shown below

Select whatever PDF's you want to sync with your iPhone, then click on 'Sync' and 'Apply' buttons as shown below


Disconnect your iPhones from iTunes , open iBooks app , choose PDF ,you should able to see uploaded PDF's now.