User Profile

Collapse

Profile Sidebar

Collapse
gautamz07
gautamz07
Last Activity: Aug 7 '15, 05:49 PM
Joined: Sep 19 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • connecting to Android studio with a noSQL db like crouchDB

    Hey guys, i am coming on here after a long while :) hope you all been doing fine. I just have a quick question anybody here every used a db like crouchDB to connect to a android application.
    how do you connect to crouchDB using android studio ?
    See more | Go to post

  • gautamz07
    replied to Fancybox PDF integration
    WOW ! you really saved my LIFE MAN ! Ur a Life saver , it worked in my demo project , now just Need to apply it to my real projects .

    Thank you .

    Gautam
    See more | Go to post

    Leave a comment:


  • gautamz07
    started a topic Fancybox PDF integration

    Fancybox PDF integration

    This is the html code

    Code:
    <div class="col-md-4 col-md-offset-1" >
                  <h2>menu card</h2>
                  <a class="fancybox" href="menu.pdf" target="blank"><img src="images/menu-front-icon.png"></a>
                  <p></p>
                </div>
    I have included the fancybox...
    See more | Go to post

  • gautamz07
    started a topic What is isset inside an IF statement?
    in PHP

    What is isset inside an IF statement?

    Code:
    if(isset($_POST['send'])){
    		if(send_msg($_POST['sender'] , $_POST['message'])){
    			echo "message sent .";
    		}else {
    			echo "Message failed to send .";
    		}
    	}

    what is the 1st if statement checking for really ?
    See more | Go to post

  • gautamz07
    replied to CSS selectors ?
    Thank you

    Thank you dude . that was really helpful . thank you once again .
    See more | Go to post

    Leave a comment:


  • gautamz07
    started a topic The Gradiennt effect

    The Gradiennt effect

    Code:
    background: #b3dced; /* Old browsers */
    background: -moz-linear-gradient(top,  #b3dced 0%, #29b8e5 50%, #bce0ee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b3dced), color-stop(50%,#29b8e5), color-stop(100%,#bce0ee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #b3dced 0%,#29b8e5 50%,#bce0ee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,
    ...
    See more | Go to post
    Last edited by gautamz07; Apr 28 '14, 08:02 AM. Reason: adding more info

  • gautamz07
    started a topic CSS selectors ?

    CSS selectors ?

    Code:
    ::-moz-selection {
    background : #333;
    color : #fff;
    
    ++++++++++++++++++++++++++++++++++++++++
    
    .group:after {
    display : block;
    height : 0;
    font-size : 0;
    content : ".";
    clear : both;
    visibility : hidden;
    }
    What are these two above selectors styling or selecting(can provide additional code / info if needed).
    See more | Go to post

  • gautamz07
    replied to Jquery concatenation ?
    in javascript if i have to print out a string along with a value , u concatinate it like this :

    var a= 3;
    console.log("th e value of a is " + a + "and you will see this printed to the console");
    See more | Go to post

    Leave a comment:


  • gautamz07
    replied to Jquery concatenation ?
    thank you sir , but i still did't understand what exactly is the single quotation for and the double quotation for ! even though u say its the same old concatination !!!
    See more | Go to post

    Leave a comment:


  • gautamz07
    started a topic Jquery concatenation ?

    Jquery concatenation ?

    Code:
    $('#gallery a').click(function(evt){
    evt.preventDefault();
    var imgPath = $(this).attr('href');
    var oldImage = $('#photo img');
    var newImage = $('<img src="' + imgPath + '">');
    newImage.hide();
    $('#photo').prepend(newImage);
    newImage.fadeIn(1000);
    oldImage.fadeOut(1000,function(){
    	$(this).remove();
    	}); //end Fadeout
    	});//end click	
    	$('#gallery
    ...
    See more | Go to post

  • Actually Found the answer now ..

    When you use a number in a condition, as we did earlier, PHP understands 1 to mean true and 0 to mean false.
    See more | Go to post

    Leave a comment:


  • When does the pointer move to if or else in the given code ?

    Code:
            <?php
    	$headCount = 0;
    	$flipCount = 0;
    	do {
    		$flip = rand(0,1);
    		$flipCount ++;
    		if ($flip ){
    			$headCount ++;
    			echo "<div class=\"coin\">H</div>";
    		}
    		else {
    			$headCount = 0;
    			echo "<div class=\"coin\">T</div>";
    		}
    	}while ($headCount < 3);
    	echo
    ...
    See more | Go to post

  • Is this programme writing data to a actual text file ??

    Code:
    int i; 
    FileInputStream fin; 
    FileOutputStream fout; 
    try { 
    			// open input file 
    	try { 
    	fin = new FileInputStream(args[0]); 
    	} catch(FileNotFoundException e) { 
    	
    	System.out.println("Input File Not Found"); 
    	return; 
    	} 
    					// open output file 
    try { 
    	fout = new FileOutputStream(args[1]); 
    	} catch(FileNotFoundException
    ...
    See more | Go to post

  • gautamz07
    started a topic Generics Hmmmmm easy yet i don't understand :)
    in Java

    Generics Hmmmmm easy yet i don't understand :)

    Code:
    import java.util.*;
    
    public class SetDemo {
    
      public static void main(String args[]) { 
         int count[] = {34, 22,10,60,30,22};
         Set<Integer> set = new HashSet<Integer>(); // What does this line really tell the compiler 
         try{
            for(int i = 0; i<5; i++){
               set.add(count[i]);
            }
            System.out.println(set);
    ...
    See more | Go to post

  • gautamz07
    replied to Inner classes Hmmmmm so confusing ?
    in Java
    srry for the late reply . Helped alot :) infact i understand the whole programme now . Thank you .


    Gautam
    See more | Go to post

    Leave a comment:


  • gautamz07
    started a topic Inner classes Hmmmmm so confusing ?
    in Java

    Inner classes Hmmmmm so confusing ?

    The below code is a simple inner class and understandable , also of late people do prefer using inner classe more espically Anonymous Inner Classes
    Code:
    public class First    // Top-level class; outer class or enclosing class
    {
      int price = 100;   // variable of outer class
     
      class Second       // inner class as a member of outer class
      {
        int rate = 200;              // variable of inner
    ...
    See more | Go to post

  • gautamz07
    replied to OCJP Question
    in Java
    Because i think you cannot creat an instance of an interface .
    See more | Go to post

    Leave a comment:


  • gautamz07
    started a topic OCJP Question
    in Java

    OCJP Question

    Code:
    interface TestA {String toString(); }
    public class Test{
    public static void main(String[] args) {
    System.out.println(new TestA()) {
    public String toString() {return "test"; }
    });
    }
    }

    What is the result ?
    1. Test
    2.Null
    3. An exception thrown at runtime.
    4. Compilation fails because of an error in line 1.

    I Think it should be...
    See more | Go to post
    Last edited by Niheel; Nov 21 '13, 06:53 PM.

  • Code explanation(Java Swing programme using MouseListeners)

    Code:
    import java.awt.*;
    import javax.swing.*;
    import java.swing.JFrame;
    
    public class DisplayMouseCoordinates extends JFrame implements MouseMotionListener 
    {
    JLabel displayCoords;
    
    public DisplayMouseCoordinates()
    {
    Container cp=getContentPane();
    JPanel panel=new JPanel();
    displayCords=new JLabel();
    panel.add(BorderLayout.CENTRE, displaycoords);
    ...
    See more | Go to post

  • What does this Do (Question on generics in java) ?

    A few difficulties with the below programme
    Code:
    import java.util.*;
    public class Gautam{
        public static void main(String []a)
        {
            Integer[] iray={1,2,3,4,5,6};
            Character[] bang={'G', ' ' , 'A',' ' ,'U', ' ' ,'T', ' ' ,'A',' ' ,'M'};
            Float [] Fk={1.0f, 2.0f, 4.0f};
            Double [] Google={3.3,4.5, 6.0, 9.0};
                    
            printMe(iray);
    ...
    See more | Go to post
No activity results to display
Show More
Working...