similar to: Keeping javascript in the <head>

Displaying 20 results from an estimated 300 matches similar to: "Keeping javascript in the <head>"

2006 Apr 12
1
Dynamically updating list
hi every body. i am try to do example of agil books.dynamically updating list of chapter 18. 1)this is my code for controller---- class ListnoajaxController < ApplicationController def index @items = Item.find_recent end def add_item item = Item.new(params[:item_body]) render(:partial => "item", :object => item) end def item end end 2)the code for item class in app/model class
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello, I just can''t seem to find a way to extend a form dynamically in ROR. Say I am writing a recipe website. There is one form to enter the recipe. There is room for N number of ingredients (let''s say a text field for each ingredient name and selection list for the amount). What if the user wants to add more than N ingredients as he types them in? how do I do this without
2005 Jul 26
11
Xen on production enviroment
Hi, Someone already use xen as production server? For example: 3 domains (mail, proxy and web server). And what about stability? Regards, Marlon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Apr 03
11
View source after AJAX update?
Does anyone know how to view the new source in IE after an AJAX update? When I "view -> source" I get the original page source, not the page source as updated. Thanks in advance, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/e8d96b2e/attachment.html
2006 Jul 27
12
Weird HTB behaviour in 2.6.17
Hello, I''ve just compiled the kernel 2.6.17 and noticed an odd HTB behaviour. For instance: tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil 750Kbit burst 15k tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst 192.168.5.1 classid 1:30 The filter works ok and the traffic to 192.168.5.1 flows through the class 1:30, but the rate gets much higher than
2009 Jan 14
3
Precision in R
Dear All, I'm preparing a simple algorithm for matrix multiplication for a specific purpose, but I'm getting some unexpected results. If anyone could give a clue, I would really appreciate. Basically what I want to do is a simple matrix multiplication: (WB) %*% t(WB). The WB is in the disk so I compared to approaches: - Load 'WB' using 'read.table' (put it in WB.tmp) and
2007 Oct 18
7
Rails app settings for GoDaddy
I have a rails application that I am trying to get up and running on my GoDaddy account. I read an article that I got from this forum about how to properly set-up my account, but after following those direction I still get nothing to work. Just wondering if there is anyone out there that can point me to other resources to get me started or if anyone has any suggestions on what to try next. The
2003 Jul 28
1
Reading a file every t seg.
Dear all, I'm writing a small program to read a file that receives data every time (e.g. every 1second ). During the execution of my program I get the message: " Error in read.table("file.txt", header = T, sep = ";") : no lines available in input " I suppose that it happens when I try to read the "file.txt" while it is being written. To overcome
2008 Apr 12
2
X100M never goes on-hook state
Hi guys, I've been experiencing a very strange issue with my Digium Card TDM400 as of this week. It has two FXS and two FXO. The FXO modules (both of them) never goes on-hook after hanging up in Asterisk. It had worked perfectly well for over four years. I put an ammeter in series with the line and the card, and immediately after plugging the connector to the card, I got 26mA in the circuit
2007 Aug 24
3
Keeping queue counters after restarting
Hello, Every queue has some status counters (completed, abandoned, hold time...) that are very useful for statistics. The problem is that those counters are reset every time Asterisk restarts. Is there a way to keep those counters, maybe in astdb? Also, is there a way to reset the counters through a cli command? Thanks. -- MARLON DUTRA Propus GnuPG ID: 0x3E2060AC pgp.mit.edu
2007 Jul 15
1
NNET re-building the model
Hello, I've been working with "nnet" and now I'd like to use the weigths, from the fitted model, to iterpret some of variables impornatce. I used the following command: mts <- nnet(y=Y,x=X,size =4, rang = 0.1, decay = 5e-4, maxit = 5000,linout=TRUE) X is (m x n) Y is (m x 1) And then I get the coeficients by: Wts<-coef(mts) b->h1 i1->h1
2006 May 25
13
.NET developer trying to understand some Rails basics
Hi All, I''ve been a ASP.NET developer for the last few years and consider it to be a pretty productive environment to work with. However, the object-relational mapping (ActiveRecord) and simplicity of the Rails framework and Ruby in general really appeals to me. .NET currently doesn''t have something like Rails'' ORM - atleast not out-of-the-box. Here''s my
2006 Nov 22
1
Agent Channel SIP transfer
Hi, we are using asterisk 1.2.13. When callbacklogin agent transfer call using SIP phone's transfer feature, he is always in busy status and cannot answer any more incoming call from queue until the transferee hang up the call. -- Regards! Liangliang
2020 Feb 26
2
NT_STATUS_ACCESS_DENIED when issuing smbclient -k
Hi Rowland, I tried to set that option but still same result. I recreated the setup in old debian wheezy 7.11 and it's working. set the log level = 10 'abcd' is the user account then i noticed this in /var/log/samba/log.10.0.2.15 = the ip of the samba server, i am issuing the smbclient in the samba server itself. Unix User found. Rid marked as special and sid (S-1-22-1-12658) saved
2003 Apr 11
1
--with-winbind-ldap-hack
Hi fellows, Could anyone tell me what --with-winbind-ldap-hack exactly does? I couldn't understand reading instructions on the source code. I'm having a big problem, which I described in another e-mail, with subject "Domain controller - LDAP". If anyone can help me, I'd be pleased. Thanks at once. -- MARLON DUTRA Debian-RS http://people.debian-rs.org/~marlon/ ICQ:
2020 Feb 24
2
NT_STATUS_ACCESS_DENIED when issuing smbclient -k
Hi Rowland, Can we at least make it work in a new server, i need to virtualize this first before i moved to Samba AD domain, this conf came from the debian wheezy which has a samba 3.6.6 i'm trying to replicate the OLD server exactly as much as possible because i might break something. I tried to changed the security = ads and kerberos method = secrets and keytab but still could not work when
2006 Jan 01
4
Agile book deltas
Are there deltas for the revisions of the PDF version of the Agile book? -- fxn
2001 Apr 17
1
Beginner question
I'm a Beginner on R-language and I' have tried to use some packages but the following message have appeared: "Error in .Fortran("pspline", as.integer(n), as.integer(nvar), as.integer(norder), : C/Fortran function name not in load table" I'm using a Windows version and I'd like to know if it is a installation problem or problems with paths? Thanks,
2010 Jan 21
1
Xapian under 360 MB VPS
Hello, I wish to get some feedback on the use of Xapian in a virtual machine hosting plan with 360MB. The processes to share the 360MB will be the following: 0. nginx web server as front (estimated 5MB) 1. custom C++ FastCGI for dynamic requests (estimated 10MB) 2. Xapian writer (1 process and 1 thread) 3. Xapian readers (1 process with n threads for n readers) 4. PostgreSQL (estimated 50MB
2007 Feb 13
4
Nortel 81C MSDL Trunking to Asterisk TE110P, Nortel Resetting PRI Channels
We are currently working to trunk from a Nortel 81C to an Asterisk Server 1.4 running on Red Hat Linux. We have two PRI trunks which work with the exception of the clock slips, which is causing the Nortel to reset the PRIs once a hour. Thanks for any suggestions. 81C MSDL Asterisk Digium TE110P REQ prt TYPE adan dch 10