Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I changed my profit amount in a live trading game with firebug but I can't save the amount which I changed.When I buy or sell the stock the profit is going back to the live rate,if there is any way for saving the changed amount ?
Not from Firebug. You are just editing the in-memory DOM of the page.
If you want to make it persist in your browser then you'll need write a browser extension that will modify the page every time you load it.
If you want to make it persist for everyone then you'll need to change the server to send the updated data. This could mean anything from just editing a file on the server to writing some server side code that can accept a request (over HTTP) to change data in a database and then use that data to generate the page each time it is loaded.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm getting an image of size 610kb from an HTTP source and displaying it on my app main page But I feel like its too large. There are no alternatives - provider does not have any lower resolution images. It may eat away at users bandwidth if they refresh too often. How should I handle this?
EDIT - its a live space image of earth updated every 30 seconds (but I programmed the app to update every hour - i.e. it caches the image to the phone so it wont update unless 1 or more hours has passed
BUT there is a refresh button, the user can force update whenever they want
I've never heard of such limitation in WP. As long as your app is in the foreground, it can download large files without problem. 610 kb isn't a big deal and it can be downloaded in a matter of seconds.
What you should pay attention to, however, is to download your image and do any heavy post-processing asynchronously (in a background thread). Also, make sure that the user is alerted that a download is in progress so that they can wait for it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Here's my situation:
My client has an very large database. Currently, they fill out Inspection Forms by hand and manually put them into the database after the inspection. The forms are mostly checkboxes with very few areas for text input. They want to migrate from paper to tablets which are not specific to a single OS. When on the job site, the tablets will usually not be connected to the Internet.
I've been racking my brain for a few days trying to think of a solution. In what way could we record the offline data entry? Is there a way to synchronize the data when reaching an Internet source or would we be better off saving the current information and entering it into the db by hand when the inspectors are back at the office?
I was thinking to use HTML5/JS/PHP as it can easily be used on an android based, iPad, or Windows tablet and be cross compatible. I may be ruling out PHP as neither device should be able to run it locally.
Let me know if more information is needed.
Thanks in advance.
This might help you mate.
Getting Started with HTML5 Local Databases
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
The person I use for hosting my website has told me that my website will look like this in the browser.
http://www.website.domain/folder/index.html
I would prefer the site to look like this:
A - http://www.website.domain/
or
B - http://www.website.domain/index.html
I am almost certain this is possible, and they just do not know how to set some kind of file path. This is a one page html site and the entire site is contained within 1 folder. So I have decided to go and find a company that will host my site (i.e. 1and1.com).
First, how do I set up web hosting for either of my preferred ways? What is the preference among web developers on preference A or B?
Second, what would be the consequences of adding a second folder containing another website. Would the second website still be able to have a URL of style A or B without interfering with the first website?
Just configure your web server's document root for each vhost accordingly. If your web host won't do this for you, or doesn't let you do it... find a new web host.
There's a good tool called mod_rewrite for that.
Getting started: http://wettone.com/code/clean-urls
Complex examples:http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I started creating online open source game as a project in school. It will be server with n connected clients. But now I have a problem with "security". What to do if one client would used modified source code for changing some restrictions? How can I prevent it? My first idea was make client only for connection to server and server would send all necessary files but I don't like this idea very much. Can you advise me something better? Thank you.
You need to keep your validations in the server. The server should check each client move, and if it's not allowed according to the server's rules - reject it.
You should still keep validations in the client, too, so that users who don't mess with the client code can get speedier responses.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I work for a small business that does a lot of commerce via eBay. Right now, we have a pretty large database (in FileMaker), and our current method for getting newly-entered items from the database to eBay involves entering them manually, line-by-line, through a browser window into Auctiva. This is an extremely time-consuming process, and I've been tasked with automating it, if possible I've already written a good bit of code in Ruby to parse tab-delimited FileMaker exports into pretty much whatever I want, so I was wondering if there was some way to upload static HTML directly into an eBay listing. If so, I could just snag a spiffy HTML template from oswd, modify it, and modify the code I've already written to handle injecting the pertinent info directly into the document, then just upload that.
If you can do whatever with the product data, and have all the data necessary to make a listing, you can use the eBay API.
http://developer.ebay.com/products/trading/
has a HTTP POST based submission handler so you can use any http client you want (Net::HTTP, HTTP party, Curb etc) and post your listings that way.