search for: new_fil

Displaying 16 results from an estimated 16 matches for "new_fil".

Did you mean: new_file
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
...e file first, looking for ''ruby''. IO.foreach(file){ |line| if line =~ /ruby/i ruby_found = true break end } # Skip over files that don''t contain the word ''ruby'' next unless ruby_found # Create a temp file new_file = file + ''.temp'' FileUtils.cp(file, new_file) fh = File.open(new_file, ''wb'') # Replace all instances of ''Ruby'' with ''Sapphire'', preserving case IO.foreach(file){ |line| line.gsub!(''ruby'',...
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 (32-bit) locale: [1] LC_COLLATE=Chinese (Simplified)_People's Republic of China.936 [2] LC_CTYPE=Chinese (Simplified)_People's Republic of China.936 [3] LC_MONETARY=Chinese (Sim...
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 "Yes", it opens the menu to "Save As". (2) is there any way to write formulas in the evil Word formula format, but with input as decent latex-like format...
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[*...
2008 Oct 24
0
Strange! "No such file" error on smbfs.
...l daniel 0 2008-10-24 14:23 public_html A file i can't edit created on server: -rwxrwxrwx 1 daniel daniel 11 2008-10-24 18:24 FILE_FROM_SERVER.txt A file that i can't edit created from my workstation after mount and i can't edit later: -rwxrw-r-- 1 daniel daniel 36 2008-10-24 18:29 NEW_FILE.txt ------- And another strange thing is that i can do: echo "blah blah"> ANOTHER_FILE.txt echo "blah blah">> ANOTHER_FILE.txt echo "blah blah">> ANOTHER_FILE.txt And that's works, it appends blah blah all the times... but if i: $ nano ANOTHER_F...
2018 Jan 30
1
Samba 4.6.2 does not inherit setgid bit (anymore)
...), but I don't know if exists such feature. I definitively too need to understand where the problem is because in my scenario I have a C folder readable only by domain users and writable only by some users but when such users create something there new files looks like the following C\new_file poweruser    AD\*domain users*    rwx*rwx*--- the problem is that now "all domain users" can go to write where default acl deny that because of the ownership,group together with 77 permission that I need to manage everything through ACLs. -- Lorenzo Delana | |
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
...ith "socket address" set to "". o Andrew Tridgell <tridge@samba.org> * Fix segfault on startup with trusted domains. * Re-add "winbind:ignore domains" parameter. o Jelmer Vernooij <jelmer@samba.org> * Avoid freeing fsp twice when opening new_file fails (Debian #431696). ###################################################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by joining the #samba-technical IRC channel on ir...
2008 Dec 10
3
[ANNOUNCE] Samba 3.2.6 Available for Download
...ith "socket address" set to "". o Andrew Tridgell <tridge@samba.org> * Fix segfault on startup with trusted domains. * Re-add "winbind:ignore domains" parameter. o Jelmer Vernooij <jelmer@samba.org> * Avoid freeing fsp twice when opening new_file fails (Debian #431696). ###################################################################### Reporting bugs & Development Discussion ####################################### Please discuss this release on the samba-technical mailing list or by joining the #samba-technical IRC channel on ir...
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
...onger have any limits on output. The reimplemented APIs are: guestfs_cat, guestfs_find, guestfs_read_file, guestfs_read_lines, guestfs_write, guestfs_write_append, guestfs_lstatlist, guestfs_lxattrlist, guestfs_readlinklist, guestfs_ls. virt tools guestfish touch 'win:c:\new_file' now works as expected. guestfish has a new --network option, which enables the user network in libguestfs. You can set GUESTFISH_PS1 to use fancy prompts in guestfish. rsync, ssh, less and lrzip commands are now available in virt-rescue. In addition, rsync can be used t...
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.