Skip to content

Instantly share code, notes, and snippets.

[% WRAPPER JSOnDocumentComplete %]
<script type="javascript">//<![CDATA[
var ID = $('input[name="ResponseID"]').val();
console.debug( "ResponseID: " + ID );
if ( ID == 2 ) {
$('#StateID').val(6).trigger('redraw.InputField');
}
//]]></script>
[% END %]
perl -MPath::Tiny=path -E 'my $this = path(".")->absolute; for my $path ( $this->children ) { next if $path->is_file; chdir $path->stringify; say "$path"; say qx{git status}; chdir $this->stringify }'
# --
# Kernel/System/PostMaster/Filter/ReAssign.pm - the global PostMaster module for OTRS
# Copyright (C) 2018 Perl-Services.de, http://perl-services.de
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
package Kernel::System::PostMaster::Filter::ReAssign;
@reneeb
reneeb / ACL.yml
Last active February 16, 2023 07:03
Znuny Adminschulung
---
- ChangeBy: root@localhost
ChangeTime: 2019-01-07 10:42:59
Comment: ACL Reference.
ConfigMatch:
Properties:
# Match properties (current values from the form).
CustomerUser:
UserLogin:
- some login
# --
# Copyright (C) 2018 Perl-Services.de, http://perl-services.de
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
package Kernel::System::TicketOverview::Hooks::Age;
#!/usr/bin/perl
use v5.10;
use strict;
use warnings;
use lib qw(/opt/otrs /opt/otrs/Kernel/cpan-lib);
use Kernel::Config::Files::ZZZAAuto;
We can't make this file beautiful and searchable because it's too large.
uuid,kreis_name,kreis_schluessel,gemeindeverband_name,gemeindeverband_schluessel,gemeinde_name,gemeinde_schluessel,gemeindeteil_name,gemeindeteil_schluessel,strasse_name,strasse_schluessel,hausnummer,hausnummer_zusatz,postleitzahl,adresse,vergabedatum
e5838dba-3f3c-11e5-89b2-0050569b7e95,Rostock,13003,"Rostock, Hanse- und Universitätsstadt",130030000,"Rostock, Hanse- und Universitätsstadt",130030000000,Brinckmansdorf,0020,Alte Dorfstr.,00040,2,a,18146,Alte Dorfstr. 2a,2013-10-01
e583908a-3f3c-11e5-89b3-0050569b7e95,Rostock,13003,"Rostock, Hanse- und Universitätsstadt",130030000,"Rostock, Hanse- und Universitätsstadt",130030000000,Brinckmansdorf,0020,Alte Dorfstr.,00040,2,b,18146,Alte Dorfstr. 2b,2013-10-01
e5839666-3f3c-11e5-89b5-0050569b7e95,Rostock,13003,"Rostock, Hanse- und Universitätsstadt",130030000,"Rostock, Hanse- und Universitätsstadt",130030000000,Brinckmansdorf,0020,An der Kiesgrube,00050,1,a,18146,An der Kiesgrube 1a,1999-07-08
e583c104-3f3c-11e5-89c4-0050569b7e95,Rostock,13003,"Rostock, Hanse- un
@reneeb
reneeb / aaa
Last active March 23, 2018 15:39
./mini_crm
+- docs
| - mini_crm.mwb
+- script
- create_db.pl
- mini_crm.pl
package Kernel::System::JIRAMapping;
use strict;
use warnings;
our @ObjectDependencies = qw(
Kernel::System::Time
);
sub Today {
# --
# Copyright (C) 2018 Perl-Services.de
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
package Kernel::Output::HTML::Layout::RichText;