Skip to content

Instantly share code, notes, and snippets.

View MihailoJoksimovic's full-sized avatar

Mihailo Joksimovic MihailoJoksimovic

View GitHub Profile
<fujitsu>
<hostName>cat</hostName>
<systemName>portal2</systemName>
<systemInitials>P2</systemInitials>
<!-- 1 => newcat -->
<dbdId>2</dbdId>
<serverId>6</serverId>
<isReportingEnabled>1</isReportingEnabled> <!-- enable this only if you also specify a custom reporting DB (or use the default one if thats appropriate) -->
<isReportCartProcessingEnabled>0</isReportCartProcessingEnabled>
<materialToArticleConversion>
<!-- Maps Material Entity properties to Article Entitiy properties -->
<conversionMap>
<property>
<materialEntity>article_short_text</materialEntity>
<articleEntity>description_short</articleEntity>
</property>
<property>
<materialEntity>article_description</materialEntity>
<articleEntity>description_long</articleEntity>
#!/bin/bash
#
# mydns This starts and stops mydns.
#
# chkconfig: - 65 35
# description: A database-driven DNS server
#
# processname: /usr/sbin/mydns
# config: /etc/mydns.conf
# pidfile: /var/run/mydns.pid
Ext.define('DIG.libs.DocumentEngine', {
/*
* The parent component that has all the grids inside it.
*/
parentComponent: null,
/*
* The header panel where all the document headers will be grouped.
*/
headerPanel: null,
/*
Dear Client
At the end of last week, Hetzner technicians discovered a "backdoor" in one
of our internal monitoring systems (Nagios).
An investigation was launched immediately and showed that the administration
interface for dedicated root servers (Robot) had also been affected. Current
findings would suggest that fragments of our client database had been copied
externally.
toggleRow: function(rowIdx, record) {
var me = this,
view = me.view,
rowNode = view.getNode(rowIdx),
row = Ext.fly(rowNode, '_rowExpander'),
nextBd = row.down(me.rowBodyTrSelector, true),
isCollapsed = row.hasCls(me.rowCollapsedCls),
addOrRemoveCls = isCollapsed ? 'removeCls' : 'addCls',
rowHeight;
dig@dev:cat (develop)$ git branch
* develop
feature/EPROC-395
feature/EPROC-416-rebased
feature/EPROC-420
feature/EPROC-423
feature/EPROC-423-hotfixes
feature/EPROC-456
feature/EPROC-460
feature/EPROC-462
this.getWebuserDetailsStore().sync({
failure: function(batch, options) {
var errorCode = this.getReader().jsonData.error_code;
switch(errorCode) {
case 11: // Duplicate email
var errorMessage = Translation.EmailAlreadyExistsPleaseUseAnother;
break;
default:
var errorMessage = Translation.AnErrorHasOccured;
break;
/**
* Attach a class to a server
*
* Accepts a class name to use when handling requests. Any additional
* arguments will be passed to that class' constructor when instantiated.
*
* See {@link setObject()} to set pre-configured object instances as request handlers.
*
* @param string|object $class Class name or object instance which executes
* SOAP Requests at endpoint.
dig@dev:tmp$ php test.php
Array
(
[pusis] => 1
[samo] => 1
[da!] => 1
[u] => 1
[ides] => 1
[da] => 2
[stefane] => 2