Hi,
I'm very new to Android development.
Please let me know, if possible, the basic steps to develop facebook on android platform.
Thanks & regards,
Sanjay.
I have the most basic jquery function of them all, but I couldn't find a way in the documentation to trigger the contents of this click function after say 1500 milliseconds:
$('.masonryRecall').click(function(){
$('#mainContent').masonry();
});
I have the most basic jquery function of them all, but I couldn't find a way in the documentation to trigger the contents of this click function after say 1500 milliseconds:
$('.masonryRecall').click(function(){
$('#mainContent').masonry();
});
P.S. just noticed the .delay function jquery 1.4, although, I am using version 1.3. I don't know whether updating this would interfere with any of the other javascript I currently have.
I'm in need of some basic TSQL help. Here's my table layout:
Orders Table
SSN
ZipCode
ZipLookup Table
ZipCode
State
All columns are varchars.
How would I get a list of States with the number of distinct SSN's in each state? Preferably, if a particular SSN has orders from multiple states only the state with the most orders would be counted for that SSN.
Thank you for any tips you can give me.
Hi I need basic script for excel and VBA. for example on sheet1 have table col1(name), col2(netsal),col3(bonus) in sheet1 need a button and want to click that button to get results in sheet2 needs to be col1(name),col2(netsal),col3(bonus), col4(col2+clo3)(total sal)
could you please give steps to follow and VBA scripts
Thanks
I am learning JPA from this tutorial.
I have some confusions in understanding the following annotations:
@Basic
@Embedded
Fields of an embeddable type default to persistent, as if annotated with @Embedded.
If the fields of embeddable types defualt to persistent, then why would we need @Embedded
Are there any tools that can look at a database, and generate the basic mapping files?
It would be great if it could take a database, and create the actual model (java classes) with annotations, but not sure if that exists?
Hi,
I need to produce a very simple website (no dynamic-content, 2-columns, header&footer) and I have a basic knowledge of xhtml/css.
So I could probably come with something from scratch, but it would probably won't work in "all" browsers.
I've done some googling, but it's difficult for me to evaluate the quality of the "free templates" advertized all over the place.
So is there any web developer here that has good references or even such models/templates
?
a = WWW::Mechanize.new { |agent|
agent.user_agent_alias = 'Mac Safari'
agent.history.max_size=0
}
page = a.get('http://livingsocial.com/deals?preferred_city=18')
Trying a very basic GET request using mechanize but get a 500, yet when I CURL I have no problems. Is there a problem with including parameters in a get() call? I know I am missing something simple
HTML:
<a href="#" rel="tooltip">Open Tooltip</a>
<div id="tooltip">Tooltip Content</div>
I checked out some tooltip plugins but my requirement is a really basic tooltip that shows a hidden div on hover. All plugins either have too many advanced options that I don't require and have already styled tooltips that might be difficult to modify.
I'd appreciate any help. Thanks.
Good Afternoon,
I have some very basic questions on GUI Event Handling. Firstly with C# how can we link events to objects - I am guessing event handlers? If so can each handler use separate code? - How can the event handler locate the objects it must manipulate?
I have a rough idea of how it works in JAVA. Pointing me towards a reference would be fine - I have already trawled Google for answers to no avail.
Many Thanks,
J
Hey all, I'm working on building my own string class with very basic functionality. I am having difficulty understand what is going on with the basic class that I have define, and believe there is some sort of error dealing with the scope occurring. When I try to view the objects I created, all the fields are described as (obviously bad pointer). Also, if I make the data fields public or build an accessor method, the program crashes. For some reason the pointer for the object is 0xccccccccc which points to no where.
How can a I fix this? Any help/comments are much appreciated.
//This is a custom string class, so far the only functions are
//constructing and appending
#include<iostream>
using namespace std;
class MyString1
{
public:
MyString1()
{
//no arg constructor
char *string;
string = new char[0];
string[0] ='\0';
std::cout << string;
size = 1;
}
//constructor receives pointer to character array
MyString1(char* chars)
{
int index = 0;
//Determine the length of the array
while (chars[index] != NULL)
index++;
//Allocate dynamic memory on the heap
char *string;
string = new char[index+1];
//Copy the contents of the array pointed by chars into string, the char array of the object
for (int ii = 0; ii < index; ii++)
string[ii] = chars[ii];
string[index+1] = '\0';
size = index+1;
}
MyString1 append(MyString1 s)
{
//determine new size of the appended array and allocate memory
int newsize = s.size + size;
MyString1 MyString2;
char *newstring;
newstring = new char[newsize+1];
int index = 0;
//load the first string into the array
while (string[index] != NULL)
{
newstring[index] = string[index];
index++;
}
//load the second string
while (s.string[index] != NULL)
{
newstring[index] = s.string[index];
index++;
}
//null terminate
newstring[newsize+1] = '\0';
delete string;
//generate the object for return
MyString2.string=newstring;
MyString2.size=newsize;
return MyString2;
}
private:
char *string;
int size;
};
int main()
{
MyString1 string1;
MyString1 string2("Hello There");
MyString1 string3("Buddy");
string2.append(string3);
return 0;
}
Planning to buy a laptop(reasonable budget).
I want to know the basic requirement to run VS2010 and SQL Server 2008 smoothly with Adobe Photoshop CS4 and Dreamweaver CS4 in Windows 7 Home.
Can Pentium Processor do the job?
If not please Suggest me.
Thank you.
What are the basic and simpliest steganography algorithms and methods?
I mean the steganography applied to images.
How does simple program that hides data to images work? How does the program recognize the encrypted message in image without the source image? What are the main techniques used?
I am using jalava library as a diagram drawing tool.
It displays firgures as images in order to maintain compatibility with majority of browsers.
When diagram block is being resized a request is being made and new gif image is generated and send to browser.
What I need is generating image of basic blocks, like rounded rectangle, circle, diamond with specified parameters (height, width and color).
I want to do all server-side; my server part is written on Perl.
Something like this but using just basic shell scripting:
#!/usr/bin/env python
import urllib
import json
base = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&'
query = urllib.urlencode({'q' : "something"})
response = urllib.urlopen(base + query).read()
data = json.loads(response)
print data['responseData']['results'][0]['url']
Any more convenient alternatives to ajax.googleapis.com? If not, how should you encode the URL and parse JSON?
Is it possible to mention both form-based and basic authentication in Spring security using namespace configuration without overriding other ? So that the appliciation could serve both browser based request and remoting client.
Aside from "I've already implemented it in C++", and "You must develop it in C++ for it to run on X", what are some good reasons for developing a basic business application in pure C++?
Hi all i was hoping someone could help be with some basic regex i am really struggling with.
Bascially i need to match a url for redirection. I have been using
^~/abc(/)?
however i need to chnage the end part to just check the last optional charcater as this will also match ^/abcd
I want to learn some practical assembly language having just learned the basic concepts in class. Are there any decent books or tutorials (nasm, etc) that would be recommended?
I essentially want to reconstruct the getTickCount() windows function so I can use it in basic C++ without any non standard libraries or even the STL. (So it complies with the libraries supplied with the Android NDK)
I have looked at
clock()
localtime
time
But I'm still unsure whether it is possible to replicate the getTickCount windows function with the time library.
Can anyone point me in the right direction as to how to do this or even if its possible?
Details on all Web Service Authentication methods and How to apply those?? i.e Way to apply Basic and Digest Authentication in C# Web Application.
More: I'm creating a Web Service and want to deploy it on IIS 5.0. In order to authenticate user I want to use Digest Authentication. How this is done? The authentication should contain some through which the user is checked inside database for authentication and then if valid user then return success or else failure...
Hi, people. For a academic exercise i have to implement a program in c for nix platform which is to synchronize multiple processes through signal handling, using only signal,pause,kill and fork basic functions.
I searched google and have not found any clear example: I hope the wisdom of one of you will light my way.
Thanks!
I'm using launching firefox from the command line in a script to get snapshots of pages. These pages have basic http authentication. When using:
firefox http://user:[email protected]
Either a dialog appears, or authentication doesn't work at all.
Is there any option to make firefox open the page without showing the dialog?