hi all,
i'm accessing the stylesheet collection like this:
var css = document.styleSheets[0];
it returns eg. http://www.mydomain.com/css/main.css
question: how can i strip the domain name to just get /css/main.css ?
thx
Hello
I need to test my web server, but i need to measure it with lot of files with different size. I got about 500-1000 that kind of files. Can You please tell me how to do it in jmeter ? Maybe there is an option where i can put file with my files to retrive list ??
thx in advance
I'm using MS Data Service to send JSON. (Using a View in the DB)
Problem is that it sends "__metadata": {
"uri":"ALL THE DATA REPEATED"}
with the Data - each time.
This doubles our Data over the wire each call.
THERE MUST BE A WAY TO TURN THIS OFF!!!
WHO KNOWS HOW?
THX
How to print $2 by awk only if the four field is 0 (zero)
line="root 13246 11314 457 15: qsRw -m1"
then awk will print 13246
but if
line="root 13246 11314 0 15: qsRw -m1"
then awk will not print anything
THX
Yael
So, after a while of researching what SVN system should I use, I end up creating a project in Google Code.. thing is, that ANYONE can habe access to my repository, and is NOT what I want :)
So, I'm looking for a "private Google Code" code hosting web.
I found out that Bitbucket and Assembla are good, but.. any opinions?
Thx!
I have a jQueryUI theme built by Themeroller (1.7.2) that i'd like to tweak via Themeroller. I recall seeing there was a method to use an existing custom theme as a starting point for a new theme - essentially importing the old theme so additional tweaks could be executed.
Can't see instructions on how to do that now.
thx
Setting oauth with some providers is always kind of weird;
currently hitting a problem concerning the callback,
i had made everything work very nicely with google, getting redirected back specifying the callback url in both the get_request_token and redirect url param oauth_callback=
but it then for some reason stopped redirecting, i'm currently stuck with the pin to specify over at google.
I seeking explanations about this, if anybody went through the same kind of problem.
thx
Hey Guys,
i hope you can help me.
I'm looking for a "special" Datepicker JS/jQuery which needs some special Options:
I'll try to explain you with the help of the jQuery UI Datepicker
- the same function as the Inline Datepicker
- 2 Datepickers has to be shown at the same time
- it should be possible to disable Dates !!!!!!!!!!! (thats the Problem why i do not use the jQuery UI Datepicker !)
Can someone give me a good hint?
Thx and have a nice weekend.
Sascha
Hello,
I have an ANTLR grammar that can parse and evaluate simple expressions like 1+2*4, etc.
What I would like to do is to evaluate expressions like 2+$a-$b/4 where the $ variables are dynamic variables, that come from an external source and are continuously updated.
Is there any design pattern on how to do this using ANTLR, best practices, etc?
Shall I "substring" the $a with the updated value ($a - 4.34)
A nicer way to do this?
Thx
I'm having a problem dragging rows out of a datagridview. The grid has the property multiselect = true and every time I select the rows I want to drag out and then left click on the grid again, the selected rows disappear.
Anyone got a solution / a working example? Thx.
Hello,
Can i share one application related data with another. Say I have a music file in resources/raw folder of apk2. Can I use the same file in apk1.
thx...
Hi
In my app, for debugging i want to save pointer, before i do other operations on it eg:
void foo(...)
{
/* suppose ptr1 points to one of my strcuts */
ptr1 = NULL;
/* before that ptr1=NULL i want to save value of that pointer - how to do it ? */
}
thx for any help
Hi,
I just installed a couple of fonts on my Mac.
The font shows up in my Photoshop, but not in the Flash font list.
I already clear the font cache, reboot, put fonts in all folders (/Library/..., /Users/... etc)
What could be causing it?
Thx
I have the following command
find /var -type f -exec grep "param1" {} \; -print
With this command I can find the param1 string in any file under /var
but the time that it take for this is very long.
I need other possibility to find string in file but much more faster then my example
THX
yael
I have a long signup form and would like to hide a few fields and only show them when a certain input field is populated with text, if the user types some text in this field the other form fields will show.
I have looked at hide and show divs but have some trouble getting form elements hide and show them on a certain trigger ( populating a form with text )
anyone can point me in the right direction on how to implement
such feature in query ? thx in advanche!
i'm developing an application for content filtering. i'll use it as web service but my problem is that i hadn't developed any extension for firefox or ie before. i read some about firefox extensions and now i know a little about it.
firstly can i use web service in a firefox/ie extension? if yes, can you give me a link of tutorial or sth like that?
all suggestions are welcome.
thx..
hi, just uploaded some photos via django photologue. And one image, an extreme panorama format will not show properly. its 2200px wide.
Is there a limitation to the size of an image and can this limitation be changed?
thx
hi there,
i got a question when i come across the HTML 4.01 DTD:
in the strict DTD, a element is defined as
<!ELEMENT P - O (%inline;)* -- paragraph -->
but somewhat i thought is a block-level, and all(maybe almost) user agents define as a block-level.
so, i just wondering, is a block-level or inline-level element.
thx.
Hi,
Weird question, but I have a dictionary created with StringComparer.OrdinalIgnoreCase, looks something like this
AaA, 10
aAB, 20
AAC, 12
I then use myDictionary["AAA"] to find the value associated with the key, but what I also need to know is what the actual spelling of the key is in myDictionary, e.g. in this case I want it to return AaA. Any way to do this without a loop?
Thx.
I'v got some problem to understand the difference between Logarithmic(Lcc) and Uniform(Ucc) cost criteria and also how to use it in calculations.
Could someone please explain the difference between the two and perhaps show how to calculate the complexity for a problem like A+B*C
(Yes this is part of an assignment =) )
Thx for any help!
/Marthin
Hi,
Anyone give example program which explains Java Threads in a simpler way.For example,we have the following threads t1 , t2 and t3 . Here I want code that shows each thread is executing simultaneously not sequentially like non-threaded java programs.
Thx
Hi,
i have a webview in my iphone app where a google map location is opened like;
Directions
now the google map native app opens fine, but how could i add a RETURN button so it would jump back to my html page. Now i have to click my home button and the app close back to the desktop, so i have to start my webview again.
in android its more easy, because there is always a back button and after viewing my gmap i simply back in my webview.
thx
chris
Hi,
ive just set up my machine from scratch and was wondering if there are any open available ready to use eclipse versions (3.5 preferred) which have already installed famous (most used) plugins like subversion support, maven, pmd, checkstyle findbugs etc. Would save me time setting it up myself.
thx,
kuku