Hi all,
look at http://ballpointradio.com/new/index.php. Do you see above the Recent Tracks there's sort of padding? How do I get rid of this?
Thanks,
Sam.
Hey Guys
Im thinking about making a suggestion box for my next iPhone app.
Whats the best way to go about this? I was thinking an ModalViewController, a text box that emails out?
Are there any other(better ways) to do it?
Any expertise would be appreciated
Cheers
Sam
Ive got a int, that is changed in a previous method, that now has to be part of the name of a button variable
eg
int numberFromLastOne;
numberFromLastOne = 4;
I then want to get 'button4' to do something.
Could i use something like this?
[[button@"%d", numberFromLastOne] doSomethign:withSomethignElse];
Ive never had to do something this…
Hey guys
This file isn't executing in any browser other than firefox on mac. Added everything i can think to get it sorted.
http://samhorner.co.uk/dev/samhorner/
Clicking on the twitter bar should close it, then open it again when you click on it again, only one click works on the other browsers. The blue box is a flash area in the background.
…
hey guys
When you have an iPad Project, and you want to put a table view in your landscape view...
I did this
i dragged in a UITableView.
but what do you 'hook' the data source to? there are about 3 options that all seem to crahing for me...
when not hooked up, app launches fine.
Any help would be appreciated.
Cheers
Sam
I'm currently trying to set up a package to be installed with autotools.
In most, if not all, major software packages, configure --help lists a large number of options like ./configure --ENABLE-FLOAT, etc. I was wondering where I can define these options.
Thanks,
Sam
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
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
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 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…
Is there any good way of truncating text with plain HTML and CSS, so that dynamic content can fit in a fixed-width-and-height layout?
I've been truncating server-side by logical width (i.e. a blindly-guessed number of characters), but since a 'w' is wider than an 'i' this tends to be suboptimal, and also requires me to re-guess (and keep…
Hi,
Basically my problem is that I'm trying to write a method that finds a random path in a graph of strings, which takes as it's parameters a start string, an integer length and a Vector of strings that will store the path. I'm attempting to do this by first adding the starting string to our blank vector, recursing through its neighbors…
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,…
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…