Displaying 20 results from an estimated 70000 matches similar to: "Pulling a variable from a shell script into Asterisk - backticks?"
2006 Dec 04
1
backticks
I noticed just now that
package.skeleton() produces R files in which
the function names are escaped with backticks.
?Quotes says that "The preferred quote is the backtick (`)",
but I don't understand _why_ this is preferred.
?formula gives some clues but points out that there
are no guarantees that formulae using non-syntactic names such as
`like this` will be accepted.
What
2010 Aug 17
1
prompt () and backticks for default arguments
Dear all,
I just noticed, that prompt () looses backticks that protect default arguments:
f <- function (FUN = `*`) {}
cat (prompt (f, NA)$usage)
yields:
\usage{ f(FUN = *) } %- maybe also 'usage' for other objects documented here.
without the backticks, which is of course found by R CMD check as syntax error.
While this is easily fixed if the .Rd is further edited manually, I
2006 Dec 30
3
problems with escaping backticks
I can't escape backticks if on a line with other code:
$ echo 'maybe use `fixed face` for `/path/to/file` by using \`back ticks\`
around it' | /usr/pkg/bin/Markdown
<p>maybe use <code>fixed face</code> for <code>/path/to/file</code> by
using \<code>back ticks\</code> around it</p>
and this is even more wrong:
$ echo 'maybe use
2007 Oct 09
5
Backticks wrapping SQL values in polymorphic associations...
Hopefully the subject line didn''t scare you. That said...
I have a simple polymorphic relationship (is that possible?):
class Part
has_many :attachments, :as => :attachable
end
class Attachment
belongs_to :attachable, :polymorphic => true
end
Calling Part.find(:first).attachments yields this SQL error:
ActiveRecord::StatementInvalid:
Mysql::Error: Unknown column
2011 Feb 13
1
Should leading and trailing spaces between backticks be preserved?
Hi folks,
Yesterday I raised an issue about inconsistent preservation of
whitespace<http://www.freewisdom.org/projects/python-markdown/Tickets/000087>in
Python-Markdown.
>>> import markdown
>>> md = markdown.Markdown()
>>> md.convert('Added `>>> ` to signify user input.')
u'<p>Added
2006 Apr 17
7
MySQL backticks and column names
The upgrade to Rails 1.1 hurt my ability to run tests because it
generated the following MySQL error:
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to
use near ''key ON config (key)'' at line 1: CREATE UNIQUE INDEX key ON
config (key)
I have a table called `config` with a column
2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
Great suggestion! I've started a patch:
https://bugs.r-project.org/show_bug.cgi?id=18479
On Wed, Mar 1, 2023 at 1:56 AM Ivan Krylov <krylov.r00t at gmail.com> wrote:
>
> ? Wed, 1 Mar 2023 01:36:02 -0800
> Michael Chirico via R-devel <r-devel at r-project.org> ?????:
>
> > +comps[non_syntactic] <- paste0("`", comps[non_syntactic], "`")
>
2023 Mar 01
1
tab-complete for non-syntactic names could attempt backtick-wrapping
Consider:
x <- list(`a b` = 1)
x$a<tab>
(i.e., press the 'tab' key after typing 'x$a')
The auto-complete mechanism will fill the buffer like so:
x$a b
This is not particularly helpful because this is now a syntax error.
It seems to me there's a simple fix -- in
utils:::specialCompletions(), we can wrap the result of
utils:::specialOpCompletionsHelper() with
2009 Apr 07
1
Pulling data into a model
I'm creating an ANOVA model. Is there a way to pull in consecutive columns of variables for the test?
Example: aov1<-aov(y~x1+x2+REG[,2:num], data=REG)
I'm not looking for interaction effects, I just want to create a model for the first few columns of variables (exact number and names will vary) and a few other predetermined variables (in the example I named them x1 and x2).
Thanks
2009 Jul 30
3
update.formula and backticked colons
I just noticed the following in update.formula and I'm wondering if
this behavior is the intention of the developers. Here's an example:
update(`a: b` ~ x, ~ . + y)
Note now that the response has no backticks and is interpreted as a:b
(i.e. ":" is now an operator). This is because in update.formula the
call to terms.formula uses simplify = TRUE. I'm working with data that
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script.
Just now I stumbled upon this bug (in PHP Markdown at least):
# Input:
Backtick: ``\```
# Output:
<p>Backtick: `````</p>
# Should-Be Output:
<p>Backtick: <code>`</code></p>
If you (Michel) are already aware of this, just ignore me ;-)
--
Milian Wolff
2004 Jun 22
0
Perl Script for pulling information from a mysql database
Here''s the script. I would have posted it to a website, but I figure
this''ll be better so it is always on the list for people in the future
in case they wanted to see it.
If you have any questions about any of it, please let me know. Mike and
I aren''t the cleanest of programmers. Cron the script to run whenever
you need it to. :)
#!/usr/bin/perl
#
# TC Helper Script:
2016 Sep 21
1
答复: 答复: How to disable CTDB pulling up NICs
Thank you very much for reply. Our test team insists on simulating network failure by using ifdown instead of just unpluging the cable. I have to modify the event script 10.interface. When noticing a NIC failure, CTDB just marks the NIC down and do not try to pull it up. It seems to work fine.
-----邮件原件-----
发件人: Martin Schwenke [mailto:martin at meltin.net]
发送时间: 2016年9月18日 18:49
收件人: Weidong
2005 Jun 21
0
pulling userinfo from trusted domain RE-POST
Sorry to repeat this but I had no answers. Anyone up for a chat about
this. More info:
wbinfo -m returns nothing
wbinfo -t , wbinfo -u wbinfo -g returns users for the primary (Staff
Domain, but not the student domain). I'm sure I had it returning info
from both primary and secondary domains when the servers were windows
2000 servers earlier this year, So I believe winbind should be able
2016 Sep 18
0
答复: How to disable CTDB pulling up NICs
On Sun, 18 Sep 2016 01:36:20 +0000, Weidong via samba
<samba at lists.samba.org> wrote:
> If eth0 holds virtual IP as its secondary IP and I bring down eth0 by
> command "ifdown eth0", CTDB will automatically pull eth0 up. Sometime
> it goes wrong. The virtual IP becomes primary IP, and origin primary
> IP turns into a secondary IP or just missing. If the origin
2016 Sep 18
2
答复: How to disable CTDB pulling up NICs
If eth0 holds virtual IP as its secondary IP and I bring down eth0 by command "ifdown eth0", CTDB will automatically pull eth0 up. Sometime it goes wrong. The virtual IP becomes primary IP, and origin primary IP turns into a secondary IP or just missing. If the origin primary IP is missing, I have to run "ifup eth0" though CTDB has pulled eth0 up. CTDB uses “ip link set eth0
2007 Aug 08
1
Method for scripting options specified in make menuconfig
I've been digging around and I haven't found a way to do this, but I have a
feeling I'll feel like an idiot because it's something I'm over looking.
Normally if I need to specify an additional option (such as different
language sound files) or I'm building an Asterisk server with a lean
configuration and need to remove some modules I do so with 'make
menuconfig'.
2016 Sep 14
2
How to disable CTDB pulling up NICs
Hi all
Thanks for your attention. CTDB manages NICs with event scripts. Virtual IP attaches on a NIC as a secondary IP. When noticing the NIC down, CTDB will pull it up. Does any one know how to disable the action? I do not want CTDB pull any NIC up. Does the command 'ctdb disablescript 10.interface' has any unexpected effect? Thanks.
2014 May 04
1
Pulling stalls before 52MB (works via netcat)
I can push fine over ssh but pulling via rsync or scp always stalls at
about the same point which must be between 26MB and 52MB. I can pull
via netcat just fine. I've tried compiling HPN out of the install on
both the client and server and I've tried -C on the client with the
same result. I'm on Gentoo. Any ideas?
- Grant
2005 Jan 27
1
pulling files - Correction
I set up ssh without authentication on both servers and I have tested it
fine. When I do this:
#/usr/local/bin/rsync --rsh /usr/local/bin/ssh --rsync-path
/usr/local/bin/rsync remote_server::test /home/test
rsync: unable to open configuration file "rsyncd.conf": No such file or
directory
rsync error: syntax or usage error (code 1) at clientserver.c(502)
rsync: connection unexpectedly