Re: the best way to match these domains.

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 10:40 PM, Eliezer Croitoru wrote: > On 7/5/2012 10:03 AM, Robert Klemme wrote: >> >> On Thu, Jul 5, 2012 at 4:13 AM, Eliezer Croitoru >> wrote: >>> >>> thanks in advance i need a bit help to break the ice that my head is in. >>> >>> i am working on ICAP server and i am buil

Re: Ruby for LDAP access?

2012-07-05 Thread Kendall Gifford
On Wed, Jul 4, 2012 at 1:01 AM, Claus Folke Brobak wrote: > In our company the desktop computers are running primarily Windows, the > servers a mix of Windows, AIX, Linux and z/OS. Computers, groups and and > users are defined in Active Directory. As such we are probably not very > different from

[ANN] Tork 18.2.1

2012-07-05 Thread Suraj Kurapati
Tork > Test with fork --> https://github.com/sunaku/tork#readme ___ ___ ___ /___ /__ _ __/ __ \ __/ /_/ / /_/ /_/ / / / ,\ \__/\/_/ /_/|_\ >>>--> Tork runs your tests as they change, in parallel: 1. Absorbs test execution over

[ANN] md2man 1.2.1

2012-07-05 Thread Suraj Kurapati
md2man - markdown to manpage https://github.com/sunaku/md2man#readme # What is it? md2man is a Ruby library and command-line program that converts Markdown documents into UNIX manual pages (really Roff documents) using [Redcarpet](https://github.com/tanoku/redcarpet). >> Obligatory screenshot:

Re: self.clone.replace(super)?

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 3:27 PM, Intransition wrote: > > > On Thursday, July 5, 2012 5:52:22 AM UTC-4, Robert Klemme wrote: >> >> On Thu, Jul 5, 2012 at 11:41 AM, Soichi Ishida >> wrote: >> > Hi. Could anyone help me understand the following? I am reading a >> > piece of code that someone else w

Re: self.clone.replace(super)?

2012-07-05 Thread Intransition
On Thursday, July 5, 2012 5:52:22 AM UTC-4, Robert Klemme wrote: > > On Thu, Jul 5, 2012 at 11:41 AM, Soichi Ishida > wrote: > > Hi. Could anyone help me understand the following? I am reading a > > piece of code that someone else wrote. > > > > > > class RegexAlternation < Array > >

Re: Splitting assets in two and what to call them?

2012-07-05 Thread Intransition
On Wednesday, July 4, 2012 4:39:01 PM UTC-4, Robert Klemme wrote: > > On Wed, Jul 4, 2012 at 6:15 PM, Intransition wrote: > > A draft blog post I just wrote: > > > > > https://github.com/trans/trans.github.com/wiki/2012-07-04-crossing-the-assets-divide > > > > > In short, I need to split

Re: self.clone.replace(super)?

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 11:41 AM, Soichi Ishida wrote: > Hi. Could anyone help me understand the following? I am reading a > piece of code that someone else wrote. > > > class RegexAlternation < Array > def sort > self.clone.replace(super) > end > > def uniq > self.clone

Re: handle options not used together using optparse

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 10:26 AM, yibin z. wrote: > How to handle options that could not be used together using optparse? Is > there built-in way to do this via optparse? I don't think so. You have to check that manually. Kind regards robert -- remember.guy do |as, often| as.you_can - without

Re: question: p expression

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 10:29 AM, smoothedatol412 @gmail.com wrote: > Lately I have been going through some Ruby books and I keep coming up on > an script like the following: > > hash={"A"=>10, "B"=>20, "C"=>30} > p hash.keys() # what is this > > What is this p method or expression I keep coming ac

Re: the best way to match these domains.

2012-07-05 Thread Robert Klemme
On Thu, Jul 5, 2012 at 4:13 AM, Eliezer Croitoru wrote: > thanks in advance i need a bit help to break the ice that my head is in. > > i am working on ICAP server and i am building some acls for content > filtering. Ah, interesting! > i have a list of domains and i want to apply acl such as ".ex