Search Results

Search found 2 results on 1 pages for 'smnirven'.

Page 1/1 | 1 

  • Hitting a XML API using phonegap?

    - by smnirven
    Hey folks, I am looking at using phonegap to create a mobile app that accesses a xml api, I noticed there is a HTTP class defined in phonegap http://phonegap.pbworks.com/JavaScript-API#http, but I can't seem to find anyone that has used it yet. Any examples out there or hints/tips on using the http class to access a xml api?

    Read the article

  • Count the number of lines in a file with Ruby, without reading entire file into memory

    - by smnirven
    I'm processing huge data files (millions of lines each). Before I start processing I'd like to get a count of the number of lines in the file, so I can then indicate how far along the processing is. I am using Ruby, and because of the size of the files, it would not be practical to read the entire file into memory just to count how many lines there are. Does anyone have a good suggestion on how to do this?

    Read the article

1