Can you do this, like you can with MooTools
http://ryanflorence.com/slideshow/#navigation-demo
in jQuery? So you can navigate like that and use left/right keys?
I made an error when I was working and wound up with a commit tree I didn't want. Right now, things look like this:
[master]
A -- B -- C -- D
\
\
C' -- D'
[HEAD]
I want to wind up like this:
[master, HEAD]
A -- B -- C -- D
How do I get there from here?
I want to do an HTTP POST that looks like an HMTL form posted from a browser. Specifically, post some text fields and a file field.
Posting text fields is straightforward, there's an example right there in the net/http rdocs, but I can't figure out how to post a file along with it.
Net::HTTP doesn't look like the best idea. curb is looking good.
this is simple I know, but i don't have internet access and this netcafes keyboard sucks, so if someone can answer this question please.
what would be the class ? just give me a kick in the right direction. there is simple arraylist object that I want to write and read to/ from file.
thanks
Hi all,
The question is quite simple : I have a plugin for Zend Framework.
Should I put it in the "library/Plugin" folder, or in "application/plugins".
(btw for now it is in library/Plugin but this works on Linux and Mac Os X, but not Windows so i figured maybe that is not the right place)
Thank you
I received such message in erlang condose at first@localhost node
=ERROR REPORT==== 1-Jan-2011::23:19:28 ===
** Node 'second@localhost' not responding **
** Removing (timedout) connection **
My question is - what is timeout in this case? How much time before causes this event?
Howto prevent this "horror"? I can restore\recover to normal work only by restart node...
But what is the right way?
Thank you, and Happy New Year!
I have index.php which uploads a file to server and sets several PHP variables (like $target_folder_and_file_name).
index.php also has the following line (it was originally index.html):
<script language="JavaScript" src="main.js.php"></script>
After index.php returned to the browser, the browsers asks for main.js.php from the server (right?).
Can I access somehow $target_folder_and_file_name from the PHP code in main.js.php ?
I have the following code
class Transcription(object):
WORD = 0
PHONE = 1
STATE = 2
def __init__(self):
self.transcriptions = []
def align_transcription(self,model,target=Transcription.PHONE):
pass
The important part here is that I would like to have a class member as default value for a variable. This however gives the following error:
NameError: name 'Transcription' is not defined
Why is this not possible and what is the right (pythonic) way to do something like this.
I've created a stock ticker function and need to call it every 2 minutes.
I've succeeded in doing this with the javascript setInterval function, but the problem is on the first call it waits 2 minutes before calling the function, whereas I want the first load to be called right away.
function CallFunction() {
setInterval("GetFeed()", 2000);
}
hi,
I have a php project which used to work well, yesterday it suddenly failed, from the login page i cannot actually get into the system with the right username/password. i checked it in Firebug, it said: failed to load source for the php file that's supposed to load after login.what could be wrong? anyone have any idea? Thanks.
I would like to have my GWT application use different constants when debugging or developing vs when deployed. What is the right way to do this? My web searches turn up a lot of pages about debugging GWT applications, which isn't what I'm looking for.
My HTML page contains many tables,with numerous tr and td. While rendering in IE8/IE9 the
its very slow but in Firefox its fast. I had read somewhere while drawing tables if the tables are not of fixed width, IE calculates the width every time and renders so usually slow.
Right now i am adding Table style="table-layout:fixed" which made me feel its faster.
Are there any similar styles that can be added to tr and td as well.Also
suggest if there any other attribtes that can be added to a table
I know there's no real right or wrong answer. I'd just like to hear from CSS developers how you like to order your properties and what is your reasoning behind your preference.
Thank you very much.
How would I be able to set the position of a UIBarButtonItem? Like, I would like to set it to be on either the very right of a UIToolbar or the very left depending on a state.
Thank you.
Why doesn't the u-infinity appear under the limit when I compile? Instead it is appearing to the right of the limit. How do I correct this?
\frac{1}{\lim_{u \rightarrow \infty}}
Question
I setup Hudson CI on a Windows 2008 server and now I want to be able to use the domain name to access it from any web browser. Right now I can only access it by using http://localhost:8080. How do I configure it to be public accessible?
I need to get focus to a specified window, and the only way I'm seeing on my head, is minimizing all windows on front of it until I get the right one...
How can I do it?
Windows 7, and no specific toolkit....
Every type of window, for example, firefox and console command
is there a way i can cache all required application files on the local computer for speed without any disruption (at least those that can be run locally)?
i want it to be able to start even without connection right from the start, isit possible? is Google Gears what i shld use? i heard theres a HTML5 feature/module for it?
I used asp.net in a project in an old company. The vs was licensed etc. Right now, I am planning to use mono since my new company is using linux based stuff and I heard that mono uses the .net framework etc. I just want to know if I need to purchase anything or is it ok to create a webapp using mono?
Hello, i need to use a command for converting my images to pvrtc. It is located in /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool
So right now i have to be inside that folder to be able to use the command. How can i set it up so i can run this command from anywhere?
Thanks
In my application I need to check a collection of 2D coordinates (x,y) to see if a given coordinate is in the collection, it needs to be as fast as possible and it will only be accessed from one thread.
( It's for collision checking )
Can someone give me a push in the right direction?
So, I made a simple socket server using python. And now I'm trying to structure a proper http response. However, I can't seem to find any sort of tutorial or spec that discusses how to format http responses.
Could someone point me to the right place?
I don't know why but i am having trouble getting my head round event dispatching.
Take this for example.
someClass():Void{
this.addEventListener("onChange",someObj);
}
Am i right in assuming this means that someClass is listening for an onChange event and when it gets it, it is then going to fire the onChange method on someObj?
Thanks, Kohan.
Right now I have an outdated URL that is getting 404'd:
http://mysite.com/category/?tag=blue-example
It needs to be redirected to:
http://subdomain.mysite.com/blue/
This doesn't work:
Redirect 301 /category/?tag=blue-example http://subdomain.mysite.com/blue/
How do I properly rewrite this URL?
I am so frustrated right now after several hours trying to find where shared_ptr is located. None of the examples I see show complete code to include the headers for shared_ptr (and working). Simply stating "std" "tr1" and "" is not helping at all! I have downloaded boosts and all but still it doesn't show up! Can someone help me by telling exactly where to find it?
Thanks for letting me vent my frustrations!