search for: puts

Displaying 20 results from an estimated 67304 matches for "puts".

Did you mean: put
2008 Jul 23
1
Calling LISP programs in R
I have written some programs in Common Lisp and I have been using SAS to pipe those programs to my lisp compiler in batch mode by using the %xlog and %xlst SAS commands. I wonder if there is in R a similar way to pipe commands to LISP so that all my work would be concentrated in R even when I have to call a LISP program? I have looked at the foreign library but this seems to adjust data types not
2007 Jul 01
1
rspec for the svn-less (ruby version)
...ryone might not use the rspec_on_rails piece...what do other think? - there are some other checks I could put in here, suggestions are welcome. - general code suggestions are welcome as well. Mike B. Here is my ruby version: #!/usr/bin/ruby -w require ''ftools'' def usage puts puts "Usage: makespec.rb <path> [<dotted-version>]" puts puts "Version defaults to 1.0.5" puts puts "Example: " puts " makespec.rb /var/www/rails/railsapp 1.0.5" puts end if ARGV[0].nil? then usage puts puts "You must i...
2010 Mar 19
1
cupsaddsmb error: cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received
Hello, when i send the SIGHUP signal to Samba, then Samba won't load the printers from CUPS. I need to shutdown Samba and start it again. Now when i'am running cupsaddsmb i got the following errors(this error occours in 3.5.x but not in 3.2.x): server-p:/# cupsaddsmb -H server-p -v edv01 edv02 edv03 Kennwort f?r root erforderlich, um ?ber SAMBA auf server-p zugreifen zu k?nnen:
2011 Apr 12
11
[Bug 36163] New: nouveau fails to render framebuffer on [GeForce 7300 GS]
https://bugs.freedesktop.org/show_bug.cgi?id=36163 Summary: nouveau fails to render framebuffer on [GeForce 7300 GS] Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo:
2015 Apr 29
0
cups automatic driver install (WERR_ACCESS_DENIED)
[root at samba ~]# cupsaddsmb -U administrator -v hp4 Password for administrator required to access localhost via SAMBA: ********************* Running command: smbclient //localhost/print$ -N -A /tmp/075335545d5bf -c 'mkdir W32X86;put /tmp/07533554ccef1 W32X86/hp4.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put
2002 Oct 28
1
cipsaddsmb UNSUCCESSFUL
Hi, I have a linux box on RH7.3 with samba 2.2.5-1 and cups-1.1.14-15. I create a cups printer on to this machine with success, It called lptest? and apparently, when I send a page test it works fine. But now I want to share It via Samba then I putted the different setting in smb.conf . I extracted the different files from the ADOBE POSTSCRIPT DRIVER and I put them in /usr/share/cups/drivers .
2009 Jul 15
1
[PATCH] Rename qmf-libvirt-example to libvirt-list.rb
...quot;rubygems" +require "qpid" +require "dutils" + +get_credentials('qpidd') + +server, port = get_srv('qpidd', 'tcp') +raise "Unable to determine qpid server from DNS SRV record" if not server + +srv = "amqp://#{server}:#{port}" +puts "Connecting to #{srv}.." +s = Qpid::Qmf::Session.new() +b = s.add_broker(srv, :mechanism => 'GSSAPI') + +nodes = s.objects(:class => "node") +nodes.each do |node| + puts "node: #{node.hostname}" + for (key, val) in node.properties + puts &quo...
2004 Apr 01
1
using cupsaddsmb with W98
Hello I've got some problems downloading Adobe PostScript printer drivers on a Windows 98 client : On the server side (Red Hat 9 / Samba 3.0.2 / Cups 1.1.17) : I installed succesfully my printers with Cups and they work fine on Linux I ran cupsaddsmb tool to copy the Adobe files in the [print$] directory which gives this result : in /etc/samba/W32X86/2 : cupsdrvr.dll cups.hlp
2006 Apr 13
2
Big performance difference between smbclient put/get
Hi list, I'm using Samba 3.0.21 on a FC4 box. When copying files using smbclient I get huge speed differences between put and get commands. smb: \> put backup.tar putting file backup.tar as \backup.tar (543.0 kb/s) (average 543.0 kb/s) smb: \> get backup.tar getting file \backup.tar of size 31549440 as backup.tar (7681.4 kb/s) (average 7681.4 kb/s) smb: \> put backup.tar
2002 Aug 11
0
Problems installing printerdriver after successful upload to samba-2.2.5
Here is what I do. It gets explained step by step. At the end of this mail you will find my references used in the text by [0] and so on. - starting with initial setup - getdriverdir NT x86 - uploading files with smbclient prompt; cd W32X86 - addriver - addprinter - debian:/scratch/W32X86# rpcclient debian -d 1 -A /scratch/authfile.txt -c "enumdrivers" -
2003 May 06
3
Problems adding print drivers
Hey folks. I am trying to set up a cups/samba printer server, and I am having trouble using cupsaddsmb. I isolated the problem to a rpcclient and here is the information I gathered from the various commands. If I delete all the files in "/var/lib/samba/drivers" cupsaddsmb installs the folders and files, but doesn't move the files in to the WIN40/0 folder with the adddriver
2013 Dec 18
0
ruby
...nable format for those non-noop executed actions, but we want the reverse. #!/usr/bin/ruby require ''puppet'' if defined?(ARGV) filename = ARGV.first if defined?(filename) report = YAML.load_file(filename) print "Report for : " puts report.host print "Started : " puts report.time print "Log count: " puts report.logs.size print "Metrics count: " puts report.metrics.size print "Resource Status count: " puts report.resource_sta...
2013 Jan 28
0
add x64 printer drivers with cupsaddsmb fail
Hello, I have set up a cups print server and would like to offer Point'n'Print functionnality for the windows computer clients. So, i've followed informations from the man page of cupsaddsmb as resumed below: -configure smb.conf -add x86 and x64 PS drivers (from x86 and x64 windows 2008 installs). -add x86 and x64 CUPS drivers (from cups SVN) I then launch cupsaddsmb using the
2010 Feb 19
8
Weird gsub behaviour
ruby 1.8.6 (2007-09-24 patchlevel 111) str = ''\&123'' puts "abc".gsub("b", str) puts "abc".gsub("b", "#{str}") puts "abc".gsub("b", str.to_s) puts "abc".gsub("b", ''\&123'') puts "abc".gsub("b", "\&123") >ruby...
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
I''m developing a Rail application to accept data upload using HTTP PUT call. Support for PUT in Rails seems to be broken in query params parsing. I have a patch to fix the problem, but I''m not sure if it is the "right" solution. Can some Rails developers take a quick look? I can really use some help. :-) Here is the evident of broken param parsing. Processing
2013 Apr 13
0
help on smoothing volatility surface..
...or underlying <- 'GOOG' # set what your volatility forcast or assumption is volforcast <- .25 # Get symbols current price underlying.price <- getQuote(underlying,what=yahooQF("Last Trade (Price Only)"))$Last OC <- getOptionChain(underlying, NULL) #check data head(OC) lputs <- lapply(OC, FUN = function(x) x$puts[grep("[A-Z]\\d{6}[CP]\\d{8}$", rownames(x$puts)), ]) head(lputs) #check for NA values, yahoo returns all NA values sometimes puts <- do.call('rbind', lputs ) #check data head(puts,5) symbols <- as.vector(unlist(lapply(lputs, rowname...
2002 Nov 08
0
cusaddsmb and setdriver
hi, my boxes: RH 8.0 with samba2.2.6-2 and cups 1.1.15-10 samba runs ok and cups runs ok.I putted Adobe Postscript Printer in /usr/share/cups/drivers. And when I want to export my Cups Printer with cupsaddsmb, this what it happens: [root@bouffon sbin]# cupsaddsmb -H bouffon -U DOMAINNAME\\root -h bouffon -v infolpPassword for DOMAINNAME\root required to access bouffon via SAMBA: Running
2001 Dec 04
0
password prob. cupsaddsmb
Hello all, I'm having a password problem with Cupsaddsmb... I was wondering if anyone knew what this meant... I have 2 printers, "Boris" and "Mutt" I get the following when I run cupsaddsmb -v -a mkdir W32X86 put /var/spool/cups/tmp/3c0b9dc42ea72 W32X86/Boris.PPD put /usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL put /usr/share/cups/drivers/ADOBEPSU.DLL
2002 Nov 06
1
cupsaddsmb: cli_pipe: return critical error. Error was SUCCESS - 0
hi list, We got the following problem: We try to use samba 2.2.5 as a printserver for windoze clients (samba 2.2.5 on RH linux 8 w/ CUPS 1.1.15). CUPS works w/o any problems, but when we try to generate the drivers for the windoze clients (by using cupsaddsmb), we get the following error: >> cli_pipe: return critical error. Error was SUCCESS - 0 result was NT_STATUS_UNSUCCESSFUL
2003 Feb 11
4
Adding printer driver with cupsaddsmb
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, I have a problem adding printer drivers for automatic downloading via samba for windows 2000 clients. Under cups I added my printer and copied the Adobe postscript driver files like mentioned in printer_driver2.html. And when I finally commit: cupsaddsmb -v -U root normal (normal is the name of the printer) And here is the output: