Displaying 20 results from an estimated 6000 matches similar to: "page views counter"
2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails?
by
TheR
--
Posted via http://www.ruby-forum.com/.
2007 Nov 23
2
Unable to read anything from request.remote_ip
For some users, request.remote_ip always return nil. According to the
RAILS''s help:
REMOTE_ADDR is the standard but will fail if the user is behind a proxy.
HTTP_CLIENT_IP and/or HTTP_X_FORWARDED_FOR are set by proxies so check
for these before falling back to REMOTE_ADDR. HTTP_X_FORWARDED_FOR may
be a comma- delimited list in the case of multiple chained proxies; the
first is the
2012 Jul 07
12
how to scale puppet with F5 load balancer?
How can I configure F5 load balancer to be infront of multiple puppet masters?
The SSL will break as the server name if different, hostname of the
VIP on the LB vs hostnames of each masters, right?
Can you shed some light?
Thanks.
--
Hai Tao
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2013 Jan 09
3
Puppet & F5 Connection Refused
Hello,
when I run on my proxy server:
# puppet device --debug --deviceconf /etc/puppet/device/F5-lb-test.conf
I get this error:
info: starting applying configuration to F5-lb-test at
https://operating:operating4lbtest@F5-lb-test/Common
debug: Puppet::Device::F5: connecting to F5 device F5-lb-test.
debug: Puppet::Device::F5: connecting to partition Common.
*err: Can''t load f5 for
2009 Jun 05
6
rails 2.3.2
Hi all,
I am using rails v.2.3.2 and if I put following line to my
ApplicationController:
include LoginSystem
and I moved my login_system.rb to lib folder:
module LoginSystem
protected
def is_logged_in?
@logged_in_user = User.find(session[:user]) if session[:user]
end
def logged_in_user
return @logged_in_user if is_logged_in?
end
def logged_in_user=(user)
if
2011 Feb 14
4
sem problem - did not converge
Someone can help me? I tried several things and always don't converge
# Model
library(sem)
dados40.cov <- cov(dados40,method="spearman")
model.dados40 <- specify.model()
F1 -> Item11, lam11, NA
F1 -> Item31, lam31, NA
F1 -> Item36, lam36, NA
F1 -> Item54, lam54, NA
F1 -> Item63, lam63, NA
F1 -> Item65, lam55, NA
F1 -> Item67, lam67, NA
F1 ->
2007 Aug 10
9
Problems monitoring Mongrel with F5 BigIP
If this has already been covered, please point me to that (I didn''t find
anything in my searches)...
We are using F5 BigIP LTM load balancers. They have many pools of Mongrels
they load balance across, and I of course want the F5 to know when a Mongrel
goes down or is unavailable, etc. To do that, I need to have an F5 health
monitor for HTTP make a request to the Mongrel. We do this
2012 May 13
1
guestfs_mount_local api test: have to 'mount' before calling it?
Hi
I`ve been trying this guestfs_mount_local api for quite a few days,
but still can`t get over it.
Now it seems to have enter the fuse loop but have some problems with
'mount'?
and stops at guestfs_mount_local_run(g).
Here`s corresponding code in the test program:
??
if(guestfs_mount_local(g,"/mnt/libg")==-1)
exit(EXIT_FAILURE);
else
guestfs_mount_local_run(g);
??
Below is a
2012 Sep 17
1
How to filter information from a big .csv table into a new table
Hi,
I have big .csv file. I would like to filter that file into a new table.
For example, I have .csv file as below:
f1 f2 f3 f4 f5 f6 f7 f9 f10 f11
t1 1 0 1 0 1 0 0 0 0 1
t2 1 0 0 0 0 1 1 1 1 1
t3 0 0 0 0 0 0 0 0 0 0
t4 1 0 0 0 1 0 0 0 0 0
t5 0 0 0 0 0 0 0 0 0 0
t6 0 0 0 0 0 0 0 0 0 0
2012 Sep 18
1
chunk row to new table/file
I have big .csv file. I would like to filter that file into a new table.
For example, I have .csv file as below:
f1 f2 f3 f4 f5 f6 f7 f9 f10 f11
t1 1 0 1 0 1 0 0 0 0 1
t2 1 0 0 0 0 1 1 1 1 1
t3 0 0 0 0 0 0 0 0 0 0
t4 1 0 0 0 1 0 0 0 0 0
t5 0 0 0 0 0 0 0 0 0 0
t6 0 0 0 0 0 0
2006 Dec 08
9
How to update partial attributes of a object from a form?
I have a user table, and it has forty columns, including name, gender,
address, email, phone...
So my @user object will have forty attributes.
I divide these attributes into 4 groups... namely ''general info'',
''personal info'', ''contact info''... and I make separate forms to edit
these 4 different group attributes.
The problem is when I update
2017 Jun 30
2
llvm-profdata determinism
On Thu, Jun 29, 2017 at 7:03 PM Xinliang David Li <davidxl at google.com>
wrote:
> On Thu, Jun 29, 2017 at 6:27 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>> I haven't tested it, but it looks to me like llvm-profdata merge (well,
>> InstrProfWriter specifically) would not have deterministic output.
>>
>> Certainly the textual output iterates
2009 Mar 02
5
new project at the same domain
Hi,
just a quick question, is there a way how to run two apps on the same
domain?
Both for testing purposes. Thank you.
P.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 May 21
1
Consequences of overriding update_attribute to force validation?
I know the debate of whether this should validate has been rehashed
many times. My question is, what are the consequences of overriding
this method to force validation? Will this break fundamental things?
Will it break plugins? Is there a reason not to have a strict
validation option?
In my code I will never use this as I consider it a terribly broken
method, but some gems use it and in one case
2013 Feb 06
5
Puppet F5 module
Hi,
following this<https://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/>tutorial, I finally made it till the part where I see the SSL cert request
from my f5 load balancer. Then I signed it and configured in nodes.pp the
same pool and irule as suggested in the tutorial.
BUT when I run on the proxy:
# puppet device --deviceconf
2009 May 20
3
ffmpeg + mp3 convert
Hi all,
I am using paperclip plugin to upload mp3''s. Before I save the mp3 I
would like to convert it to a smaller size.
I am using ffmpeg library and in my Track model I am calling:
before_save :convert_mp3
def convert_mp3
system("ffmpeg -i #{mp3.to_file.path} -vn -ar 44100 -ac 2 -ab 64 -f
mp3 #{mp3.to_file.path}")
end
But this fails. Am I missing something?
2018 Jul 09
3
CentOS 7 + MATE : Folder contents not refreshed in file manager
Hi,
I just migrated my workstation running CentOS 7 from KDE to MATE.
It looks like I'm having the same problem with the Caja file manager
than with Dolphin. Folder contents don't get refreshed automatically,
and I have to hit F5.
For example, when I download a file (say, a compressed archive) from the
Internet, I have to hit F5 to see the file in Caja. And when I extract
the archive, I
2007 Nov 23
4
help! problem with mongrel, request.remote_ip and lighttpd
I have an existing rails application on lighttpd and I am trrying to upgrade
to mongrel for the enhanced scalability it offers.
I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5
Everything is working great except request.remote_ip returns 127.0.0.1 or
192.168.0.102 (the internal network address of the server running lighty).
I''ve seen some older posts about
2012 Aug 24
1
virt-v2v trouble converting Xen Centos 5.X to KVM Centos 6.3 or Fedora 17
Hi! I'm trying to convert some Xen guests running Centos 5.8 to KVM on Centos 6.3. Hopefully this is the right place to ask this question, if not, let me know and I'll go there instead! :)
My setup: Centos 5.8 Host running Xen with a Centos 5.8 guest, and I want to transfer this guest to a different Centos 6.3 host running KVM. I am able to tweak the target server all I want, but the
2018 Nov 27
2
[2.3.4] Segmentation faults
It's still missing core dump (or bt full from it)
Aki
On 27.11.2018 8.39, Joan Moreau wrote:
>
> Thank you Aki
>
> here the requested data (below)
>
> Please not as well that we have numerous subfolders (>50) and pretty
> big mailbox sizes (>20G)
>
> Bug appears mostly in auth process and index-worker
>
>
> dovecot -n :
>
> # 2.4.devel