Saturday, March 25, 2017

Monday, March 13, 2017

Reverse a string using stack in java

In my previous post, I reversed a string in java. I'll do the same thing here using stack. Steps : 1) Declare an empty stack.               2) put the string elements in a character array.               3) Push every single character of the array into the stack.              ...
continue reading Reverse a string using stack in java

Reverse a string in java

Here in this section I'll put solution of some simple programming problem which. The following one will reverse a string. import java.util.Scanner; public class MyStack { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scanner = new Scanner(System.in); String string = scanner.nextLine(); String output = ""; StringBuilder stringBuilder = new StringBuilder(); ...
continue reading Reverse a string in java

Tuesday, March 7, 2017

Display post categories or menu of blogspot site in mobile view

Due to lack of available space, blogspot site's mobile view doesn't provide gadgets like categories, menu etc. But this can be done by making some changes in the HTML. Follow the following steps : Go to the layout section of dashboard Click on "Edit" of the gadget. On the addressbar of the browser...
continue reading Display post categories or menu of blogspot site in mobile view

Sunday, March 5, 2017

Open firefox browser from terminal

Opeing firefox from terminal is pretty simple. Follow the steps: 1.  Open terminal (Ctrl + Alt + T) 2.  firefox & Thats all. If you want to open a website from terminal, just add the link just after "firefox" command. For example, following command will open facebook.      firefox facebook.com     ...
continue reading Open firefox browser from terminal

Intro

Linux is an open source free operating system. Actually it is a kernel having lots of operating systems under it which are known as distro (distributions). I am an ubuntu user. In this section I'll write the solutions of ubuntu related problems that I face. So that I or anybody else can easily find the solutions of the same problems in future. If you have a better solution or if you find anything...
continue reading Intro