Monday, August 28, 2017

Display Line number in Text Editor - Eclispe

By default, Eclipse's editor will not display line numbers, it's no good for debugging. Here's a tip to show you how to turn on the “display line numbers” feature in Eclipse. In Eclipse IDE, select “Windows” > “Preference” > “General” > “Editors” > “Text Editors” , check on the “Show line numbers

Wednesday, August 2, 2017

Encoding and decoding in Javascript using base64


var testString = "My testing Application";

// Encode the String
    var encodedString = btoa(testString);
    console.log(encodedString);


// Decode the String
    var decodedString = atob(encodedString);
    console.log(decodedString);