Displaying 20 results from an estimated 800 matches similar to: "How to change CSV properties....."
2009 Feb 06
4
forwarding on internal device
Good Evening,
I am trying to set up an iptables forward rule in order to forward all
packages that are routed throgh the internal device eth0:
iptables -A FORWARD -i eth0 -o eth0 -m state --state NEW -j ACCEPT
but the packages are still dropped.
Best Regards
Marcus
2004 Jun 14
3
<<< GSM AUDIOFiles >>>
Hello:
I would like to produce some GSM Prompt audio files for a Telephone
Directory Project-- and have hired a freelance audio engineer to record, and
edit the actual files--
However the GSM files he gives me to upload into asterisk DO NOT work when
played back throgh "Stream File" or "Get Data" in my agi. It seems that
there may be more than one GSM file type (with
2007 Aug 13
3
Very new - beginners questions
Dear all,
I have 4 sites and want to determine how different they are from each other. For this I have decided to use R though it seems a bit daunting to learn.
I have read data in from a CSV the structure is :
Species1 Species2 Species3
Site1 4 4 7
Site2 3 1 0
Site3 0 99 6
Site4 75 3 33
There are many more species than shown above this is just an example. Here are the
2006 May 15
2
Error creating controllers in InstantRails-1.3a
Hi,
I was able to successfully Install InstantRails-1.3a and run cookbook throgh
Apache and WEBrick , however when I try to create my own app. cookbook2
following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html)
, it gives me below error whle creating MyTest controller
Cannot find gem for Rails =1.1.2:
Install the missing gem with ''gem install -v=1.1.2
2006 Mar 04
13
Using helpers from controllers ?
There is a solution to use helpers from controllers ?
I have an error :
|undefined method `content_tag''|
class ApplicationController < ActionController::Base
def test
return content_tag("a","test")
end
end
2016 May 20
3
Suddenly Windows clients can't join Samba+ldap PDC anymore
Hi all,
some years ago i configured a `Primary Domain Controller` through
Samba and LDAP (slapd) on an Ubuntu machine (13.10) at 192.168.69.203
which should be accessible by the string/name `SRV1`. I must note i
did not installed winbind. I've never had any issue and it looks like
it's working fine as about 10 Windows machines joined the PDC and
Windows users can login against PDC on
2007 Jul 05
3
Call Queues
Hi everyone:
I've searching for a while and haven't found what i
need.
The thing is that i have a tdm422p with the two fxo
ports connected to the pstn. I want my sip users to be
able to call other numbers(any number) in the pstn
through my zap fxo channels. I have a big number of
sip users so as you can imagine there will be
congestion when some of them(more than two!!) want to
call
2006 Feb 12
0
problem serving files which start with newlines
I''m working on a rails app that stores files in a database and allows
users do download them again. But when a file starts with newlines they
get lost in the process and the browser marks the download as failed
because the received filesize is smaller then the expected filesize (the
difference is exactly the newlines missing).
To reproduce this place something like this an a
2016 May 20
2
Suddenly Windows clients can't join Samba+ldap PDC anymore
Hi,
thanks a lot for the tips. I already did the first one, importing the
following into the registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]
"DomainCompatibilityMode"=dword:00000001
"DNSNameResolutionRequired"=dword:00000000
I didn't do the second tip but it looks like it's not
2007 Mar 13
5
can´t access share by name, but on ip
Hi All !
i?m running Clearcase (IBM Rational) and have some strange problems ... when i use Samba ver 3.21b i can?t access the samba share by name (\\servername\sambashare) but i can access it on ip (\\192.168.1.100\sambashare\) i?m running debug level 10 and it seems like it can?t authenticate when access on netbios/dns/host name but on ip it can ? when running samba ver 3.23b from
2014 Mar 16
2
Contribute in the Xapian project throgh GSoC.
Hi everyone,
My name is Shreedhar Pawar. I am a Software Engineering MS student from
San Jose State University. I have an immense interest in Information
Retrieval and Machine Learning and look forward to contribute Xapian in its
"Ranking project". My previous work includes a research paper(attached
below), though not related to this topic represents my experience in
Programming and
2016 May 20
2
Suddenly Windows clients can't join Samba+ldap PDC anymore
I was trying to fix a problem on Windows 10 with Outlook 2013. Also
running an NT4-style domain. The machine had already been joined to
the domain and outlook had been working but recently not (probably after
patch tuesday.) I also had had problems with Win 10 mail and RDP.
I came across the following link.
2007 Aug 19
16
Possible memory leak problem...
I''m trying to figure out a possible memory leak problem I have in my
application.
I''ve tested both with mongrel and webrick and the problem remains. So
I think it''s not a mongrel problem, but I''m posting here to see if
anybody can help me.
The RAILS application is quite simple, no special plugins ( no
RMagick that has the memory problem ),
2006 Mar 23
3
Returning CSV data to the client
Hi,
One of my apps has to export data for the backend system to process it.
What''s the best way to create a CSV file in Rails and then return it as
a file to the client? i.e when they go to the link /csv/get_data it
would return a csv file.
I''ve been messing with the CSV library and I can get it to write out to
a file, but not sure how to best use this in a web app.
Hope
2007 Jun 07
6
Can't download files with send_data or send_file
I have a form_remote_tag that calls a method to print out a csv file
for download. If I tell the form_remote_tag to update a div the data
comes up in that div, but otherwise I can''t get the browser to
acknowledge the sent file.
>From view:
<%= form_remote_tag :url => {:action => "csv_dump" }%>
<%= submit_tag "Download Complete List" ,:name
2006 Jun 21
3
Simple range question
I have a model with a datetime field called start_date. I''d like to do
a find on the model so that it returns only records with the start_date
equal to the current day.
Something like this:
@foos = Foo.find(:all,
:conditions => //?? start_date equal to today''s date
??// ] )
Thanks in advance for any help.
-------------- next part
2006 Feb 28
5
Problem with paginate, include and foreign keys
Hi all,
Solaris 10
Ruby 1.8.4
Rails 1.0.0
Postgres 8.1
postgres driver 0.7.1
I''m having a problem with getting paginate() to properly pick up an FK
constraint properly.
I don''t seem to have this issue with ActiveRecord, however. Consider:
create table start_dates (
id bigserial,
start_date date unique,
max_slots int default 40,
primary key (id)
);
create
2007 Jul 08
2
datetime_select, is creating an instance of the Time class
Hello
It seems that datetime_select, is creating an instance of the Time
class. Why would that be?
I found this while building a site where people can create vigils
(prayer vigils, peace vigils, etc). When I added a validation method
that compared start_date to created_at, it generated the error:
ArgumentError (comparison of Time with DateTime failed):
I was able to put a breakpoint in the
2006 Feb 28
1
Working with date_select ...
I am a little confused about the best way to work with date_select. I see that
in my views it generates a simple input form that allows for the entry of year,
month and date information. If I just leave it at that, great!
But what if now in the controller, I want to work with the date information. I
actually want to take the user input date and compute a new date some number of
days in the
2006 Apr 15
2
Multi-parameter assignment
Hi,
I''m trying to submit data from text boxes on a form to one variable in
my controller, in the same way that datetime_select has date(1i),
date(2i), etc for day, month, year, etc...
I''ve named my variables event[start_date(1i)] event[start_date(2i)] and
event[start_date(3i)] but this doesn''t seem to work and
event[:start_date] is blank ... any pointers would be