I have about 10+ iframes in a page, and it's slowing down Firefox3.6.x substantially.
Is there anything I can do about this? i.e. modify the DOM somehow, or suspending certain events etc etc ?
I'd like to have a DropDownList that has a CheckBox next to each item that would allow multiple to be selected. I did a little poking around but haven't found anything that will do this, does anyone know if this can be easily achieved?
I know it can be done with a listBox, but would prefer the dropdown format to save space.
git revision syntax is really powerful, but I can't find how to simplify things like:
git diff 1a2e^..1a2e
without writing tree'sh1 twice?
Is there now "NEXT" syntax, something like:
git diff 1a2e^..NEXT
OR
git changeset 1a2e
??
Another "next" syntax which might be useful if 1a2e is a known revision:
git cherry-pick 1a2e+NEXT..origin/featureBranch
^^ "cherry pick anything from 1a2e to master EXCEPT 1a2e itself"
I'm using subeclipse plugin for eclipse for SVN. My project looks like this :
ProjectName\
- branches
- special_
- tags
- trunk
I have currently checked out project from special_ and I've modified and added one class, how can I merge the code which I updated/added to trunk ? I'll take anything into consideration
I have a need to determine if a database on a MS SQL Server has changed between two distinct moments.
The change can be structural or data-related and the check should be generic (i.e. independant of the structure of the database).
Preferably, I'd like the check to be T-SQL based or with SMOs, not file based. I checked on MSDN but I haven't found anything relevant so far.
I use the FindBugs Eclipse plug-in and was wondering if I can simply analyze only one class rather than the entire project? I can't seem to figure it out. Simply right-clicking on the target class doesn't seem to do anything.
Hi,
I am doing a normal curl call to a webservice and I grab the return HTTP code through
$code = curl_getinfo ($ch, CURLINFO_HTTP_CODE);
It does return me $code as 200 - which is good.
But logging the curl calls now from a week, there where few calls to the same webservice which didn't return anything! so basically I am getting $code as blank.
Can someone tell me what should be going wrong under those scenarios, and if can debug it more!?
Thanks,
Tanmay
I'm trying to unit test an observer in rails but none of its callbacks are being invoked. I'm sure I have something configured incorrectly but just to be sure I was wondering if this may be a Rails limitation during unit testing.
I've looked at the docs and they don't mention anything.
I have a root view controller with no nib file,
I tried adding this at cellForRowAtIndexPath as that passes in a UITableView as tableView.
So I put :
tableView = [[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStyleGrouped];
It ran with no error but it didnt seem to change anything.
I've found out that my R.java is never updated, so it doesn't contain info about my new resources, so I decided to delete it and thought that Eclipse will generate a new one. But that didn't happen and I don't have R.java now. How can I generate one?
I'm using Win7, if that changes anything.
In IE8 (& maybe others), when I leave my page to go to another tab in IE and then come back to my page's tab, each time the cursor runs over an image it disappears until I refresh the page. I've heard of disappearing image bugs, but I couldn't find anything on this particular case, especially given this isn't a weird pre-IE8 bug. I am using a lightbox, so possibly something to do with javascript?
http://dev.bwmsnow.co.nz/snowboarding
Hello
This is not homework, I need this for my program :)
I ask this question, because I searched for this in Google about 1 hour, and I don't find anything ready to run. I know that is trivial question, but if you will help me, you will make my day :)
Question:
How to copy text in string (from for example 8 letter to 12 letter) and send to other string?
I have string:
string s = "RunnersAreTheBestLovers";
and I want text from 8 letter to 17 letter in next string
Alice90
Per the documentation, String.Format will throw a FormatException if either (A) the format string is invalid or (B) the format string contains an index that cannot be found in the args array.
I want to be able to determine which (if either) of those conditions fail on any arbitrary string and array of arguments.
Is there anything that can do that for me? Thanks!
If I do something like this in ColdFusion:
<cfoutput>foo="#foo()#"</cfoutput>
The resulting HTML has a space in front of it:
foo=" BAR"
However, if it is not a function call it works fine, i.e.:
<cfset fooOut=foo() />
<cfoutput>foo="#fooOut#"</cfoutput>
Gives this output:
foo="BAR"
Where is this extra space coming from and is there anything I can do about it?
Hi all, I have some files that in windows enable me to prompt messages when a device is plugged. In case it is lost it pops up a message that says the user to please return it to he owner. Does anybody know how can I do this in Linux? I doesnt need to be a complex thing, it can be an option in a right clic menu, or a splashcreen, or anything, just to make sure that the owner of the device may be looking for it.
Can someone explain what the 'e' flag does, or link me to somewhere that does? I couldn't find anything via google.
Example:
preg_replace("/a(b?)c/e", "search_foo_term('\$1')", $str);
I want to link the example with liba.so, and also the example is NOT using anything inside the liba.so ...
armlink --userlibpath /mylib/lib liba.so --fpic --shared -o example main.o demo.o
So finally I got nothing from: readelf -d example | grep NEEDED, it seems that armlink do some optimization to remove the linked library which is not really used by the "example" ? If I want to let the liba.so be always linked into example, what need I do with armlink options ?
Any information is very appreciated ;)
I'm using
{% url facebook_xd_receiver %}
in one of my HTML files. This works just fine when I run my project using the command
python manage.py runserver
But the same project stops running and gives me a "TemplateSyntaxError" at the line
{% url facebook_xd_receiver %}
Can anyone please tell me what could be the difference between the dev server run through the command line and the apache server.
Is there anything I'm missing out on while configuring the Apache server? Or is it a Django problem?
Anyone know if ffmpeg does asynchronous file io? That is, the input file is read in a separate thread as to avoid io blocking the processing thread?
Basically what I want to figure out is whether or not i need to do calls to "av_read_frame" inside a separate thread (to avoid blocking) or if ffmpeg alrdy handles this issue?
How might I figure this out? I've tried downloading the ffmpeg source but haven't been able to find anything useful.
Hi, i was curious if there is some sort of way to change the look and feel of wxpython to something that is more standardized. I am writing a small application for windows and mac os x. And i noticed that Mac formats the layout and look of my application pretty terribly. I looked around online and could not find anything. Any ideas?
Is there a command-line tool that could tell me if Gzip is on? What I'm looking for is something that can say the stream coming from the server is really gzipped even if the header params say Gzip:1 (which it could be falsely placing in the headers).
I don't see a switch in curl, or wget, or tcpdump, or anything, but maybe I'm just missing something, or perhaps there is something else that could provide me this bit of information? Any help would be appreciated.
If I do something like this in ColdFusion:
<cfoutput>foo="#foo()#"</cfoutput>
The resulting HTML has a space in front of it:
foo=" BAR"
However, if it is not a function call it works fine, i.e.:
<cfset fooOut=foo() />
<cfoutput>foo="#fooOut#"</cfoutput>
Gives this output:
foo="BAR"
Where is this extra space coming from and is there anything I can do about it?
I need to create a vb.net program that consists of a unmovable, always on top bitmap, with no menu bar or anything, and does not show up in the task bar as program.
It needs to always start in the same place.
Essentially I need to mask a part of the screen by using a bitmap that blends into the scenery.
I am not sure which properties I need to tweak to achieve all of this.
I'm trying to use python to copy a tree of files/directories.
is it possible to use copytree to copy everything that ends in foo?
There is an ignore_patterns patterns function, can I give it a negated regular expression? Are they supported in python?
eg.
copytree(src, dest, False, ignore_pattern('!*.foo'))
Where ! means NOT anything that ends in foo.
thanks.