Displaying 20 results from an estimated 800 matches similar to: "Importing data for excel file or csv file"
2006 Jul 08
10
A rant about parameters
Guys,
I''ve been chasing a problem with country_select for the past few hours
now. My intention was pretty simple...use the following line in a form:
<p><label for="country_region">Country</label>
<%= f.country_select :country_region, "United States" %></p>
However, for the life of me, I couldn''t get it to work. I kept getting
2009 Jun 17
12
FasterCVS and Rails
Hello all,
I''m trying to import some csv data (that has latin characters) using
faster csv but I keep getting a MalformedCSVError:
"Unclosed quoted field on line 1."
"/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in
`shift''"
I''ve tested the same code outside of the Rails application an it works
fine.
Can anyone help me?
Here is
2006 Mar 21
8
Loading the contents of a CSV file to a database
Hello Everybody,
I picked up on the buzz about RoR and wanted to see what the fuss is
about. So far i am very impressed but have hit a bit of a wall with a
little play app i am writting.
I want to iterate through a CSV file of my bank transactions and see
just how much money i spend on beer and pies every month.
I have successfully setup a database with a single table called
transactions
2006 Aug 16
2
installing fastercsv into vendor directory
I am using fastercsv to process input files. I want to install it into
my app/vendor directory as a gem (I guess). I used ''rake
rails:freeze:gems'' to get rails into the vender dir. But I cannot find
any doc on how to do it for fastercsv or any third-party gem. Any help
appreciated.
--
Posted via http://www.ruby-forum.com/.
2007 Jun 06
2
lookup in CSV recipe
I await Luke''s node settings implementation with interest. At the
moment however, I have this sort of ugliness:
$site = $hostname ? {
fred => "opsera",
barney => "bedrock",
default => "unknown site",
...
}
So I''ve knocked up this little function to use CSV files instead. Now
I can just do:
$site =
2012 Sep 29
1
Error during decryption of meta key
Hi,
I've got a relatively simple tinc setup.
I've got two "servers" that are on the public internet that act as
routers for three "clients" that are behind NATs.
Those servers are called aaaaa and bbbbb the clients are xxxxx, yyyyy and zzzzz
Unfortunatly the servers have problems accepting a connection from the clients
syslog on aaaaa:
Sep 29 18:28:58 schuerrer
2015 Oct 09
2
CentOS-6 SSHD chroot SELinux problem
I run a sshd host solely to allow employees to tunnel secure
connections to our internal hosts. Some of which do not support
encrypted protocols. These connections are chroot'ed via the
following in /etc/ssh/sshd_config
Match Group !wheel,!xxxxxx,yyyyy
AllowTcpForwarding yes
ChrootDirectory /home/yyyyy
X11Forwarding yes
Where external users belong to group yyyyy (primary).
We
2003 Jul 01
1
tcp 22 > tcp 22
Hi,
I spotted today following line at my FreeBSD 4.6.2-RELEASE IPFIREWALL log:
Jul 1 13:34:35 fbsd /kernel: ipfw: 1400 Accept TCP xxxxxx:22 yyyyy:22 in via
ed1
where xxxxxx is the attacker's IP and yyyyy is my box.
But in sshd log, there are no traces left behind by this connection.
Normally, there is "Did not receive identification string from xxx" etc, when
somebody tries to
2003 Apr 01
1
SQL and system
Hi All,
I’m using system commands in R to send requests to my database.
CMD=paste(“isql.tcl \’ select xxxx from yyyyy where zzzzz = 501 \’”)
Data=system(CMD,intern=T)
This works perfectly fine, but if I want to be able to add dates
constraints:
In command line it would be
isql.tcl “ select xxxx from yyyyy where zzzzz = 501 and date>’20021020’
”
Does somebody has an idea how to
2003 Dec 11
1
Problem with SID
Hello all
I have a Samba-3.0.0 server configured as PDC running agains openldap.
So I have an entry of the form:
sambaSID S-1-5-21-xxxxx-yyyyy-zzzz-rid
in my dircectory
If I check the properties of a file under Windows on the PDC I get the
information all right displaying the owner
of the file as: user[Domain\user]
Now I have a couple of other Samba-3.0.0 servers which are not configured
as
2006 Aug 09
3
select with country names
Hi,
I need to create a list of coutries in a driop down.
I''m aware of a function ''country_options_for_select'' however this jsut
seems to output a string of all countires.
How can I get this list in a drop down?
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2007 Nov 21
1
Help Required in using cast (reshape package) function
Hello everyone,
I am new to R. I have data in the form of excel pivot table format and I
want to cast it into a format which can make it compatible with
computation.
Since I already have the package in pivot format; I avoid melt function
and use the cast directly.
I inspect the
dataread <- read.csv(".....", header=TRUE)
Data in the format
Id Region Country Industry
2011 Sep 14
2
Warning: Subscriptions file .. Removing invalid entry:
One of our dovecot-servers (v2.0.14) got a bit too busy last evening:
Sep 13 20:39:18 popimap1 dovecot: master: Warning: service(pop3-login): process_limit reached, client connections are being dropped
then logged a few:
Sep 13 20:39:20 popimap1 dovecot: pop3(XXXXXXXXX at YYYYY.YY): Warning: I/O leak: 0x3829233d20 (10)
Sep 13 20:39:20 popimap1 dovecot: pop3(XXXXXXXXX at YYYYY.YY): Warning:
2009 Aug 04
2
Sending log messages too fast
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What does this error message means?
IMAP(xxxxx at yyyyy.com): Sending log messages too fast, throttling..
It appeared twiche on the same user during a period when the server was very
high on CPU load
I don't know if it is related, but the user later told me that Thunderbird
forced a reload of all the messages.
Ciao,
luigi
- --
/
2017 Sep 11
1
concering dovecot logging
hi
had a question concerning dovecot lda logging.
deliver_log_format = From:<%f>-<%e> :: Subject:<%s> :: Status:<%$> ::
MsgID:<%m> :: Size<%p> :: vSize<%w>
am getting %e ie envelope sender as MAILER-DAEMON in the logs
Sep 11 08:35:50 lda(noc at xxx.com): Info: sieve: From:<bmmsro0612 at xxx.co.in>-<MAILER-DAEMON> :: Subject:<Fw:
2005 Jun 01
1
CIFS/ACLs
Hi,
I am using CIFS 2.01.01 on HPUX11V2. CIFS is running in ADS
security-mode. Winbind is used to map the userers from the W2K3-Domain
(german) to an tdb-file. The user mapping works fine, but I have
problems with the ACLS: setting the ACLS to a file or folder from
windows leads in "access denied". I'm the owner of the object and have
full access. The really crazy thing is,
2011 Jan 28
2
Samba File Server as Domain Member of Samba PDC
Hi
We have configured 2 PDC Samba (v3.0.33, sambapdc1 and sambapdc2)
servers using LDAP (389 DS v1.2.5) as its database backend. If I run
"net rpc user -UXXXX" from theses servers I get all groups in LDAP.
These servers are working fine for a long time.
Now I have configured a file server (not logon server, sambafs1), as a
member of the domain served by those servers (this with
2018 Mar 22
2
samba-tool drs showrepl dont list all Dcs
Hi!!
I have 3 Dcs, all system and configuration equal.
samba-dc101(FSMO)
samba-dc102
samba-dc103
But, then i executed command samba-tool drs showrepl in dcs server:
samba-dc101(FSMO) -> List 2 Dcs 102 and 103(for me is ok)
samba-dc102 -> List only Dc 101
samba-dc102 -> List only Dc 101
samba -V
Version 4.7.3 (Compiled by me)
S.O :
lsb_release -a
No LSB modules are
2018 Mar 23
2
samba-tool drs showrepl dont list all Dcs
On 3/23/2018 9:56 AM, Carlos via samba wrote:
> Hi!
>
> Any Ideia ?
>
> Regards;
>
>
> On 22-03-2018 14:09, Carlos wrote:
>>
>> Hi!!
>>
>> I have 3 Dcs, all system and configuration equal.
>>
>> samba-dc101(FSMO)
>>
>> samba-dc102
>>
>> samba-dc103
>>
>> But, then i executed command samba-tool drs
2005 Jan 28
2
I want to display my numbers for incoming calls when some one dials my number from any where
Hi to all,
I and using asterisk with following
1. TDM400p card with four FXS modules,
So there are four analog phone lines on four zap channels,
My setup is working fine.
And version is like such
Asterisk CVS-v1-0-11/27/04-20:48:45
But when some dials form his number (suppose abc) to my number
(suppose xxxx) I get abc number on my analog phone, but now I have
purchased more than one numbers