Displaying 15 results from an estimated 15 matches for "filecont".
Did you mean:
fileconn
2007 Oct 18
4
Polymorphic Association?
...es of
models for a page creation function. What I''d like is to have a
Content Page which consists of a series of Content Blocks. The
Content Blocks act as a list relative to the Content Page. And each
Content Block can be assigned one of 3 types of content: TextContent,
ImageContent, or FileContent. So my current thinking is this:
ContentPage
has_many :content_blocks, :order => :position
ContentBlock
belongs_to :content_page
acts_as_list :scope => content_page_id
has_one :text_content
has_one :image_content
has_one :file_content
TextContent
belongs_to :content_block...
2007 Aug 21
1
handling of dynamic filecontent creation
Hi list!
In the light of my personal "Simon is dumping his problems on
others"-week I have a question regarding.. dunno.. generally "handling
of dynamic filecontent creation" I think is the best to describe it:
We use a lot of in-house built services (for arguments sake webservers)
which are instantiable and bring their own "framework" for setup, so I
created something like this:
#
define create-webservice ($ip =$ip, $servicename = $servic...
2009 Jan 29
6
Control Characters
I am attempting a text editor using wxRuby. I''m having character issues.
Strings are not binary-safe.
Some characters are not allowed.
- newline / line feed (\n), tab (\t) are displayed
- carraige return (\r) is stripped
- Other control characters and high-ascii cause control values to become
empty.
Affected controls include: Wx::TextCtrl, Wx::StaticText, Wx::Clipboard,
et al.
Most
2003 May 23
0
LDAP tools for SAMBA 3.24 corrected
...sambakickoffTime: 2147483647
+sambaPwdCanChange: 0
+sambaPwdMustChange: 2147483647
+sambaacctFlags: [W ]
+sambaLMPassword: $lmpassword
+sambaNTpassword: $ntpassword
+sambaSID: $SID-$sambaSID
+sambaPrimaryGroupSID: $SID-0
";
@@ -516,8 +526,8 @@
sub file_write {
my ($filename, $filecontent) = @_;
local *FILE;
- open (FILE, "> $filename") ||
- die "Cannot open ?$filename? for writing: $!\n";
+ open (FILE, ">".$filename) ||
+ die "Cannot open $filename for writing: $!\n";
print FILE $filecontent;
close FILE;
}
2006 Jul 05
13
interactive web app
I have an arbitrary program written in any language, and it is a binary
(ie foo.exe), that will print out output to stdout constantly every 3-5
seconds.
Is there a way that I can have a web application designed in rails that
will print the output of this program to the browser every 3-5 seconds
in realtime, preferably even in an ajax manner.
thanks
--
Posted via http://www.ruby-forum.com/.
2013 Feb 20
2
exten => h,n,AGI(generateCall.php,${NEXT})
...n,AGI(generateCall.php,${NEXT})exten => h,n,Hangup()_______________________________________________________________________File: /usr/share/asterisk/agi-bin/generateCall.php
#!/usr/bin/php -q<?php$fileName = "/var/www/consumer.txt";$next = $argv[1];$f = fopen($fileName,'r');$fileContent = file_get_contents($fileName);$outdialNumbers = explode("\n",$fileContent);
if($outdialNumbers[$next]) { $callFile = "/var/spool/asterisk/outgoing/".$outdialNumbers[$next].".call"; $f = fopen($callFile,'w'); $callFile...
2002 Nov 15
1
FW: How to configure Unix file mode on NT/2000 file transfer
I could not find this in the list...
How can I configure Samba (I'm on 2.2) to automatically strip those pesky ^M character (DOS newline) when I share a Unix/Solaris slice to NT. I'd like to be able to copy files back and forth and not have to edit the files and strip out the control-M characters in my files on Unix.
Any ideas?
Thanks,
Tom
2003 May 23
0
LDAP tools for samba 3.24 schema
...sambakickoffTime: 2147483647
+sambaPwdCanChange: 0
+sambaPwdMustChange: 2147483647
+sambaacctFlags: [W ]
+sambaLMPassword: $lmpassword
+sambaNTpassword: $ntpassword
+sambaSID: $SID-$sambaSID
+sambaPrimaryGroupSID: $SID-0
";
@@ -516,8 +526,8 @@
sub file_write {
my ($filename, $filecontent) = @_;
local *FILE;
- open (FILE, "> $filename") ||
- die "Cannot open
--
----------------------------------
ALEJANDRO SOLER
e-mail: asoler@martinaditrento.com
Administrador de Sistemas
Martina di Trento S.A.
Buenos Aires - Argentina
Tel.:(5411) 4611-2730
WEB: http:/...
2007 Nov 23
3
call model method out of the controller => undefined method
Hi,
I''m a newby and I fight with the Rails convention - i think so.
I''ve done little tools and scripts in Ruby before.
I''ve successfully uploaded a textfile. And now i want to extract some
filecontent to pass it into a database.
My Problem:
I can not start a given method of a given Model (=>
Metadata.extract_content(fileuri)). The error message ''undefined method
`extract_content'' for Metadata:Class'' is raised. But the method is still
there!?
My Controller Actio...
2011 Jun 29
0
XML parsing
...tp://obo.cvs.sourceforge.net/obo/obo/ontology/phenotype/unit.obo"/>
<cv id="IMS" fullName="Imaging MS Ontology" version="0.9.1"
URI="http://www.maldi-msi.org/download/imzml/imagingMS.obo"/>
</cvList>
<fileDescription>
<fileContent>
<cvParam cvRef="MS" accession="MS:1000579" name="MS1 spectrum"
value=""/>
<cvParam cvRef="MS" accession="MS:1000128" name="profile spectrum"
value=""/>
<cvParam cvRef="IMS&qu...
2007 Aug 22
6
Re: [puppet] #779: access to inherited variables from within a template
...t all interact in a way, so I
*want* to be able to just change that one service in which the change
occurs and not have to look at all "may be somehow related" classes to
check if I didnĀ“t forget to change them as well to reflect that change.
When you look at the "handling of dynamic filecontent creation" mail I
wrote this night there is an example of how I have to build our
services, the reason for my wanting that feature might becom clearer to you.
I really put a lot of thought in that whole thing by now and this is the
best solution i came up with. And I still cant believe that...
2018 May 29
2
CentOS 7 issues with pdf manual / tex conversion
On 29 May 2018 at 16:37, R P Herrold wrote:
| On Tue, 29 May 2018, Dirk Eddelbuettel wrote:
|
| > On a CentOS 7 machine, I am at a loss with respect to an inability to run a
| > full R CMD check as anything involving tex files ends in tears.
|
| Hi, Dirk
|
| Have fun at the upcoming conference at UIC
|
| I seem to have 56 font packages installed under CentOS 7
| locally, but then I work
2018 May 30
0
CentOS 7 issues with pdf manual / tex conversion
....1.1-38.el7.noarch
texlive-eurosym-svn17265.1.4_subrfix-38.el7.noarch
texlive-extsizes-svn17263.1.4a-38.el7.noarch
texlive-fancybox-svn18304.1.4-38.el7.noarch
texlive-fancyhdr-svn15878.3.1-38.el7.noarch
texlive-fancyref-svn15878.0.9c-38.el7.noarch
texlive-fancyvrb-svn18492.2.8-38.el7.noarch
texlive-filecontents-svn24250.1.3-38.el7.noarch
texlive-filehook-svn24280.0.5d-38.el7.noarch
texlive-fix2col-svn17133.0-38.el7.noarch
texlive-float-svn15878.1.3d-38.el7.noarch
texlive-fontspec-svn29412.v2.3a-38.el7.noarch
texlive-footmisc-svn23330.5.5b-38.el7.noarch
texlive-fpl-svn15878.1.002-38.el7.noarch
texlive-...
2018 May 30
2
CentOS 7 issues with pdf manual / tex conversion
...arch
| texlive-eurosym-svn17265.1.4_subrfix-38.el7.noarch
| texlive-extsizes-svn17263.1.4a-38.el7.noarch
| texlive-fancybox-svn18304.1.4-38.el7.noarch
| texlive-fancyhdr-svn15878.3.1-38.el7.noarch
| texlive-fancyref-svn15878.0.9c-38.el7.noarch
| texlive-fancyvrb-svn18492.2.8-38.el7.noarch
| texlive-filecontents-svn24250.1.3-38.el7.noarch
| texlive-filehook-svn24280.0.5d-38.el7.noarch
| texlive-fix2col-svn17133.0-38.el7.noarch
| texlive-float-svn15878.1.3d-38.el7.noarch
| texlive-fontspec-svn29412.v2.3a-38.el7.noarch
| texlive-footmisc-svn23330.5.5b-38.el7.noarch
| texlive-fpl-svn15878.1.002-38.el7.noa...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...tp://obo.cvs.sourceforge.net/obo/obo/ontology/phenotype/unit.obo"/>
<cv id="IMS" fullName="Imaging MS Ontology" version="0.9.1"
URI="http://www.maldi-msi.org/download/imzml/imagingMS.obo"/>
</cvList>
<fileDescription>
<fileContent>
<cvParam cvRef="MS" accession="MS:1000579" name="MS1 spectrum"
value=""/>
<cvParam cvRef="MS" accession="MS:1000128" name="profile spectrum"
value=""/>
<cvParam cvRef="IMS&qu...