search for: aaaab

Displaying 8 results from an estimated 8 matches for "aaaab".

Did you mean: aaaa
2017 Aug 02
2
Re: [PATCH 0/2] Add lightweight bindings for PCRE.
...some global state (actually > > thread-local in this implementation) between the matching and the > > getting the substring, so you can write code like this: > > > > let re = PCRE.compile "(a+)b" > > ... > > > > if PCRE.matches re "ccaaaabb" then ( > > let whole = PCRE.sub 0 in (* returns "aaaab" *) > > let first = PCRE.sub 1 in (* returns "aaaa" *) > > ... > > Since we are providing a better module, with a different API (which > needs changes), what about removing the...
2017 Aug 02
0
Re: [PATCH 0/2] Add lightweight bindings for PCRE.
...rk rather like Str in that there is some global state (actually > thread-local in this implementation) between the matching and the > getting the substring, so you can write code like this: > > let re = PCRE.compile "(a+)b" > ... > > if PCRE.matches re "ccaaaabb" then ( > let whole = PCRE.sub 0 in (* returns "aaaab" *) > let first = PCRE.sub 1 in (* returns "aaaa" *) > ... Since we are providing a better module, with a different API (which needs changes), what about removing the usage of a global state, in fa...
2009 Nov 17
3
SSH Keys
...these groups of keys to specific users however it looks like the ssh_authorized_key resource ties a key and a user together so it looks like I fall at the first hurdle: @ssh_authorized_key { "joe.bloggs": ensure => "present", key =>"AAAAB....=", type => "ssh-rsa", user => "root" <<<<< I don''t want this } I was hoping to realize a groups of these keys and somehow tie them to users. Any ideas? -- You received this message because you are subs...
2017 Aug 02
0
Re: [PATCH 0/2] Add lightweight bindings for PCRE.
...gt; > thread-local in this implementation) between the matching and the > > > getting the substring, so you can write code like this: > > > > > > let re = PCRE.compile "(a+)b" > > > ... > > > > > > if PCRE.matches re "ccaaaabb" then ( > > > let whole = PCRE.sub 0 in (* returns "aaaab" *) > > > let first = PCRE.sub 1 in (* returns "aaaa" *) > > > ... > > > > Since we are providing a better module, with a different API (which > > needs chan...
2017 Aug 03
0
Re: [PATCH 0/2] Add lightweight bindings for PCRE.
...rk rather like Str in that there is some global state (actually > thread-local in this implementation) between the matching and the > getting the substring, so you can write code like this: > > let re = PCRE.compile "(a+)b" > ... > > if PCRE.matches re "ccaaaabb" then ( > let whole = PCRE.sub 0 in (* returns "aaaab" *) > let first = PCRE.sub 1 in (* returns "aaaa" *) > ... > > I also introduced the switch from Str -> PCRE in virt-builder to show > that it simplifies code while allowing you to use...
2011 Oct 08
2
Detect PID of sshd processes used by one public key; detect -R allocated port on the server
...hostile clients ssh to a host I control, each ssh'ing in as the same user, and each forwarding a remote port back to them. So, the authorized_keys file looks like: no-agent-forwarding,command="/bin/true",no-pty,no-user-rc,no-X11-forwarding,permitopen="127.0.0.1:7" ssh-rsa AAAAB....vnRWxcgaK9xXoU= client1234 at example.com [the permitopen stanza just disables -L forwarding by only enabling a forwarding to a port that will always refuse connections. Ignore this.] and the ssh line from the client looks like this: ssh -R0:127.0.0.1:1234 -N -ldummyuser central.example.org A...
2017 Aug 01
7
[PATCH 0/2] Add lightweight bindings for PCRE.
...tweight bindings for PCRE. They work rather like Str in that there is some global state (actually thread-local in this implementation) between the matching and the getting the substring, so you can write code like this: let re = PCRE.compile "(a+)b" ... if PCRE.matches re "ccaaaabb" then ( let whole = PCRE.sub 0 in (* returns "aaaab" *) let first = PCRE.sub 1 in (* returns "aaaa" *) ... I also introduced the switch from Str -> PCRE in virt-builder to show that it simplifies code while allowing you to use the much more powerful PCRE re...
2017 Aug 01
6
[PATCH v2 0/3] common: Add a lightweight OCaml binding for PCRE.
v2: - Change the OCaml code in the daemon to use PCRE instead of Str. - Call pcre_compile2 so we can capture the error code on failure. - Extend the test suite. - Some other cleanups, but very minor. Rich.