similar to: "locals" in render partial

Displaying 20 results from an estimated 200 matches similar to: ""locals" in render partial"

2006 Nov 26
1
Patch for optiups to support Zinto D from ONLINE USV-Systeme AG
Hi Arnaud, Hi Scott, Hi list, Here is a patch to support the Zinto D from ONLINE USV-Systeme AG. I already sent a version to Russell Kroll (2006-04-09), without no response and I cannot find support for Zinto in svn until now. I found a discussion on this list about the Xanto from ONLINE, but the Zinto seems to use different commands. The commands are quite similar to those for Opti-UPS, so I
2006 May 17
4
Variable Inheritance - Set in Child, Read by Parent
Here's what I'm doing: 1. I set __FOO=0 in the current context. 2. I use Dial() and the M(testvar) macro call. 3. The macro-testvar can see ${FOO} just fine. 4. the macro-testvar modifies FOO. I tried: Set(__FOO=1) Set(_FOO=1) Set(FOO=1) 5. When the Dial()ed call hangs up, and the original context continues, FOO is still 0.
2007 Nov 21
2
I''m lost on exec
Hi Can anyone tell me what''s wrong with this one. Sorry I''m new and I just want to print some message to the the puppet log on the client side. --------------------------------------------------- $testvar = "Hello world!" class mytest { exec { "/bin/echo $testvar" } } I keep getting: err: Could not parse; using old configuration: Syntax error at
2006 Jan 31
4
Sos! "Lines" doesn't add plots to an existing plot...
I am lost: > plot(testError, col="red") > lines(testVar, col="black") Only one plot (the red one) appear on the Window, the black line did not appear...what's wrong? Thanks a lot! [[alternative HTML version deleted]]
2008 Aug 26
1
environments
Hi there, I try to understand the usage of environments but I'm not sure if I get it. I wrote a test script like this: testenv <- new.env(environment()) myfun <- function(x) { print(testvar) testenv$testvar_2 <- 20 } environment(myfun) <- testenv testenv$testvar <- 10 myfun("hello") ls(envir = testenv) Now, I was wondering if there is any way to create new
2007 Sep 22
1
delta copies
I posted the other day about trying to determine why my backups seem not to be doing this. I am trying to figure this out this weekend, I have two files on a RAID0 FreeBSD file system using SATA drives. I do a simple tar of /var twice and then rsync the two files only as a test, no folders involved....trying to determine why the entire file is being copied in its entirety and not synchronized
2006 Sep 22
1
Stack corruption in newhidups.c
Hi, (please let me know if there is a better place to submit bugs) I run a FreeBSD box with stack-protector enabled, which raises a problem in the upsdrv_initups() function of the newhidups.c module; the regex_array variable is sized one item too small. Regards, Herve Masson <<<< void upsdrv_initups(void) { int i; #ifndef SHUT_MODE /*! * SHUT is only supported by
2011 Dec 17
1
[nut-commits] svn commit r3363 - in trunk: data docs/man drivers
On Dec 17, 2011, at 3:53 AM, Arnaud Quette wrote: > Author: aquette > Date: Sat Dec 17 08:53:41 2011 > New Revision: 3363 > URL: http://trac.networkupstools.org/projects/nut/changeset/3363 > > Log: > Try to fix language ID support for USB units from LDLC, Dynamix and no names in blazer_usb (reworked patch, from Brian R. Smith and Aur?lien Grenotton) ... > + if
2014 Jun 13
1
Extracting data from density plots
I have a dataframe ​df ​ with 3 columns. Details ​of df are ​ as follows > summary(df) Date TestVar type Min. :2002-05-10 00:00:00 Min. :-3.8531 Bottom: 313 1st Qu.:2005-05-09 12:00:00 1st Qu.:-0.7773 Other :2501 Median :2008-05-07 00:00:00 Median : 0.2482 Top : 313 Mean :2008-05-07 00:00:00 Mean : 0.1980 3rd Qu.:2011-05-05
2004 Jun 23
3
help needed with read()
Hi, Greatly appreciate if some one help me with the application read(). asterisk*CLI> show application read asterisk*CLI> -= Info about application 'Read' =- [Synopsis]: Read a variable [Description]: Read(variable[|filename]): Reads a '#' terminated string of digits from the user, optionally playing a given filename first. Returns -1 on hangup or error and 0
2013 Jan 11
0
Error with looping through a list of strings as variables
Dear R users: I have been trying to figure out how to include string variables in a for loop to run multiple random forests with little success. The current code returns the following error: Error in trafo(data = data, numeric_trafo = numeric_trafo, factor_trafo = factor_trafo, : data class character is not supported In addition: Warning message: In storage.mode(RET@predict_trafo) <-
2016 Oct 03
2
Synchronous dialplan execution for feedback while processing speech recognition and voice synth, for example.
I've got an agi that recognises speech (via Google) and another that turns text into speech (tts) (via Microsoft Translate). Both are web APIs, both called via seperate python AGIs. I've googled and I'm probably missing something pretty newbie 101 here, but is there any way, or fiddle, that I can play some audio to let the caller know that their weather forecast is being fetched,
2006 Sep 18
1
BSD Auth: set child environment variables requested by login script [PATCH]
Hello, in the BSD Authentication system the login script can request environment variables to be set/unset. The call to auth_close() in auth-passwd.c does change the current environment, but those changes are lost for the child environment. It would be really useful to add some kind of mechanism to get those changes into the child environment. I've added two possible solutions. Both
2006 Jan 27
0
[PATCH] fentonups patch to make it work with some powercom ups's
Hi list here is the patch to make fentonups recognize some PowerCOM's UPS's, and to setup terminal lines for them (at least for SMK-1500a) as powercom's original upsmon do. fentonups -x powercom works correctly with SMK-1500a (it screamed ''Communications with UPS lost - check cabling' or 'Short read during UPS id sequence' without this patch). Sorry for
2003 Jan 17
0
Configure error: cant find test code
After googling the archives for the answer to my problem (thank you Andrew) I discovered that I am not alone with the problem I am having. Although I found no solutions to the problem. I will try to give a little more detail than some of the others who have posted this problem. I have a RH 7.3 system with a very minimal install (I am a firm believer in installing from source) The goal is to
2011 Jan 25
1
[RFC] Updates to ACP smart driver
This patch introduces a handful of new options, I mentioned earlier in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02088.html See the large commit message in the follow-up for the details and rationale. I realize it's a bit larger diff - so if it's required I can split it into few smaller ones. Michal Soltys (1): APC smart driver update and new features.
2012 Feb 10
7
Hiera data unusable in a class with an array parameter
Given the following hiera hash: common.yaml: --- *allowed_ips:* * "First IP": 1.2.3.4* * "Second IP": 5.6.7.8* and the module: *class iptables ($role) {* * file {/tmp/test:* * content => template(iptables/test.erb)* * }* *}* with the corresponding template test.erb: *<% role.each do |role| -%> * * code* *<% end %>* *<%
2011 Feb 07
4
[PATCH/RFC v2 0/3] Updates to ACP smart driver
This is 2nd version of the earlier patch featuring a few new features and fixes to the apcsmart driver, following the remarks in: http://www.mail-archive.com/nut-upsdev at lists.alioth.debian.org/msg02294.html Major changes from v1: - handle battery.charge and battery.runtime checks at main.c level - handle "immutable but writable" conflict gracefully at driver level -
2020 Sep 05
1
Some questions about NUT driver development
Hello, I am developing a new NUT driver for brazilian UPS brand "Ragtech" by reverse engeneering. I have never been involved in NUT driver development, so I wish to ask some basic questions. Any help will be much appreciated! 1. Is there a mandatory C code style? I mean, any strong recommendation? If there are none, I prefer to keep mine. 2. What are the purposes of "instant
2010 Jan 13
3
Upgrade path questions
Hi, We are currently running Dovecot v1.1.6 on our servers, and are contemplating an upgrade to 1.2, or 2.0 soon. We are wondering how many organizations are still running a 1.1 version of Dovecot, and if anyone has any thoughts on this transition. Have you upgraded from 1.1 to 1.2? What are your experiences with this? Have you upgraded from 1.1 to 2.0 directly? What are your experiences this