ruby stops after first loop [closed] - firefox

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
for e in 1..43 do
browser.link(:xpath,".//*[#id='buttonPrint']").click
sleep 3
puts browser.link(:xpath,".//*[#id='cmdNext']").click
end
browser.goto "http://www.cramster.com/solution/solution/912984"
for f in 1..33 do
browser.link(:xpath,".//*[#id='buttonPrint']").click
sleep 3
puts browser.link(:xpath,".//*[#id='cmdNext']").click
end
i want to have ruby go to the first url, click through all the buttons then go to the second url and click through all the buttons
right now ruby goes to the first url, performs the loop and does not see the second url
?

What you are trying to do is in violation of the Cramster terms of service.
G. No Bugs, Robots or other Automated
Programs. You may not use or introduce
bugs, robots or other automated
browsing or posting programs on or to
the Web Site at any time.
I therefore refuse to assist you and encourage other users to do likewise
Unless you want to come up with some credentials, other than a brand-new stackoverflow user account with no history and no details, and something that shows you are doing this with Cramster's permission (e.g. a tester working for them) we are done here.

Related

max_user_connections or ip connection limit exceeded [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am getting following "PHP Error Message" :
User ** already has more than 'max_user_connections' active connections in /home/*//* on line 6 or
for my website www.**.com, and this error goes after reloading the page for 3-4 times. Earlier this error was not coming. So can somebody tell me whether this error relates to PHP or DB.
i am using freehosting like 1freehosting.com or 000webhost.com
You receive max_user_connections message when the maximum number of users allowed to connect the server are already there.
Here are the links for your references
http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_max_user_connections
http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html
You can either increase the number of connections allowed or
Instead of opening new connection for everyone. Why dont you use same connection for all queries.

What are the events are fired in the front controller in Magento? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What are the events are fired in the front controller in Magento and what are the functionality of those events ?
There are 4:
controller_front_init_before - the first event triggered and can be used for any sort or redirects, logging or benchmarking
controller_front_init_routers - here custom routers can be added
controller_front_send_response_before - last chance to set cookie, modify output or close benchmark. Note: That's why it is not a good idea to echo anything in action controller.
controller_front_send_response_after - here you can clean or write cache, log something, any other cleaning or action user doesn't have to wait for.

What does "A" logging indicator mean in Websphere? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
What does "A" logging indicator mean in IBM Websphere Process Server?
Below is a list of message types in WebSphere logs and traces;
1,2,3 Trace info: fine, finer, finest
A Audit 
W Warning
Z Type was not recognized
E Error
D Detail 
C Configuration
F Fatal (exits process)
I Information
O Program output
R Program output (sys.err)

Does blobstore service retain the file creation date (not upload date)? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I capture the original file creation date of an image file that's been uploaded to the blobstore?
All similar questions/answers seem to refer to the upload date of the image. I'm interested in the date at which (in this case) the photo was taken.
Btw, my apologies if this is a total newb question.
Browsers won't send the file creation date when uploading images, so you won't have it on the server side (whether you use AppEngine/Blobstore or not).
For photos though, cameras generally save the date within the file, as EXIF metadata (or IPTC or XMP). I don't know if there's any API usable in AppEngine that'd allow you to access the EXIF metadata.

How can one manipulate the Start menu's "Recently Used Programs" list programmatically? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm looking for a way to make programs appear (frequently) used, so that they would appear in the Start menu's "Recently Used Programs" (after a zero touch install).
I'm trying to figure out how Windows stores information related to program usage frequency.
The only (maybe) related things I can see being changed when I run a program from the Start Menu, are some (seemingly undocumented) BagMRU registry keys which have no meaning to me.
I did found a way to get programs pinned, but that's not what I'm looking for here.
Update: please see the comments for explanation why I would like to do this...
Update2: I'm making progress... Now I know where they keys are stored and I know that the keys are ROT13 "encrypted". And the second 4 bytes of the values are the counter.. http://blog.didierstevens.com/2006/07/24/rot13-is-used-in-windows-you’re-joking/
This ROT13(wikipedia) encryption thing is funny. Well, of course there is a reason. They don't want you to be able to find it by simple search.
Lol, and in windows 7 they are using Vigenère crypto! much better :D
At the risk of downvotes, this is not something you should be doing. The "Recently Used Programs" belongs to the owner of the computer, not your program.
If your program is as useful as you think it is, it will automagically show up there.
Raymond Chen has done quite a few articles as to why this sort of thing is a bad idea.
This rates among all those other bad ideas such as:
how can I force my program to be the handler for certain file types?
how can I keep my program always on top.
how can I annoy my users by making decisions for them when they previously had the power to make their own decisions as to how their software was configured? :-)
Update:
A couple of things you may want to try.
Copy a program (explorer.exe) to axolotl.exe and run it enough times to get it on the list. Then search the registry for it (assuming there's not another axolotl.exe somewhere on your disk).Be aware that some strings are stored as Unicode so it might not be a simple search. It also wouldn't surprise me if MS encoded them some way to make this more difficult.
Microsoft's sysinternals have a tool that can monitor the registry (regmon, look here, you could run that while you run a program a few times to see what gets updated when it's added to the list.
I found what I was looking for here:
http://blog.didierstevens.com/2006/07/24/rot13-is-used-in-windows-you’re-joking/
If this is possible, I do recommend against it. It is, as you say, undocumented behaviour and circumvents the intended usage of the frequently used programs list. What's wrong with a desktop icon and quick launch shortcut?
Use Win32 Shell COM interfaces
It has been explained for decades, like for all undocumented features, on Google Groups (Win32), same method than on W95..

Resources