Displaying 16 results from an estimated 16 matches for "new_files".
2006 Mar 08
2
Creating new Magick::Image from uploaded data
Hi!
Is it possible to create a new instance of Magick::Image out of uploaded
data via file input?
Now i save my file to the disk, then read it to create an instance of
Magick::Image, resize it and save it again.
--
Posted via http://www.ruby-forum.com/.
2008 Jun 25
3
[OT] Byacc error
Hi all,
Yeah, I''m going OT here...
I''m not entirely sure I understand how Ruby builds parse.y on Windows,
but it works. However, when I changed all instances of "Ruby" to
"Sapphire", and renamed all the source files, I suddenly started getting
this error:
byacc ./parse.y
''byacc'' is not recognized as an internal or external command,
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there:
Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2012 May 31
1
possible bug in "R Editor"
Dear all,
I clicked "File-New Script" to open a R Editor, typed some commands in
it and then saved it to a file. If the location where I tried to save
the script contained Chinese Character, R Editor complained,
Error: invalid input 'E:\Some.Chinese.Characters\new_file.R' in 'utf8towcs'
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386
2006 Jan 13
2
"find" statement: 64bit related??
hi!
3 machines all run this same test script. 2 -i386, 1 x-64bit machine.
this line:
if find / -mount -type f -mtime -1 -print0 | xargs -0 clamscan -l \
$CLAMDAILY $CLAMEXCLUDES -r --no-summary | cut -d: -f1 > $CHANGEDLOG; \
then
the $CHANGEDLOG file... on the 32 bit boxes...oh, probably 220 files. On
the 64bit box 177,999 files lol (Centos 64bit w/everything installed)!
it seems to me
2007 Sep 26
3
wordReport
?wordReport gives a lot of information, but I think it makes us wish for
more :-)
Where can I find all the ways to write Word documents using R?
Namely:
(1) is there any way to open a new document and save it automatically?
The sequence:
WordOpen("new_file.doc"); WordInsertText("R rulez!\n"); WordExit()
will prompt for the Yes/No/Cancel prompt, and if I answer
2006 Aug 15
5
Conditional extend of active record
Hi list,
I''m trying to figure out the best way to add some functionality to
active record. I have a table of files, and need to write a set of core
functions that do different things depending on the type of file eg:
class file < ActiveRecord::Base
def resize
....does stuff
end
end
the problem is the "....does stuff". For example, if the file is an
image it
2019 Feb 19
0
[PATCH nbdkit 4/4] Add linuxdisk plugin.
...>d_name, ino);
+
+ /* Visit the subdirectory. */
+ if (visit (subname, fs, ino, files, nr_files) == -1)
+ goto error2;
+ }
+ else {
+ /* Any other non-directory is added to files. We will further
+ * process it in the second pass.
+ */
+ struct file *new_files;
+
+ new_files = realloc (*files, (*nr_files+1) * sizeof (struct file));
+ if (new_files == NULL) {
+ nbdkit_error ("realloc: %m");
+ goto error2;
+ }
+ *files = new_files;
+ new_files[*nr_files].name = strdup (d->d_name);
+ if (new_files[*nr...
2008 Oct 24
0
Strange! "No such file" error on smbfs.
Hi all
I'm experimenting some very strange problem when i mount i share.
After mount i can:
read files, copy, create new files, move files.
But i can't:
Edit files with vim/nano and many other editors :P, when i try to save changes is says: (No Such file or directory)!!! o_O
Also i can create files, with content or not.. but i cant edit that files after save it :/.
Important point:
2018 Jan 30
1
Samba 4.6.2 does not inherit setgid bit (anymore)
Hi Vincent,
have you found a solution that makes "force directory mode = 2770" able
to apply to new created folders ?
I have a similar problem:
if I set by hand (eg. chmod 2770) the folder A and then I try to create
an X element into that folder through samba I get the result needed (
group of X become overriden from parent folder A ) but the problem is
that the new element X not
2019 Feb 19
6
[PATCH nbdkit v2 0/5] Add linuxdisk plugin.
Another interesting thing you can do with this plugin:
https://rwmj.wordpress.com/2019/02/19/nbdkit-linuxdisk-plugin/
v2:
- Fix inconsistent tab/space.
- All 3 plugins now contain a block of text pointing to the
other 2 plugins.
- TMDIR -> TMPDIR
- Unlink the temporary file and other cleanups along error paths.
- fclose -> pclose, and check the return value for errors.
-
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===============================================================
"Myths are public dreams,
dreams are private myths."
Joseph Campbell
===============================================================
Release Announcements
=====================
This is a bug fix release of the Samba 3.2 series.
Major enhancements
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===============================================================
"Myths are public dreams,
dreams are private myths."
Joseph Campbell
===============================================================
Release Announcements
=====================
This is a bug fix release of the Samba 3.2 series.
Major enhancements
2019 Feb 19
7
[PATCH nbdkit 0/4] New plugin: Add linuxdisk plugin.
Turns out Japanese trains are good for coding!
In supermin we have a bunch of code to create the libguestfs
appliance. It creates it directly using libext2fs (part of
e2fsprogs). We can use the same technique to create ext2 virtual
disks in nbdkit, which is what this new plugin does. Why a new plugin
instead of modifying the floppy plugin? See the 4/4 commit message
for an explanation.
The
2012 Dec 13
0
ANNOUNCE: libguestfs 1.20 - tools for accessing and modifying virtual machine disk images
I'm very pleased to announce the release of libguestfs 1.20.
Libguestfs is a library and a comprehensive set of tools for accessing
and modifying virtual machine (VM) disk images. For more information
see http://libguestfs.org
Libguestfs 1.20 represents 7 months of upstream work, dozens of major new
features and bug fixes. For full details read the release notes below.
You can download
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files.
Rich.