Does css hover work on mobile devices? I have a css hover class which works fine on a regular web browser, but doesn't work on mobile browsers.
Any help is appreciated.
Sam
Hi,
I need to develop an e-Commerce site that sells auto parts. For that, I need a database that has year/make/model information that each part is applicable to. As far as I know, we need to purchase the database and subscribe updates.
Is there any database available for free? (I may not need updates)
Thanks.
Sam
Hi,
I'm currently writing a configure script for a library and would like to package it with some sample binaries to give examples on how to use it. Where would be the most appropriate location to install these binaries when a user runs "make install"?
Thanks,
Sam
Hey Guys
In an effort to 'clean up' my code - I was wondering if this could be made simpler.
I have 32 images and I was adding them like this
[theCarPics addObject:[UIImage imageNamed:@"1.jpg"]];
[theCarPics addObject:[UIImage imageNamed:@"2.jpg"]];
//...
[theCarPics addObject:[UIImage imageNamed:@"32.jpg"]];
is there a simpler way? loop…
How do i set a tag for a button programmatically?
I later want to compare to tags for a conclusion
ive tried this
-(IBAction)buttonPressed:(id)sender{
NSLog(@"%d", [sender tag]);
}
but that just crashes the app.... :(
any other ideas?
Cheers Guys
Sam
How can I search for Wireless Network (and connect it after and change settings ) within an iPhone Application? Is it possible?
Any ideas would be appreciated!
Cheers guys and gals
Sam
Hi,
im having following application flow in my android app,
Login-Home-screen1-screen2-screen3-screen4- logout
In the screen4 i've a log out button,which allow user to logout from the application and re login.when i re-logn to the app previous data still be shown,is there way to start the application in fresh when user log out from the app
…
I am looking for a Los Angeles based iPhone developer that would be willing to help tutor me on memory management and run down some code. Will pay for your time.
Thanks,
Sam
Hi,
I am looking for a logging mechanism in AS/400 similar to log4j. I am thinking of writing a wrapper to the log4j in AS/400. Can someone please let me know if there is such a tool present already?
Thanks,
Sam
I have imported our SVN repository into Mercurial and now we have entries for the same user that don't match.
e,g, for me I have
Sam Mackrill
smackrill
SMackrill
is there are way to merge these into one user?
Hey all,
I'm trying to have the following tag toggle between a "-" and the checkmark character (✓)
<a id='p_4' class='fancy_button orange bls_button' href='#'>-</a>
And here's the jquery code:
if (button.text() == '-') {
button.html('✓'); }
This works in FF3.6 and IE8, but not in WebKit (Chrome…
So here's the confusion, let's say I declare an array of characters
char name[3] = "Sam";
and then I declare another array but this time using pointers
char * name = "Sam";
What's the difference between the two? I mean they work the same way in a program. Also how does the latter store the size of the stuff that someone puts in it, in…
A friend brought me his PC with Windows Vista to reset the user password because he didn't use it for a long while and forgot his password.
So I found a tutorial on how to reset the password by using a Ubuntu Live CD and the software chntpw.
After I installed this software I mounted the SYSTEM partition by opening it with the file…
Ok so I am trying to fix a broken package in order to install wine. When I do "sudo apt-get install wine" I get:
sam@ubuntu:~$ sudo apt-get install wine
[sudo] password for sam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed.
This may mean…
I'm using the WTFPL in my personal projects published on GitHub.
Currently I'm using it verbatim, but I have the suspicion I shouldn't be leaving
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
in there, and instead should use my name.
But the license is very confusing about this. Half of the WTFPL is about the WTFPL…
I was trying to create a new user on my OS X Lion machine, and somehow managed to destroy my own user's account. Here are the steps I took; hopefully someone here can recognize what I did, and maybe identify some way around this.
First, I ran these commands:
sudo dscl localhost -create /Local/Default/Users/elasticsearch
sudo…
I have a new ssh key problem. I have successfully used them for years with Heroku, Git and other servers so I can login without having to issue a passphrase.
A few weeks ago, I was unable to push a git repository on my machine to my Heroku and it responded with Permission denied (publickey).
Hmm. Everything else but this…
i have 3 tables (A,B,C)
Table A -
ID Name
1 Sam
2 Manuel
3 Jane
Table B
ID Tab_A_ID Name
1 1 Meer
2 1 Kutti
3 2 Mikaro
Table C
ID Tab_B_ID Price
1 1 255.11
2 1 30.52
3 3 125.22
I need a query that shall pick up the top price for TableA-Name from TableC. So only 1…
I have 2 tables
Table A
id name
------------
1 Scott
2 Dan
3 Sam
Table B
id name
------------
1 Dan
2 Andi
3 Jess
Result needs to be
Id Name Found
1 Scott A
2 Dan C i.e. found in both
3 Sam A
2 Andi B
3 Jess B
I am able to do UNION to fetch the result but how i generate column…
I would like to create a method in additional to the default 'foo'.titlecase that will correctly add "possessiveness" to it.
The string is a user's name (<- just did one right there! )
For example: "sam" is the user
<%= user.titlecase.possessive + ' Profile' % = #Sam's Profile
It just needs to handle edge…
Hello,
when I call my awk script, I keep getting an error :
sam@sam-laptop:~/shell/td4$ awk -f agenda.awk -- -n Robert agenda.txt
awk: agenda.awk:6: printf "Hello"
awk: agenda.awk:6: ^ syntax error
the script contains this :
#!/usr/bin/awk
BEGIN {
}
printf "Hello"
END {
}
Thank you
I am a beginner in Java.I have JDK1.7.0 installed on windows 7 OS.I just wrote a sample java file where the file was not getting compiled and throws the below error.
Sam.java:5: ';' expected
Sample p = New Sample();
An exception has occurred in the…
Hello,
I sometimes do this in my shell :
sam@sam-laptop:~/shell$ ps aux | grep firefox | awk '{print $2}'
2681
2685
2689
4645
$ kill -9 2681 2685 2689 4645
Is there a way I can transform the multiple lines containing the PIDs into one line separated by spaces ?
(It's a little bit annoying to type the…
i created a non static inner class like this
class sample{
public void sam(){
System.out.println("hi");
}
}
called it in main class like this:
sample obj=new sample();
obj.sam();
it throws an exception: non-staic class context like that? when i put the both object and class as static. it…
Hi, I'm using ASP.NET MVC 1 and I have added a custom Profile class using the WebProfile Builder VS add-in (found here: http://code.msdn.microsoft.com/WebProfileBuilder/Release/ProjectReleases.aspx?ReleaseId=980).
On one of my forms I want a drop-down list of all users who share a specific…