Displaying 20 results from an estimated 10000 matches similar to: "''requests'' is a bad table name"
2010 Nov 14
1
RCurl and cookies in POST requests
Hello.
I know that it's usually possible to write cookies to a cookie
file by removing the curl handle and doing a gc() call. I can do
this with getURL(), but I just can't obtain the same results with
postForm().
If I use:
curlHandle <- getCurlHandle(cookiefile=FILE, cookiejar=FILE)
and then do:
getURL(http://example.com/script.cgi, curl=curlHandle)
rm(curlHandle)
gc()
it's
2014 Jan 24
1
ata marvel errors after kernel upgrade
Hi,
After upgrading to kernel 2.6.32-431.1.2.el6.x86_64 the messages below
keep appearing in "/var/log/messages".
--------------------------------------------------------------------------
ata16.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
ata16.00: irq_stat 0x40000001
scsi 16:0:0:0: [sg18] CDB: Read Capacity(10): 25 00 00 00 00 00 00 00 00
00
ata16.00: cmd
2005 Nov 14
1
Webrick suddenly down w/bad redirection - look familiar?
Has anybody seen this?
"Firefox has detected that the server is redirecting the request for this
address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to
accept cookies."
I''ve checked the cookies and that''s not it. This is a webrick server
running on localhost under Radrails. It was working well, and
2007 Apr 23
1
extract from a data frame
hello,
I'd like know how to do to extract data from a frame for example
how can I do to extract only the data where variety=victory or variety=golden rain
thanks.
> Oats
Block Variety nitro yield
1 I Victory 0.0 111
2 I Victory 0.2 130
3 I Victory 0.4 157
4 I Victory 0.6 174
5 I Golden Rain 0.0 117
6 I Golden Rain
2007 Apr 23
0
R: extract from a data frame
Oats[Oats$Variety %in% c("Victory", "Golden Rain"),]
or
subset(Oats, Variety %in% c("Victory", "Golden Rain"))
Stefano
-----Messaggio originale-----
Da: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di elyakhlifi
mustapha
Inviato: luned? 23 aprile 2007 9.56
A: R-help at stat.math.ethz.ch
Oggetto: [R] extract from
2006 Feb 19
0
Re: can store array or hash in cookies?
Not a bug. A cookie is just a string. You can turn anything into a
string and store it in a cookie. Something very simple like the
following might work for you:
array_for_cookie = [1,4,5,7]
cookies[:foo] = array_for_cookie .to_s
array_from_cookie = cookies[:foo][1..-2].split('','')
(And if you are just storing a single integer in a cookie be sure to
turn it into a
2003 Oct 12
0
idea (and patch): connection cookies
I have an idea for a protocol extension to limit the exposure of the
complex crypto code in ssh servers. It's like tcp-wrappers, but based
on a secret token rather than IP address.
Patch against openssh-3.7.1p2:
http://nick.cleaton.net/openssh-cc-0.03.patch
Details
=======
The "Connection Cookies" mechanism is an unofficial ssh protocol
extension designed to prevent attackers
2006 Nov 04
0
Remember me not working across the browser
I implemented remember me using cookies and it was working fine. It was
working fine because I never tested the code with IE.
If I login using firefox and check the remember me checkbox then a cookie is
placed on the client machine.
cookies[:remembrall] = { :value=>user.remembrall, :expires=>
user.remembrall_expired } if active_remembrall? user
I will kill my browser and whe next time
2006 Jul 08
0
Testing cookies - integration tests
Hello,
I''m trying to test some cookie code with some integration tests, but I''m
not sure if this is possible.
Currently I''m creating a session (using open_session) running some code
that sets my cookie and this works fine, the cookie is being set. Now
cookies are supposed to exist across different sessions, so I try to
create a new session (again with
2001 Nov 15
2
X11 cookies and forwarding
I'm guess I wasn't following the whole cookies discussion completely
(putting cookies in /tmp to avoid putting them on NFS, etc.), but I
noticed today that with 2.9.9p2, if I use "ssh -X" to start a shell on the
server, in that shell XAUTHORITY is set to /tmp/ssh-XXXXXXXX/cookies and
there are cookies placed there there. These are the "fake" cookies for
the
2007 Jan 29
2
rspec and cookies
Hello
can anyone tell me how to test cookies using rspec? specifically, I''d like
to be able to set a cookie before a get/post request and also to test the
cookies which have been set by a get/post request
I know I can use cookies[:name] = ''value'' to set a cookie but how would I
set expiry information on such a cookie? when i try to pass a hash {:value
=>
2008 May 17
4
Setting cookies in service overloader thingo
I''m implementing a simpler version of the Cookie Session Store in
Rails 2.0. If you know what that is, skip the next paragraph.
A cookie session store stores the session data inside cookies, on the
client, and signs them using a secret string, hashed together. The
user can decode the cookie easily if they know much about computers
and see what''s inside, but they
2007 May 01
0
BlueZ
Hello all.
Does anyone know how to get bluetooth working on CentOS 5?
I can't pair any device. Things work perfectly on CentOS 4. Here is what
happens:
root at miho ~]# /etc/rc.d/init.d/bluetooth start
Starting Bluetooth services: [ OK ]
[root at miho ~]# hcitool scan
Scanning ...
00:12:EE:XX:XX:XX K750i
[root at miho ~]# hcitool cc
2007 Mar 19
0
cookies
How do I set cookies in a spec so I can see them in my controller, please?
Conversely, why doesn''t this work...
require File.dirname(__FILE__) + ''/../spec_helper''
class TestApplicationController < ApplicationController
def index
@seen = cookies[''auth_token''] || ''NOT seen!''
puts cookies.inspect #
2001 Nov 15
1
X11 cookies and forwarding (fwd)
On Thu, 15 Nov 2001, Dan Astoorian wrote:
> Date: Thu, 15 Nov 2001 16:09:20 -0500
> From: Dan Astoorian <djast at cs.toronto.edu>
> To: Ed Phillips <ed at UDel.Edu>
> Subject: Re: X11 cookies and forwarding
>
> On Thu, 15 Nov 2001 15:46:22 EST, Ed Phillips writes:
> > I'm guess I wasn't following the whole cookies discussion completely
> >
2007 Jul 07
0
[patch] no crumbs
in the spirit of minimal-impact ''leave no trace'' principles, this patch adds a missing feature, the ability to remove cookies.
usage:
@cookies.redbean = nil
a side note, the trunk seems to be broken when using Markaby. i''ve tested this out using ngrep and firefox and opera w/ controllers that just return strings in any case..
-------------- next part --------------
2012 Feb 23
1
how to draw crossing circles to show relationship?
Dear list,
To make it easier, let me start with an example.
Say I have 20 different cookies. Dave likes 7 of them, Evan likes
14 of them and Torri likes 11 of them. The data is
cookies<-cbind(c(1:20), c(1,0,0,1,0,1,0,0,0,0,1,1,1,0,0,0,1,0,0,0),
c(1,1,1,0,0,1,1,1,1,1,0,1,1,0,1,0,1,0,1,1),
c(1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0,1,1,1,0))
2006 Nov 24
0
Maybe a bug in Cookie:cookies
Hi man,
Thank you very much for your good work.
I think there may be a bug in Mechanize 0.6.3. Cookie:cookies (cookie.rb:L83
)
@jar[domain].each_key do |name|
=> if url.path =~ /^#{@jar[domain][name].path}/
if @jar[domain][name].expires.nil?
cookies << @jar[domain][name]
elsif Time.now <
1999 Nov 28
2
gnuclient X11 & openssh
The following message is a courtesy copy of an article
that has been posted to comp.emacs.xemacs as well.
[This message has been CC'ed to the OpenSSH list in a plea to at least
consider supporting more advanced usages of Xauth]
Chris Green <sprout at dok.org> writes:
> Its not configurable behavior. It always generates a new random file
> in /tmp.
Then they should probably
2006 Apr 03
0
Cookies and functional tests
Hi there
Is there any way that my functional tests can check to see if the
controller has set a cookie?
I''ve got this in a controller action;
def login
cookies[:foo] = ''bar''
end
Using a web browser, I can see that the cookie is being set when the
action is invoked. But, a functional test like this;
def test_cookie
assert_equal nil,