similar to: variable-substitution / command-substitution

Displaying 20 results from an estimated 170 matches similar to: "variable-substitution / command-substitution"

2006 Aug 05
3
Four Days on Rails
I''ve been reading the tutorial and I have problems with the TinyInt(1) for the attribute "item.done". I thought this thread would be the best to post it. I''m using Rails 1.1.14. When in the partial template _list_stripes appears: <%= list_stripes["done"] == 1 ? show_image("done_ico.gif") : "&nbsp;" %> it always returns the
2006 Jul 26
1
Installing MySQL server (user-pwd)
Hi you all, I am reading the Rolling with Rails article, by Curt Hibbs. In the beginning, when he is explaining how to install the MySQL Server, he comments we mustn''t set up any account cause MySQL uses an authentication algorithm that is not compatible with the current version of Rails. Is there any way to avoid this and establish an account with its password? (I am using MySQL 5.0
2007 Mar 17
4
Created_on and updated_on in a non-ActiveRecord model
Hi you all, I have a model simulating an ActiveRecord model, according to the tips stated in [1]. It is simulated because even though I am gonna save the attributes in a file, not in a DB, I still want the validations made by ActiveRecord::Base (see code below). Well, the thing is that I also want the behaviour of the created_on and updated_on columns, that get modified automatically before
2007 Apr 26
2
Can a hyperlink be placed, thorugh R programming, on a graph?
Hi, If I use x<-1:10 y<-rnorm(10,0,1) ### pdf(file="c:\\aldi\\test.pdf") plot(x,y) segments(x,y,x+2,y+2) segments(x,y,x+0.5,y+0.5,col=3) ### dev.off() ### q() Is there a way that I can imbed in the graph plot for each point defined by x to x+0.5 and y to y+0.5 (and colored in green) a different hyperlink? For example point one (together with the green tail) will have the
2006 Jul 21
15
RoRED a free Ruby on Rails editor for Windows
Hi. On http://www.plasmacode.com you can download RoRED, a free IDE for Ruby on Rails apps, only for Windows. It has some interesting features like tab-grouping of related MVC files, code navigation into methods (ctrl+click), and more. Best regards, Marcus. http://www.plasmacode.com -- Posted via http://www.ruby-forum.com/.
2004 Jan 08
3
Installing R on 64-bit Solaris 2.8 --- follow-up
Hello R-users, thanks to Brian Ripley and Roger Peng for there prompt replies on installing R on a Solaris 64-bit machine. R is now running and seems to be doing fine. I realy would like to have access to the manuals so I can climb most of the learning curve on my own -- I am a long time user of Splus, hence I am not expecting the learning curve to be too steep. On the Sun machine that R is
2016 May 07
0
RV: Daily mail report for 2016-05-06lzq
Enviado desde mi smartphone BlackBerry Z10 4G Lte.   Mensaje original   De: admin at pr.copextel.com.cu Enviado: sábado, 7 de mayo de 2016 12:30 a.m. Para: admin at pr.copextel.com.cu Asunto: Daily mail report for 2016-05-06 Grand Totals ------------ messages 409 received 4135 delivered 0 forwarded 10 deferred (114 deferrals) 14 bounced 90 rejected (2%) 0 reject warnings 0 held 0 discarded (0%)
2005 Sep 20
9
HooDaHek 0.6 Released
HooDaHek 0.6 has been released. So soon, you say? Well, the best laid plans of mice and men... Steven BerkHolz is a pretty sharp stick and said to me, "Why don't you have HooDaHek change the CallerID when it looks up the name in the database on an incoming call?" Much head smacketh ensued, and as I made that change for Steven, I noticed that I had the way wrong version of
2006 Feb 07
1
onHover: can u explain me this function ?
In Sortables, we have a function onHover: onHover: function(element, dropon, overlap) { if(overlap>0.5) { Sortable.mark(dropon, ''before''); if(dropon.previousSibling != element) { var oldParentNode = element.parentNode; element.style.visibility = "hidden"; // fix gecko rendering
2006 Jun 30
7
javascript woes with radio button groups
Ok! So I have this survey project I''m working on where there are a list of questions but only one shows up at a time. That part''s easy. And, it is fully functional as we speak (and I think even ''live'') however..... My boss wants to be able to have the survey go to the next question when a user selects an answer. This part is easy.. except..... IE
2008 May 08
1
name substitution
I am using rsync between a BSD/OS system and a Linux system. On the BSD system, the user/group is www.www. On the Linux system the user/group is apache.apache. I have not yet found a way to get rsync to change www.www on the source system to apache.apache on the target system. Does anybody know a way of doing this with rsync. I currently use a find command to change the ownerships after the
2004 Jan 29
1
Variable substitution in grep pattern
Hi everibody. I'm working with a dataframe with many character vector in which each observation is made of one or more unique values. Example: > Licenza[56:58] [1] BSD License, GNU Library or Lesser General Public License (LGPL) [2] Qt Public License (QPL) [3] GNU General Public License (GPL) 66 Levels: ... Zope Public License As you can see, the observation can have one or more Licenses
2003 Jan 09
0
substitution list for graphs
Hi, Is there any facility in R to use text strings from a different object in a graphical output. For example, I have a simple bargraph but instead of using the row names as the x axis labels I would rather use the text strings from a different object (there are the same amount of text strings in that other object as rows in the matrix used to create the barplot). I have to do this kind of
2001 Dec 26
0
Variable substitution in smb.conf
Hello everyone, I have approx. 1000 users accessing a samba server, each with there own user dir. Currently I have samba set up to map users to /basedir/%u but because there are so many users, I want to break up the directory structure. I would like to take the first two letters of each username connecting, and map their directories to a subdir. If I've been confusing in this request,
2011 Nov 23
1
character substitution within a variable name
Hi, I'd like to create a function that accepts as arguments a string that is to be substituted within a variable name. For instance, suppose I have a data frame df: df<-data.frame(x_narrow=c(rnorm(100,0,1)),x_wide=c(rnorm(100,0,10))) What I have in mind is something like: f <- function(string){ var = paste("x_",string,sep = "") df$var } which does not work. Any
2007 Mar 05
1
is substitution possible?
Hi, I'd like to write something like append root=${NAME}-root into PXELINUX's config file, that is, substitute the booting host's DHCP name into the kernel command line. Since that would be the only varying part in the boot config of a bunch of machines, I'd rather not use separate config files for each. Is there a way to somehow achive somehing like this? -- Thanks, Feri.
2012 Aug 14
0
New % substitution for sshd_config
I have a system which would benefit from the ability to configure sftp chroot jailing to a directory containing a group name. I have created a simple patch which implements this change and tested it on the openssh 6.0p release. Briefly, %g expands to the user's group name in a ChrootDirectory configuration line. Is it possible that such a change might be rolled into openssh? I would like to
2016 Dec 31
1
[Bug 2657] New: Documentation does not mention that AuthorizedKeysCommandUser accepts "%u" token substitution
https://bugzilla.mindrot.org/show_bug.cgi?id=2657 Bug ID: 2657 Summary: Documentation does not mention that AuthorizedKeysCommandUser accepts "%u" token substitution Product: Portable OpenSSH Version: 7.4p1 Hardware: 68k OS: Mac OS X Status: NEW Severity:
2003 Jul 29
1
Variable Substitution
Hi, Can I do variable substitution in the [globals] section of extensions.conf? For example something like this: [globals] EXT_BOB=4206 PHONE_BOB=SIP/${EXT_BOB} Thanks, Justin
2009 Apr 14
0
OT - Define what substitution is ...
Hello, Substitution is a classic PBX feature. How would it best be defined ? For me, it's the ability to configure a telephone so that it would behave almost exactly like the one you would regularly use. My questions are : - how should behave the phone you regularly used ? - how should incoming calls for the substituted extension be treated ? - is it standard use to define which phone can