Displaying 20 results from an estimated 100 matches similar to: "source(), parse(), and foreign UTF-8 characters"
2017 May 09
0
source(), parse(), and foreign UTF-8 characters
On 09/05/2017 3:42 AM, Kirill M?ller wrote:
> Hi
>
>
> I'm having trouble sourcing or parsing a UTF-8 file that contains
> characters that are not representable in the current locale ("foreign
> characters") on Windows. The source() function stops with an error, the
> parse() function reencodes all foreign characters using the <U+xxxx>
> notation. I have
2017 May 09
1
source(), parse(), and foreign UTF-8 characters
On 09.05.2017 13:19, Duncan Murdoch wrote:
> On 09/05/2017 3:42 AM, Kirill M?ller wrote:
>> Hi
>>
>>
>> I'm having trouble sourcing or parsing a UTF-8 file that contains
>> characters that are not representable in the current locale ("foreign
>> characters") on Windows. The source() function stops with an error, the
>> parse() function
2006 Jul 28
1
How do I get an original file name from an upload using file_field?
I am uploading a .csv file for importing into a database; however, this file
does not need to be saved on the server. How do I get the file name of the
original file? I know about the file_column plugin but I don''t need/want to
save the uploaded file on the server, I just need to import it and delete
it. Right now the file name get returned as some random temp file name...
there has to be
2011 Apr 29
3
running libguestfs as a service?
Hello,
First off, many thanks for libguestfs... very useful!
I'm trying to run libguestfs as an RPC service by using a python
daemon with the python libguestfs bindings. With this service I'm
"centrally" editing VM images, and often running many GuestFS() on the
same image file in a short amount of time to edit the image's
contents.
The problem I'm running across is
2008 Feb 09
0
a problem with before_create and validations
I stumble across some strange problem.
I have a model with a virtual attribute file_contents that is a string.
The model has validates_format_of :file_contents, :on => create, :unless
=> no_contents? (The method that returns file_contents.nil?)
Then, I have a before_create callback, where I get my model''s title and
description by parsing file_contents, and do write_attribute for
2013 Jul 19
2
puppet master and fileserver separate problem
my environment:
192.168.0.13 puppet.uc.local
192.168.0.14 puppetca.uc.local
192.168.0.15 report.uc.local
192.168.0.16 fileserver.uc.local
192.168.0.17 agent01.uc.local
i want run a master as fileserver (fileserver.uc.local)
the puppet.uc.local and fileserver.uc.local use one ca.pem
on puppet.uc.local, i wrote a class for test
class test {
notify { "hello
2008 Jul 08
6
Data type of input type file
If I have a form that includes something like:
<input type="file" name="file_content" />
and I try to get at the file content using:
params[''file_content''].read
I get:
undefined method `read'' for "filename":String
where "filename" is the *NAME* of the file that was assigned to
"file_content" in the input tag.
2007 Oct 18
4
Polymorphic Association?
Hi there-
I''m a newbie to this board, RoR, and web development in general. So
please forgive me if this is in the wrong place or if the solution is
really simple...
I''m trying to conceptualize the relationships between a series 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
2011 Jun 27
12
Ruby script to download files without 'puppet agent'
We have often the Problem that some files need to be checked for updates
faster than the cycle of the puppet agent. I try to solve this with a
script which tries to download the files directly from the fileserver of
the puppetmaster. So far i couldn''t get it to work.
I don''t know if i got the URL right, i did not find any examples on the
REST API documentation for the
2004 Sep 14
2
Questions on setting up icecast
At 04:14 AM 9/14/2004, you wrote:
>JLB wrote:
>>Sorry, gang. The FAQ didn't seem to answer me, nor did Googling...
>>I merely want a simple solution to do the following:
>>I am setting up a streaming server for in-house use.
>>I want it to broadcast the RAW MP3 DATA from my actual MP3 files, as I
>>listen to them in xmms.
>>In other words, I DO NOT want:
2011 Jul 08
2
Puppetmaster setup with separate CA server configuration help
Hi All,
I am setting up puppetmaster with nginx and passenger and separating
the Puppetmaster primary CA server. I have 3 host
loadbalancer01 - Nginx doing LB on IP address and also running
puppetmaster with passenger under 127.0.0.1 (port 8140).
primaryca - Puppetmaster Primary CA
pclient - Puppet Client
The did the following steps:
On Primary CA server:
----------------------------
cd
2010 May 20
10
Question about templates from variables
I''m running into an issue trying to do something like the following:
class test {
file {"test":
content => template(''mytemplate1'',''mytemplate2''),
}
}
class test::test2 inherits test {
File["test"] { content +> template(''mytemplate3''), }
}
So, basically I want the inherited class to tack on another
2008 Jul 04
9
file upload
is there any link for step by step guide in file upload in database ...
im follwing the link
http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm..
which shows file upload into folder not in database ..pls help..
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2018 Dec 03
3
[supermin PATCH] build: ignore empty files
Do not error out on empty files, just ignore them.
---
src/mode_build.ml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/mode_build.ml b/src/mode_build.ml
index b5f5fa6..9cd0a21 100644
--- a/src/mode_build.ml
+++ b/src/mode_build.ml
@@ -46,6 +46,7 @@ and file_content =
| Packages
| Hostfiles
| Excludefiles
+| Empty
let rec string_of_file_type = function
|
2004 Aug 06
3
Multiple Ogg Streams
Hello
I've been playing around with Icecast, Oddcast DSP v2 and streamTranscoder,
trying to get multiple streams with different bitrates in ogg format running.
The source I am streaming is from Winamp 2.80 Oddcast DSP v2 serving
to a linux compilation (got it from CVS just yesterday) of Icecast 2.
I also compiled streamTranscoder 1.1 and after much trial got a
not really stable second
2004 Aug 06
2
Multiple Ogg Streams
>ices2 will encode/reencode/relay to more than one server.
I searched for documentation about ices2 and found two,
one of them http://quasi.ksl.com/icecast/docs/Unofficial%20Icecast%20HOWTO.pdf
where link to the other was incuded (which i found before though).
All what I saw was that it only supports encoding streams from
soundcard input or playlist, but not a stream (from Oddcast DSP).
You
2004 Aug 06
1
Hoping to not have to re-invent the wheel
Anyone have a good way to knock my 160kbit mp3s down to 56k real time using
*nix? Even if it is beta sorta working code, anyone have anything even
close to fast enough to do this?
matt
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request@xiph.org'
containing only
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2004 Sep 14
3
Questions on setting up icecast
yep, they simply forward the bitstream to icecast. And in general, bitrate
changes are handled by most listening clients, although very few I have
found (if any) can handle samplerate changes appropriately.
oddsock
At 10:03 AM 9/14/2004, you wrote:
>You mentioned these programs and their "no-reencoding" mode. Can they
>handle collections of MP3s of different bitrate?
>
2004 Sep 13
3
Questions on setting up icecast
Sorry, gang. The FAQ didn't seem to answer me, nor did Googling...
I merely want a simple solution to do the following:
I am setting up a streaming server for in-house use.
I want it to broadcast the RAW MP3 DATA from my actual MP3 files, as I
listen to them in xmms.
In other words, I DO NOT want:
XMMS ---> decode to wave ---> re-encode to MP3 ---> icecast ---> listeners
I