I want to log the URLs of all the popup attempts in my FireFox browser running on Windows.
Is there a way to do this? Either somehow externally, or internally with an extension?
I have a textbox on my web page that is used to specify a date, so I'd like to use the jQuery DatePicker. However, most of my users are locked into using IE6 and the performance of the jQuery DatePicker is a little sluggish in this browser.
Can anyone recommend an alternate JavaScript date picker, or any means of improving the display performance…
I understand the sharded counter, here: http://code.google.com/appengine/articles/sharding_counters.html The problem is that a simple counter will not work in my application. I am sorting my entities by a particular variable so I am returned not so much a count, but more of a rank. My current method is:
SELECT COUNT(this) FROM Entity.class WHERE…
Using TortoiseGit (I'm trying to avoid command line usage) how does one delete all commits that accended from a certain commit, and "get back in the past" (example usage: continued doing something, figured I didn't like where it was going, and decided to go "back" disregarding all in between).
I am trying to inflate an ImageView that scales a Drawable that I can display in a GalleryView. My code to inflate the view seems to work fine, except that the attributes of the ImageView are not applied. Specifically, the inflated ImageView does not have the width/height that I set for it via the android:layout params in XML.
Can someone show…
Hello,
I'm going to attend a job interview on Friday this week. It's an interview for a position of PHP programmer (the company doesn't do websites so I guess they just need somebody to administer their website).
I'm expecting there will be more people at the interview and that we will be given some simple questions or tasks in PHP so they can…
I've been searching for some time for a good solution to implement the idea of managing schema on a Sql Server Compact 3.5 db.
I know of several ways of managing schema on Sql Express/std/enterprise, but Compact Edition doesn't support the necessary tools required to use the same methodology.
Any suggestions/tips?
I should expand this to…
I have a short groovy algorithm for assigning rankings to food based on their rating. This can be run in the groovy console. The code works perfectly, but I'm wondering if there is a more Groovy or functional way of writing the code. Thinking it would be nice to get rid of the previousItem and rank local variables if possible.
def food =…
I'm trying to highlight certain form fields (let's call them important fields) when they're empty. In essence, they should behave a bit like required fields, but they should be highlighted if they are empty when the user first GETs the form, before POST & model validation has occurred. The user can also ignore the warnings and submit the…
Greetings,
I have an asp.net webpage with an modalpopupextender inside of an updatepanel. When I click Ok on the popup, I can get the textbox values from the popup just fine, but the DropDownLists have the old/default value, not the new value I have selected for them.
All the controls on the popup are set to enableviewstate = true, and…
Hello,
The other day I came across Jaiku, which is a well structured microblogging system open sourced by Google.
It surprised me I had never heard about this, so I was wondering what other open source alternatives exist for mainstream websites?
I am not asking about forums, eCommerce, wiki's, CMS's, etc, where the market leaders are…
how can i check if logo exists in this array called $attachements print_r is below:
Array (
[logo] = /home/richar2/public_html/ioagh/images/stories/jreviews/20100510115659_1_img.gif
)
when theres no logo, the array print_r's
Array ( )
i tried:
if (isset($attachments['logo']) ) {..}
but the conditional code runs when…
Hi,
I am having one text file which contain following kind of data.
"3P","Smith","Richard","3 Point Promotions","3P","richs51@gmail.com","IDA","Yes",,,,0,4,5,83.33,10,
"A1","Ernest","Amy","TAKE 1 Promotional Products","LCOOK","lcpromos@adelphia.net","IDA","Yes",,,,0,6,7,,0,
"A2","Derek","Eaton","Advertising Edge…
I use Firebug's console.log() for debugging my website. If I try viewing my website in browsers without Firebug then I get a console is not defined error.
Is there a way to gracefully avoid this error?
I found this potential solution, but it seems a bit cumbersome.
And ideas?
I have a set of key/values (all text) that is too large to load in memory at once. I would like to interact with this data via a Python dictionary-like interface.
Does such a module already exist?
Reading key values should be efficient and values compressed on disk to save space.
I'm wondering if there is anyway for drawing somethin over the videoControl.
I tried using LWUIT but I can't achieve any result, have anybody done somethin similar? Any help will be appreciate
First, let me say I'm not a professional programmer, but an engineer who had a need for it and had to learn. I was always working alone, so it was just me and my seven splitted personalities ... and we worked okey as a team :) Most of my stuff is done in C/Fortran/Matlab and so far I've been learning git to manage…
Basically, imagine you need to automate these steps:
Open Internet Information Services.
Find the web site, find the folder, right click the folder and select properties.
Click the Directory folder.
Under Applications settings, click the Create button. The application is now created. Click OK to finish.
…
I am using urllib2 to interact with a website that sends back multiple Set-Cookie headers. However the response header dictionary only contains one - seems the duplicate keys are overriding each other.
Is there a way to access duplicate headers with urllib2?
When starting Tomcat 6 on Windows 7 Enterprise with JRE 6 using
C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\tomcat6.exe
the application does not open and my event viewer has the message:
"Disabled use of AcceptEx() WinSock2 API."
The same installer of Tomcat worked on Windows Vista before I…
Hi All,
I'm having trouble accessing the content of QNetworkReply objects. Content appears to be empty or zero. According to the docs (translating from c++ to java) I think I've got this set up correctly, but to no avail. Additionally an "Unknown error" is being reported.
Any ideas much appreciated. Code:…
No matter what i try strangely enough my form and thank you page both php files one with embed font coloring and one with an external style sheet refuse to change font color from black.
thank you php file:
http://www.richiesportfolio.com/contact/thank-you.php
contact form php file:…
I am looking for a Chess AI that can be run on Google App Engine. Most chess AI's seem to be written in C and so can not be run on the GAE. It needs to be strong enough to beat a casual player, but efficient enough that it can calculate a move within a single request (less than 10…
I've poked around a bit, but I don't see an HTTP status code for when a request's succeeds, but there is an error after the "point of no return".
e.g., Say you process a request, its committed to the database, but while returning the result you run of memory, or encounter a NPE,…
There is another similar question to mine, but the discussion veered away from the problem I'm encounting.
Say I have a system that deals with expense reports (ER). You can create and edit them, add attachments, and approve/reject them.
An expense report might look like this:
…