search for: put

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

Did you mean: but
2008 Jul 23
1
Calling LISP programs in R
...s in batch mode. Here is a simple program (example) to generate random normal variables from SAS to LISP; of course it's a toy example because there is no need for a LISP routine in this particular case. I hope R has a similar feature. Thanks DATA _NULL_; FILE 'c:\cl.lisp' LRECL=1024; PUT "(defun run (num Mn SD)"; PUT "(setq mix (list nil))"; PUT "(dotimes (n num)"; PUT "(setq u (- (* 2 (random 1.0)) 1)"; PUT "v (- (* 2 (random 1.0)) 1)"; PUT "w (+ (expt u 2) (expt v 2)))"; PUT "(when (< w 1)&quot...
2007 Jul 01
1
rspec for the svn-less (ruby version)
A couple of things: - it is defaulted to 1.0.5, but if there was a "current" I could probably use that instead. - it seems like everyone 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 de...
2010 Mar 19
1
cupsaddsmb error: cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received
...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: Befehl ausf?hren: smbclient //server-p/print$ -N -A /tmp/4ba38b6546c6f -c ?mkdir W32X86;put /tmp/4ba38b6126eb3 W32X86/edv01.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll? Domain=[PRUEFUNG] OS=[U...
2011 Apr 12
11
[Bug 36163] New: nouveau fails to render framebuffer on [GeForce 7300 GS]
...0000:02:00.0: Saving VGA fonts Apr 11 22:09:11 HomeC kernel: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). Apr 11 22:09:11 HomeC kernel: [drm] No driver support for vblank timestamp query. Apr 11 22:09:11 HomeC kernel: [drm] nouveau 0000:02:00.0: PFIFO_DMA_PUSHER - Ch 0 Get 0x00000004 Put 0x000000a0 State 0x80001680 Push 0x00000000 Apr 11 22:09:11 HomeC kernel: [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 0) Apr 11 22:09:11 HomeC kernel: [drm] nouveau 0000:02:00.0: Setting dpms mode 3 on vga encoder (output 1) Apr 11 22:09:11 HomeC kernel: [drm] nouveau 000...
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 /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll' Domain=[TEST] OS=[Windows...
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 . After , I ran cupsaddsmb : # cupsaddsmb -v lptest Password for root required to access localhost via SAMBA: Running command: smbclient //localhost/pri...
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 &qu...
2004 Apr 01
1
using cupsaddsmb with W98
...s copied from the server and Windows can't print the Test Page. If I manually install the Adobe Drivers on the client, I can use the printer. I think that there is an error while the files are copied to the client but I found no information in Samba's log and Cups logs. Here is the output of cupsaddsmb command : Running command: smbclient //localhost/print\$ -N -U'user%password' -c 'mkdir W32X86;put /var/tmp/406c0439bf0e2 W32X86/printer.ppd;put /usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put /usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put /usr/...
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 putting file backup.tar as \backup....
2002 Aug 11
0
Problems installing printerdriver after successful upload to samba-2.2.5
...e.txt -c "enumdrivers" - debian:/usr/local/samba/var/locks# strings ntdrivers.tdb - getdriverdir Windows 4.0 - uploading with smbclient prompt; cd WIN40.. - addriver - addprinter - enumdrivers Everything looks quite good until here. - Installation of the drivers from win98 Note: Debug output is available on 3 webservers for having a close look. Links are in the text. - Starting with my initial smb.conf [0] and my addprinter.pl [1]. /usr/local/samba/printer/ looks like this: drwxr-xr-x 2 root root 4096 Aug 11 09:00 W32X86 drwxr-xr-x 2 root root 4096 Aug...
2003 May 06
3
Problems adding print drivers
...d something. Thanks! *-*-*-*-*-*-*-*-*-*- cupsaddsmb -*-*-*-*-*-*-*-*-*-* DvPrntSvr:/var/lib/samba # cupsaddsmb -U root -a -v Password for root required to access localhost via SAMBA: Running command: smbclient //localhost/print\$ -N -U'root%<password removed>' -c 'mkdir W32X86;put /var/spool/cups/tmp/3eb694ef6a9a6 W32X86/P45DEVLAB.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' added interface ip=158.184.44.107 bcast=158.184.45.255 n...
2013 Dec 18
0
ruby
How would I convert this program to output exactly the same thing but only for all the (noop) operations. We keep puppet in noop mode to audit its actions before they are applied. Thus it is necessary to ensure we understand exactly what all the nodes noop operations would be if we listed the noop restriction for a normal apply. This pro...
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 following command : "[ro...
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 p...
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, rownam...
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 c...
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 W32X86/ADOBEPSU.DLL put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP mkdir WIN40 put /var/spool/cups/tmp/3c0b9dc42ea72 WIN40/Boris.PPD...
2002 Nov 06
1
cupsaddsmb: cli_pipe: return critical error. Error was SUCCESS - 0
...indoze clients (by using cupsaddsmb), we get the following error: >> cli_pipe: return critical error. Error was SUCCESS - 0 result was NT_STATUS_UNSUCCESSFUL << Does anybody know this problem, and can point me to a solution? Thanx in advance. Marco PS: Here's the complete output of cupsaddsmb -v -U root phaser: [stdout] added interface ip=192.168.0.12 bcast=192.168.0.255 nmask=255.255.255.0 Domain=[PAION-BERLIN] OS=[Unix] Server=[Samba 2.2.5] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/3dc809fc30b6f as \W32X86/phase...
2003 Feb 11
4
Adding printer driver with cupsaddsmb
...er 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: sphinx:/usr/share/cups # cupsaddsmb -v -U root normal Password for root required to access localhost via SAMBA: Running command: smbclient //localhost/print\$ -N -U'root%<password>' - -c 'mkdir W32X86;put /var/spool/cups/tmp/3e4946cfeee23 W32X86/normal.PPD;put /usr/share/cups/dri...