Displaying 20 results from an estimated 700 matches similar to: "return code question"
2008 Jan 21
6
Rspec 1.1.2 on Windows
I am using Rspec 1.1.2 on Windows XP SP2
I am receiving the following error when I run ''rake spec'' from a brand new
project:
C:/SVN_Projects/rspec/vendor/plugins/rspec/lib/spec/runner/options.rb:107:in
`colour='': You must gem install win32console to use colour on Windows
(RuntimeError)
I have the win32console gem installed and the error still occurs. It seems
that the
2010 Mar 24
1
How to stub a has_many relationship in Rails 2.3.5
We have a test that has been working find until we upgraded to rails 2.3.5.
I''m not too familiar with mocks/stubs so maybe there is an easy solution.
Here is a simple example of our scenario.
Class Person < ActiveRecord::Base
has_many :aliases, :dependent => :nullify
before_destroy :mark_aliases_as_deleted
def mark_aliases_as_deleted
self.aliases.each do
2001 Dec 30
1
WARNING: Your email is vulnerable to SPAM Robots!
Dear Email user,
Your email address samba@samba.org was harvested by a SPAM robot. It got
your address from the webpage
http://us1.samba.org/samba/docs/man/smb.conf.5.html
For mor information about SPAM Robots and how you can protect yourself,
Click Here
http://www.email-cloak.com/default.asp?ID=396631&T=35429
Sincerely,
Champ Mitchell
Anti-Spam Services
http://www.email-cloak.com
2016 Sep 11
2
Iptables not save rules
Hello,
I have been using ipset to blacklist badbots. Works like a champ!
The only problem is if I do a system reboot, I lose the ipset and the rule.
I changed /etc/sysconfig/iptables.conf to:
IPTABLES_SAVE_ON_RESTART="yes"
IPTABLES_SAVE_ON_STOP="yes"
And followed the instructions in:
https://www.centos.org/forums/viewtopic.php?t=3853
The changes are still not saved.
2010 May 17
2
copy dirs. subdirs, symlink, but not files
Hi all,
I've been messing around with needing to duplicate a dir tree minus
its file contents.
What i would like to achieve is to rsync dirs, subdirs and sym links
of dirs excluding files.
My first experiment was to simply do dirs and subdirs;
rsync -a -f"+ */" -f"- *" source destination
Worked like a champ.
However I'm unsure how to include or exclude sym
2006 Mar 18
1
The R "fork"
Hello, I would like to call a function that can take infinite time to
be executed in some circumstances (which can not be easily detected).
So, I would like that once the function is being executed for more
than two seconds it is stopped. I have found documentation for timers
but i did not found how to "kill" a function. Moreover, I would like
not to change the function code (it should
2006 Jan 17
9
Formatting a float with a set number of decimals
Another newbie question:
How do i convert a float to a string, rounded to a certain number of
decimals?
Thanks
--
Posted via http://www.ruby-forum.com/.
2016 Sep 13
2
Iptables not save rules
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of John R Pierce
> Sent: Sunday, September 11, 2016 10:44 PM
> To: centos at centos.org
> Subject: Re: [CentOS] Iptables not save rules
>
> On 9/11/2016 8:55 AM, TE Dukes wrote:
> > I have been using ipset to blacklist badbots. Works like a champ!
>
2009 Jul 17
3
Package norm has been removed. What to use for Maximum Likelihood Missing Data Imputation?
Hello,
I apologize if an answer to my questions is available, or if I
submitted this question incorrectly. I have read the mailing lists, as
well as the R Project and CRAN homepages. However, I may have missed
something.
I noticed the package 'norm' has been removed. Its page
http://cran.r-project.org/web/packages/norm/index.html now reads:
"Package ?norm? was removed from the CRAN
2006 Dec 01
2
Ferret on Apache Installation
Hi,
had my local linux box setup and ferret was working like a champ via
Webrick.
However, when I moved to a different linux box using Apache web server,
search no worky..giving the error listed below. The site itself comes up
fine.
I''ve tried deleting all the dirs under /index and restarted the
webserver to see if re-indexing would help, but that made matters worse.
Re-indexing
1999 Apr 24
3
HP Deskjet 1000c
Howdy all -
I have Samba 2.0.3 running like a champ on a dual PPro 200, 128 MB RAM,
running Slackware 3.6, kernel 2.2.5. Running like a champ as far as file
sharing is concerned, that is.
I have an HP Deskjet 1000c hanging off the parallel port. I set up a raw
printer in /etc/printcap, the line looks like this:
dj1000|DeskJet 1000c:sh:lp=/dev/lp0:sd=/var/spool/lpd/dj1000
the printing section
2010 Feb 18
5
OpenVPN/SNOM 820: a review.
Hey, all. Got an SNOM 820 in the other day to kick the tires. As with
many phones, provisioning it was a bit of a PITA. The biggest problem, as
far as I could tell, was that their firmware just doesn't seem that
stable, and is sometimes hard to get to.
- I managed to corrupt the firmware twice; fortunately, instead of
bricking the phone, there's a fairly easy-to-use "rescue
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require
2008 Jun 04
1
Lumenvox - Gentoo
Is anyone running Lumenvox on Gentoo? My asterisk install has been running
like a champ for a few years now and I really hate the thoughts of changing
distros just for Lumenvox.
Here is my issue:
The engine needs the libs from boost. I emerged boost and noticed that
there were four libs that the engine were looking for that were not
installed via portage.
libboost_regex.so.2
2003 Nov 20
3
nls, nlrq, and box-cox transformation
Dear r-help members
I posted this message already yesterday, but don't know whether it
reached you since I joined the group only yesterday.
I would like to estimate the boxcox transformed model
(y^t - 1)/t ~ b0 + b1 * x.
Unfortunately, R returns with an error message when I try to
perform this with the call
nls( I((y^t - 1)/t) ~ I(b0 + b1*x),
start = c(t=1,b0=0,b1=0), data = mydataframe)
2008 Dec 04
7
Win32 GUI Client
Can anyone recommend a good win32 GUI rsync client?
-------------- next part --------------
HTML attachment scrubbed and removed
2011 Jul 03
1
Educational App Problem (4nec2x): Fail When 3d Window Closed
I've looked at the faq page, searched through the forum (users), looked around appdb and did a tenative look in the bugzilla and can't seem to find my problem so here goes:
When using my antenna analysis app, 4nec2x (free and easy to find), Wine performs like a champ in all respects save one. If I open the 3d window (by pushing F9), the performance is as is to be expected unless you
2005 Mar 01
4
"No compatible codecs!" -- worked with 1.0.0, not 1.0.6 or CVS.
Okay, I'm terribly confused. If I build and run Asterisk with the 1.0.0
sources that I downloaded from Digium, my Polycom 300 works just fine.
If I build with either various CVS builds, or the 1.0.6 sources from
Digium, I get "No compatible codecs!".
WTF?
I'm using -the exact same- config files for both; I've tried
enabling/disabling ULAW, ALAW and G279 on the
2006 Jul 07
1
slightly off topic - virtual PC options
I have a this new AMD X2 4800+ x86_64 box that works great and runs
centos 4.3 x86_64 like a champ.
I have 4 old machines running slackware, redhat 7.3 and redhat 9 and
centos 4.3 i386.
I would like to take the image of the disk (or something else
equivalent) and run some kind
of i386 emulation on the X2 box so I can run those old images when I
need to and scrap the 4 old boxes.
Heat and
2018 May 17
1
Decryption method for Maildir messages stored by mail_crypt plugin
I've successfully implemented the mail_crypt plugin on v2.2.27 and it's
working like a champ, but some of our administrative operations require
access to Maildir messages in plaintext.
I've found numerous threads detailing help with mail_crypt setup, but none
of my research has yielded a method of decrypting the stored messages.
Relevant plugin config:
mail_crypt_curve =