Displaying 20 results from an estimated 59 matches for "barsalou".
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
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 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 Jul 23
4
Design ideas
I''m trying to use mechanize against a site that has four fields in the
form. However, those four fields have to be filled in order.
So putting something in field one, populates the second field drop down.
So I''m thinking that I''ll probably have to call the page multiple times?
What sort of things should I be doing to figure out how to interact
with this page.
2007 Jul 02
3
Gems on Ruby forge
I downloaded the gems from rubyforge, but they are a couple of revs
back. What''s the reasoning behind this?
I''m no expert, but would be willing to keep rubyforge updated if needed.
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2007 Jul 23
3
dependencies
I knew that hpricot was a dependency, but hoe and rubyforge....is this right?
Version 0.6.9 for ruby
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2001 Nov 08
4
Win XP home
Are there special issues when using XP home with Samba?
I have a machine that when trying to log in as the user Mike, the logs show
that it is trying to login in as Mike Barsalou.
I tried making another user mbarsalou but I can't get it to authenticate
properly.
I was thinking it was a feature of XP home.
Anyone have ideas?
Mike
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 Jul 06
5
The puppet model
It seems to me that when you have a master server and a client
computer, the master doesn''t really need to know the implementation
details of the client computer.
It''s kinda like a browser from my perspective...the server is just
telling the browser what needs to be drawn on the local side.
Does the puppet model work like this? If not, I guess what I read
didn''t
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 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 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 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 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 Jul 23
2
What does {bogusetag </TABLE>} mean?
I got this in one of my pages, and I''m not exactly sure what it means.
ideas?
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
2007 Mar 15
0
SOLVED: Getting info from an Hpricot::Elem
...ligence 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: barsalou <barjunk at attglobal.net>
Subject: Getting info from an Hpricot::Elem
To: mechanize-users at rubyforge.org
How about getting the name and value from this element object:
irb(main):079:0> elements[1] => {emptyelem <in...
2009 Aug 08
0
Samba, OSX, and USB vfat
...)
And it would not complete the copy operation.
This is resolved for the moment, but wanted to share some of what has
occurred.
Without all the boring details, two things seemed most important.
First is the fstab for
mount this device:
/dev/sda1 /media/My\040Book auto
mask=0002,uid=barsalou,gid=shared,shortname=mixed
This is all one line btw.
The second is the stanza:
[music]
available = yes
browseable = yes
writable = yes
create mask = 02770
directory mask = 02770
force group = +shared
force user = barsalou
path = "/media/My Book/iTunes"
The most important bits here se...
2007 Jul 06
2
Modifying a firewall
I''m trying to be able to use puppet to modify an existing firewall on a
web server.
The idea is that if I use puppet to do this, then if the machine ever
has to be rebuilt, aside from backups, I have a documented
configuration.
I looked at the module that was on the wiki that had a perl program and
what not, but I don''t think I''m clear on what my thinking should be
2007 Mar 14
2
A java initialization routine
Whe using a particular web page, the default values of the form are set
by a java function, then I can modify the web page and submit it.
But when I use Mechanize, I am having trouble figuring out how to get
those values so I can put them into the form I am going to submit.
Below is the function that has the data...and I have changed pertinent
info. What other choices might I have to
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