Displaying 20 results from an estimated 7000 matches similar to: "Creating a Wiki page"
2007 Aug 10
3
Using rcov and ouput to screen
I''d like to output my rcov data to the screen in ascii instead of
html...is that possible using the rake spec:rcov command?
Also, is there somewhere that will allow me to search the mail
archives...I''m pretty sure someone else has asked similar questions.
Thanks for the help.
Mike B.
----------------------------------------------------------------
This message was sent
2007 Jun 18
7
Testing for cross site scripting, etc.
Being new to testing and ruby, are there "standard" tests that can be
done that test for things like cross site scripting and friends?
If not, anyone have ideas on what I might do about testing those sorts
of things?
I''ll be using rails, also.
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
Hi,
I had a working puppet setup using version 0.22 until the ruby security
patch bit me. I tried upgrading server and clients to 0.24.1 however my
old manifests don''t seem to work anymore. When I run puppetd on the
client I see lots of messages like:
err: //Node[waterbuck]/yumupdater/Remotefile[/etc/cron.hourly/yumupdater]/File[/etc/cron.hourly/yumupdater]/ensure: change from absent
2007 May 30
4
Using mocks
I''ve just started doing TDD/BDD and like the idea of mocks. So I set
out to use them. The doc pages seem great, I setup the mock and then
it just works. Here is what I am trying to do:
Myuser is a non-rails model of user attributes. We are going to be
mocking the connection to the ldap server. The user class has a login
method that connects to the ldap server and if successful,
2007 Sep 17
4
Mongrel clusters are not being started on reboot
I''ve done a clean install of Ubuntu 7.04 server in 2 different
machines and everytime I reboot the machine or manually run /etc/
init.d/mongrel_cluster restart/start the mongrels won''t start correctly.
I have to manually start them by using mongrel_rails cluster::start
from each app folder. I''ve been searching around and it looks like
mongrel has some problems
2007 Nov 15
2
Digest Auth and Mongrel
If I have a low volume application and I want to use DigestAuth to
limit access to the site, is it possible to do this with just
mongrel/mongrel_cluster?
I''m thinking I''m going to have to include Apache to make this work, and
I heard that Rails 2 has methods to do this, but thought I''d ask.
Mike B.
----------------------------------------------------------------
2007 Jun 20
2
Rspec for the svn-less
Here is a short bash script I wrote to install rspec if your just using
the tarballs like me. I probably should have written it in ruby, but
there it is:
#!/bin/bash
RSPEC=rspec-1.0.4-pre-release.tgz
RSPECRAILS=rspec_on_rails-1.0.4-pre-release.tgz
[ -z "$1" ] && {
echo
echo "You must include a pathname"
echo
exit 1
}
if [ -d $1/vendor/plugins ]; then
cd
2007 Jul 05
10
Does Puppet ensure that a service is up and running?
Just curious as to the functionality of puppet. Does Puppet ensure that a service is up and running as long as puppet is running?
Ie, I want to make sure ssh is always running, if for some reason ssh get''s shut down, does puppet start it back up when it does it''s config sync run?
Thanks!
---------------------------------
Pinpoint customers who are looking for
2007 Jul 16
3
learning the cron module
OK. I thought I would start by looking at how cron.rb in the puppet
lib/type works because what I''m trying to accomplish is similar.
However, when looking through that, it wasn''t immediately obvious to me
how or when the resulting cron file was getting written out.
Is this getting stored up in some instance var or something? Maybe
getting sent to standard out and some
2007 Oct 01
3
Tarball anyone
Anyone willing to tar me up the 1.0.8 of rspec and rspec_on_rails?
I''m interested in giving the story runner stuff a try.
I really got to get svn going somehow.
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2007 Aug 29
2
Ideas about learning
I''m looking for some ideas about how to learn how to use puppet. One
of my main concerns is dorking up the machine I''m testing it on.
For this I''m using a VM. So that concern is mainly taken care of.
If some of you experienced puppet users where going to do it all over,
what parts would you try to learn first?
I have successfully been able to get a cronjob added
2007 Feb 07
15
https with certificates
I poked around the web a little and didn''t run across how to use https
when it asks for certificate validation.
I''m trying to connect to devices that don''t have valid certificates,
and in this case, I don''t care if they are or not.
So when I use my browser to ge to the site, firefox asks me to allow
the certificate, then one other question, then I get the
2007 Aug 08
6
Exporting collections/sshkeys
Hullo,
I am attempting to use collections in order to distribute ssh keys
across (soon) many hosts but I am hitting some trouble (the recipe I am
using is at the end of this email). Namely it looks like sshkeys
resources are not marked as exported in the sqlite db. I.e. if I do:
sqlite3 clientconfigs.sqlite3
SQLite version 3.3.5
Enter ".help" for instructions
sqlite> select *
2007 Mar 15
0
SOLVED: Getting info from an Hpricot::Elem
I knew as soon as I hit the enter key, the intelligence would feed my
brain. The answer to this is:
elements[1]["value"]
Easy Peasy....and why not? (there is a pun there if you can see it)
Thanks for listening.
Mike B.
----- Forwarded message from barjunk at attglobal.net -----
Date: Wed, 14 Mar 2007 17:49:57 -0800
From: barsalou <barjunk at attglobal.net>
Reply-To:
2007 Jul 20
1
hosting Perl CGI and rails together
I read this article
(http://rubyforge.org/pipermail/mongrel-users/2006-April/000084.html)
and it encouraged me to ask if it was possible to host a rails app that
had parts of it that were perl cgi.
Is there any possibility of getting something like this working using mongrel?
The goal would be to have the rails app control the authentication and
authorization, then execute some of the cgi
2007 Nov 15
2
MissingSourceFile spec/rails/story_adapter.rb
I can see that the file story_adapter.rb isn''t where it is supposed to
be, however, I don''t know where it comes from in the first place.
Can someone give me a hint here?
I installed using:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
The above is
2007 Aug 27
2
Puppet Documentation
I''ve been watching the thread where Luke is having to spend time
defending his position about documentation. Can we get off that?
From my perspective, Luke, I''m glad you have documented as much as you
have. I''m one of the few who have been a little stymied by what
documentation is available, but in no way do I believe berating you for
your lack of documentation is a
2014 Sep 09
3
[PATCH] ppc64: ELFv2: Load TOC value in system call stub
This fixes a segmentation fault in the system call's error handling path with
dynamically-linked binaries on PowerPC64 little endian. The system call stub
wasn't loading up r2 with the appropriate TOC value in its global entry point.
The r2 setup code comes from the FUNC_START macro in gcc [1] and an equivalent
one can also be found in the LOCALENTRY macro in glibc [2].
On the ELFv2 ABI
2004 Jun 30
2
Question about mesurating time
Hello ,
Is there any function to mesurate the duration of a procedure (like tic
and toc in matlab) ?
Tic
Source("procedure.R")
Toc
(toc is the duration between the execution of tic and the execution of
toc)
Thank you
nicolas
[[alternative HTML version deleted]]
2012 Jan 10
1
colored outliers
Hi @ all,
I have question how to mark significant outliers in R.
This is my very simple script to plot a regression:
TOC_NI<-read.csv2("C:/Users/XYZ/Desktop/Master/Daten/Statistik/TOC-NI.csv",
sep=";", dec=",", encoding="UTF-8")
plot(NI~TOC,data=TOC_NI,col="blue", pch=16, xlim=c(0,4500000))
abline(lm(NI~TOC,data=TOC_NI),col =