similar to: a best way to write this.

Displaying 20 results from an estimated 900 matches similar to: "a best way to write this."

2007 Mar 02
2
bending openssh output
Hi there. I am not sure if this is the right place to address my question, but I need someone how knows about the channel system of openssh. At the moment, I try to modify the openssh source to fit to my needs. Therefore I modified the openssh source so it can be called from my source like a function (simply changed "void main()" to "void ssh()"). This works perfect for the
2013 Jun 24
2
[OT] bash here documents
Suppose I have this C++ program: #include <iostream> int main (int argc, char** argv) { while (1) { char cmd[80]; std::cin.getline(cmd, 80); std::cout << "response to " << cmd << std::endl; } } compiled by: c++ -o junk junk.cpp and I have this bash script: #!/bin/bash ./junk <<EOF blah bleh \cC EOF echo "Something
2008 Apr 03
2
Winbind ignores idmap configuration (3.0.28a)
Hullo, After having my Samba server joined to a domain, I'm now having difficulties configuring winbind. I want to use the idmap_rid backend, and have recompiled Samba from scratch with the requisite rid.so module. However, no matter how "idmap domains / idmap config" is set up, it seems to get totally ignored. Here is my smb.conf: [global] workgroup = DEPARTMENTDOMAIN server
2014 Jul 16
2
Re: virt-resize: support to MBR logical partitions and some question
On Tue, Jul 15, 2014 at 09:01:47AM +0100, Richard W.M. Jones wrote: > The answer is I don't know. But there are a few things you can try: > > (1) Most importantly, enable tracing (export LIBGUESTFS_TRACE=1) and > get a list of operations that are performed in the order they are > performed. This is vital for debugging this. > > (2) When the error happens, run
2014 Sep 08
3
Re: [RFC PATCH] resize: add support for MBR logical partitions some question
On Tue, Aug 26, 2014 at 06:16:50PM +0800, Hu Tao wrote: > Hi, > > The attached patch adds support for resizing MBR logical partitions. The > failure is still there, I can't get any helpful information from lsof. > Any suggestions? I don't see the error: Error: Error informing the kernel about modifications to partition /dev/sdb5 However I do see this error:
2007 May 12
3
Setting form-values
Hi, I''ve recently had some trouble setting form values in my code - for example: require ''rubygems'' require ''mechanize'' def save(pagename, content, editsummary = '''') agent = WWW::Mechanize.new agent.user_agent = ''Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'' page =
2005 Sep 06
4
PHP and ASterisk Manager
Guys, is anybody using PHP sockets to connect to the Manager and send command like "show voicemail users" for example or any other? My question is, how to parse the return info in a way that can be shown back to the user via web (discard all the manager responses not needed)? Thx in advance for any help you can provide.
2014 Sep 19
22
[PATCH v2 00/13] virt-resize: add support for resizing MBR logical partitions
Hi Rich, This is v2 series to add support for resizing MBR logical partitions. I found the reason of problem in v1 that parted reports error when adding logical partitions, is that logical partitions are not aligned to 2 sectors. This problem doesn't appear in v2. This is for early review, because of: 1. I'm not sure the splitting of patches is appropriate or not, but it's much
2006 Nov 20
2
schedule support on latest svn, a question
I''m running the latest backgroundrb mainly for scheduled tasks support. As per the documentation I created the backgroundrb_schedules.yml with the following: simple_label: :class: :document_sorter_worker :worker_method: :do_work :job: :bleh :trigger_args: :start: <%= Time.now + 5.seconds %> :end: <%= Time.now + 10.minutes :repeat_interval: 1.minute Under
2004 Aug 06
1
Ogg response headers
> This works with IE, not entirely sure if this technique will work within > winamp, but my guess is no, it might need a URL that ends in .ogg....as a > shot in the dark you could also try : > http://server/yourscripty.php?dummy=/bleh.ogg <p>I'd be extremely surprised if the Content-Disposition approach worked with winamp - the problems with winamp are far too deep for it
2015 May 28
1
Re: [PATCH v2 03/11] resize: updated find_partition to support logical partition
On Wed, May 20, 2015 at 06:51:29AM -0400, Chen Hanxiao wrote: > As we splited the original partitions list to > partitions and logical_partitions. > > Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> > --- > resize/resize.ml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/resize/resize.ml b/resize/resize.ml > index d7a8ce1..92f7304 100644
2006 Apr 05
4
Why does titleize remove hyphens?
item.title = ''alpha-bravo'' item.title = item.title.titleize puts item.title alpha bravo I didn''t notice this with 1.0 - a new bug in 1.1? Joe -- Posted via http://www.ruby-forum.com/.
2008 Mar 03
4
To use JS in RedBox Plugin
Hi All, I''m using redbox plugin in my app. Redbox plugin is working properly.But when i try to change text box values using js its not working. The Code is <input type="text" name="playlist" id="playlist_name"> <input type="radio" name="playlist"
2004 Jul 30
4
Question about Ogg files Structure
Hi, I bought an iRiver HP-120 which can read ogg files (via a hard drive). Many people experiment that reading ogg file decrease the baterry charge more quickly than with mp3 at the same bitrate. The only raisonnable reason of that mysterious thing is that reading ogg file is not sequential onto hard drive, and the hard drive head must move more than for reading an mp3 at the same quality, and
2004 Aug 06
3
Ogg response headers
> p.s. Please don't ever send HTML mail to this or any other mailing list. roger that, outlook has its way of deciding for you sometimes :/ <p>> URL ends with ".ogg". If your script ends with ".php" (as it probably does), Since i got the mp3 part to work, myabe ill try adding .ogg to be parsed by php in the apache config, since it the winamp request ends up
2009 Aug 14
9
Rescuing from REXML::ParseException
Hello, When I call an action with some invalid XML or JSON data a parse exception gets raised from within Rails/Ruby (REXML or ActiveSupport::JSON). The problem that I''ve got is how to handle these exceptions. In my application_controller.rb I have the following for debugging purposes: def rescue_action_in_public(exception) respond_to do |request| request.all { render :text =>
2004 Aug 26
13
Load Balance simply doesn´t work...
i´ve been searching for a load balance solution since a month ago... what i can say is that it simply doesn´t work. I was unable to find one guy that did it with sucess. When "load balance" is the subject of the message on the list, the message is simply ignored. So... if it doesn´t work... why LARTC don´t delete it from the HOW TO and answer us with some "it simply doesn´t
2017 Feb 02
2
HP Zbook17 Dock and UEFI conflict with GK107GLM aka Quadro K1100M
On Thu, Feb 2, 2017 at 4:43 PM, Phil Turmel <philip at turmel.org> wrote: > On 02/01/2017 10:40 AM, Phil Turmel wrote: >> Hi All, >> >> I've been running Gentoo on a ZBook with great success for a couple years, >> but I've been stymied in my attempts to implement SecureBoot by an >> apparent problem with efifb to nouveaufb handoff, but only when
2015 May 20
15
[PATCH v2 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including extended partition) are supported. They are collected in an array for resize operations. Logical partitions are not supported. This series add support for resizing logical partitions. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, the global
2014 Feb 03
5
[LLVMdev] [RFC] Removing FCA constants from the IR
Currently, you're allowed to form a constant of aggregate type using any number of other constants you like. This makes scanning the instructions of the IR needlessly complex when looking for references to constants. There is no need to support this degree of complexity in the IR. We could require that for anything but 'zeroinitializer' you cannot write a constant of aggregate