This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(2009-07-10 10:43:05) #perlcms: mode (+nt ) by magnet.shadowcat.co.uk | |
(2009-07-10 10:49:50) zby [~zby@19-tor-3.acn.waw.pl] entered the room. | |
(2009-07-10 10:50:05) robinsmidsrod: hopefully Theory at some point | |
(2009-07-10 10:50:07) zby: heh - I see | |
(2009-07-10 10:50:09) robinsmidsrod: (David) | |
(2009-07-10 10:50:14) zby: OK | |
(2009-07-10 10:50:31) zby: anyway first the problems I see | |
(2009-07-10 10:50:36) robinsmidsrod: in fact, I'm thinking that maybe we don't need to actually choose a framework | |
(2009-07-10 10:50:39) zby: I think you need to choose a platform | |
(2009-07-10 10:50:45) zby: Mojo is interesting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char **argv) { | |
char *socket_path = "/var/run/dovecot/auth-master"; | |
// Specify alternate path to socket | |
if ( argc >= 2 ) { | |
socket_path = argv[1]; | |
} | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./dovecot-auth /tmp/filealskjflaskfjøalsdfjaølskjfdløkasjdflaskøjfløaskjdfløaksjdfløkasjdfløkasjdfølkajsdfløkjsadfløkjasdløfkjasødljkf | |
connect() failed | |
*** stack smashing detected ***: ./dovecot-auth terminated | |
======= Backtrace: ========= | |
/lib/libc.so.6(__fortify_fail+0x37)[0x7f3a550782c7] | |
/lib/libc.so.6(__fortify_fail+0x0)[0x7f3a55078290] | |
./dovecot-auth[0x400bab] | |
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f3a54f975a6] | |
./dovecot-auth[0x4007f9] | |
======= Memory map: ======== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@server:/var/lib/dpkg/info# cat zlib1g.md5sums | |
7a397605c5e38502ee677603273732d5 usr/lib/libz.so.1.2.3.3 | |
d80cac43557da93775aa37ea83730ac1 usr/share/doc/zlib1g/changelog.gz | |
b864456ff86681d287ddec30166bb86c usr/share/doc/zlib1g/copyright | |
2887c710c335d514bd7f82d284113ae2 usr/share/doc/zlib1g/changelog.Debian.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<assessmentItem xmlns:inspera="http://www.inspera.no" identifier="replaceWithIdent" title="Hvilke elementer er særlig viktige å bevisstgjøre når du jobber med kroppen?" adaptive="false" timeDependent="false"> | |
<responseDeclaration identifier="RESPONSE" cardinality="single" baseType="identifier"> | |
<correctResponse> | |
<value>A4</value> | |
</correctResponse> | |
<mapping defaultValue="0" lowerBound=""> | |
<mapEntry mapKey="" mappedValue="2.0"/> | |
</mapping> | |
</responseDeclaration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package IMS::LOM::LangString; | |
use Moose; | |
with 'IMS::Include::XMLNode'; | |
with 'IMS::Include::XPathContext'; | |
with 'IMS::Include::findvalue'; | |
use IMS::Include::Attribute::XPathValue; | |
has 'language' => ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package IMS::Include::Attribute::XPathValue; | |
use Moose::Role; | |
has 'xpath_query' => ( | |
is => 'ro', | |
isa => 'Str', | |
required => 1, | |
); | |
has '+lazy' => ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $manifest = IMS::CP::Manifest->new( file => $manifest_filename ); | |
foreach my $org ( @{ $manifest->organizations } ) { | |
my $counter = 1; | |
foreach my $item ( @{ $org->items } ) { | |
my $res = $item->resource; | |
if ( found( $res->href ) ) { | |
my $data = { | |
type => 'imscp_resource', |