Search Results

Search found 3342 results on 134 pages for 'wish you all peace'.

Page 23/134 | < Previous Page | 19 20 21 22 23 24 25 26 27 28 29 30  | Next Page >

  • My app crashes on Iphone SDK 3.2

    - by Mladen
    Hi Guys, My app worked ok on iPhone SDK 3.1. However, when I try to run it in 3.2 simulator, I get the following error and it crashes: bool _WebTryThreadLock(bool), 0x5148280: Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now... Program received signal: “EXC_BAD_ACCESS”. When I debug it, it leads me to this peace of code: - (void)LoginViewToCheckView:(id)sender { CheckViewController *tempTestController = [[CheckViewController alloc] initWithStyle:UITableViewStyleGrouped]; [tempTestController setDelegate:self]; [self setCheckViewController: tempTestController]; [tempTestController release]; [navigationController pushViewController:checkViewController animated:YES];} Other thing worth mentioning is maybe that I am calling this function from a separate thread. Any ideas what could be wrong?

    Read the article

  • Force IOException during file reading

    - by DixonD
    I have the piece of code that reads data from file. I want to force IOException in this code for testing purpose (I want to check if code throws correct custom exception in this case). Is there a some way to create a file which is protected from being read, for example? Maybe dealing with some security checks can help? Please, note that passing name to not-existent file cannot help, because FileNotFoundException has separate catch clause. Here peace of code for better undestanding of question: BufferedReader reader = null; try { reader = new BufferedReader(new FileReader(csvFile)); String rawLine; while ((rawLine = reader.readLine()) != null) { // some work is done here } } catch (FileNotFoundException e) { throw new SomeCustomException(); } catch (IOException e) { throw new SomeCustomException(); } finally { // close the input stream if (reader != null) { try { reader.close(); } catch (IOException e) { // ignore } } }

    Read the article

  • Minimize HTML, CSS and JS files

    - by karmic
    How do you automatically pack/minimize the HTML, CSS and JS files served on a webpage. More specifically, I wish to have this for a wordpress website. Should it be done at the webserver level (lighttpd), at the application level (wordpress), at the PHP level, or somewhere else?

    Read the article

  • Indicating end of Standard Input

    - by waiwai933
    How does one indicate that one has finished entering test in stdin? For example, let's say that I wish to encrypt 'blue' using MD5 (I know MD5 is unsecure, but just for this example). I tried user$ blue | md5 which I was led to understand is how one pipes input to stdin, but it doesn't work right. But if I just enter user$ md5 I can enter the word 'blue'. But how do I indicate to md5 that I'm finished entering text?

    Read the article

  • Create new vsftpd user and lock to (specify) home / login directory

    - by Geoff Jackson
    I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed. I've created a user using useradd [user_name] and given them a password using passwd [password]. I've created a directory in /var/ftp and then I bind this to the directory that I wish to limit access to. What else do I need to specifically do to ensure that when this user logs into FTP, they only have access to this directory please?

    Read the article

  • How to I reference a pointer from a different class

    - by Justagruvn
    Hey team of awesomeness!, (Iphone Objective-C question) First off, I despise singletons with a passion. Though I should probably be trying to use one, I just dont want to. I want to create a data class (that is instantiated only once by a view controller on loading), and then using a different class, message the crap out of that data instance until it is brimming with so much data, it smiles. So, how do i do that? I made a pointer to the instance of the data class when I instantiated it. I'm now over in a separate view controller, action occurs, and I want to update the initial data object. I think I need to reference that object by way of pointer, but I have no idea how to do that. yes I've set properties and getters and setters, which seem to work, but only in the initial view controller class. Peace Love applesauce.

    Read the article

  • Is it possible to use JavaScript to break the HTML of a page?

    - by Karl Brown
    I've been asked at work whether it is possible to write, on purpose or by accident, JavaScript that will remove specific characters from a HTML document and thus break the HTML. An example would be adding some JavaScript that removes the < symbol in the page. I've tried searching online and I know JavaScript can replace strings, but my knowledge of the language is negligible. I've been asked to look into it as a way of hopefully addressing why a site I work on needs to have controls over who can add bespoke functionality to the page. I'm hoping it's not possible but would be grateful for the peace of mind!

    Read the article

  • Technically, How does uploading Apps to an Android Phone Work?

    - by unixman83
    Amazon.com has an Android Marketplace. How do the apps go from Amazon.com to my phone? I am looking for a protocol level analysis. Do they use a basic protocol like FTP and then check with a Google digital signature? I do not own an Android. I wish for an explanation of how the protocol operates because I want to provide an android app for free download for my users off my website, like Amazon does.

    Read the article

  • How can I backup my windows XP drivers?

    - by Tal Galili
    Hello all, I've got a new (well, used) laptop. I wish to format and reinstall the windows OS on it. On the machine I've got several drivers which I would like to transport to the new machine, but I don't have the original drivers CD's. Is there a software that can backup my drivers, and then later let me reinstall them on the new windows installation? Thanks.

    Read the article

  • set file's icon in a command line utility not working

    - by Ief2
    I just began to work with Objective-C and I'm managing pretty well. My last challenge was to make a command line utility, which I could than use in AppleScript. But my code does not work, not in the terminal, not in the AppleScript. So I'm asking you, what's the error in this peace of code, that should be very plain and easy? int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // -imagePath // -filePath NSUserDefaults *args = [NSUserDefaults standardUserDefaults]; NSString *soundPath = [args stringForKey:@"imagePath"]; NSString *filePath = [args stringForKey:@"filePath"]; BOOL worked = [[NSWorkspace sharedWorkspace] setIcon:[[NSImage alloc] initWithContentsOfFile:soundPath] forFile:filePath options:0]; NSLog(@"Worked: %i",worked); [pool release]; return 0; }

    Read the article

  • How to change the build directory of a Hudson job?

    - by mark
    Dear ladies and sirs. My C: drive is full. I wish to move the builds folder from the job to another location. I can cheat with the help of the JUNCTION utility to redirect the original builds folder, but I am interested to know if there is the Hudson way to do it right. Thanks.

    Read the article

  • Cross-domain structure of the site

    - by Coreal
    I have a web site on which I wish to enable instant messaging via IRC. Now I am about to buy VPS to host the ircd on. So, I will have two servers: one is for the web site and the other is for the ircd. The question is how to use the web site's domain name for the ircd?

    Read the article

  • Ubuntu is not detecting my LCD properly , how do I fix the problem ?

    - by Nishant
    I want to reduce the brightness of my monitor as per my wish . But ubuntu System-Prefernce-Monitor doesn't have options and I think that coz it uses generic drivers . How do I fix this problem ? Model is Acer One Zg5 , Ubuntu 10.10 OS . Do I load the LCD driver ? I think it has a intel based inbuilt GFX card . /proc/acpi/video/OVGA/LCD$ cat * device_id: 0x0400 type: UNKNOWN known by bios: no state: 0x1d query: 0x00

    Read the article

  • Highlight multiple word on vim

    - by Benjamin
    There is a cool vim script http://vim.wikia.com/wiki/Highlight_multiple_words I found the script today. This script is what I want exactly. It works well with gvim 7.2(Both of Windows and Linux) But I wish I can use it on linux shell too. But It doesn't work. Is it possible? or is there another script we can use. Thanks.

    Read the article

  • Get extra hard drive space from windows 7

    - by abhinole
    I am using Ubuntu 12.04 and Windows 7 (dual-boot) on my laptop.For some reasons I want some more space in my Ubuntu partition.I have installed gParted in Ubuntu.Now is it recommended to get this required extra space from Windows 7 drive (*where my linux is installed *) directly using gParted? Will it cause damage to my boot loader or my data on the partition from where I wish to grab some space? Any help will be appreciated. Thanks in advance.

    Read the article

  • What does I.T.E stand for when it comes to power supplys?

    - by i-moan
    I wish I could give you more but I have a AC adaptor which I am trying to find ( as it's ... erm kaput ) and it has only a I.T.E power supply number. I can't seem to find where this acronym comes from. Also I wonder if there is a guide to the types of output socket connectors there are as I can't seem to find one that looks the same as mine ( 4 pin male output socket ). Thanks everyone

    Read the article

< Previous Page | 19 20 21 22 23 24 25 26 27 28 29 30  | Next Page >