Skip to content

Instantly share code, notes, and snippets.

View mbrodala's full-sized avatar

Mathias Brodala mbrodala

View GitHub Profile
JsSIP:RTCSession session ended +5ms
jssip-3.2.10.js:23490 JsSIP:RTCSession close() +1ms
jssip-3.2.10.js:23490 JsSIP:RTCSession close() | closing local MediaStream +15ms
jssip-3.2.10.js:23490 JsSIP:Dialog dialog bnfdepsnn37psd16mlih0qmtjj6maj7doqunfipl deleted +32s
jssip-3.2.10.js:23490 JsSIP:Dialog dialog bnfdepsnn37psd16mlih0qmtjj6majboml6svnmo deleted +1ms
jssip-3.2.10.js:23490 JsSIP:RTCSession emit "ended" +4ms
jssip-3.2.10.js:23490 JsSIP:NonInviteServerTransaction Timer J expired for transaction z9hG4bKc8bb.64d9168a0dcde32a5998be75f424b639.0 +0ms
jssip-3.2.10.js:23490 JsSIP:InviteClientTransaction Timer M expired for transaction z9hG4bK9741144 +1s
jssip-3.2.10.js:23490 JsSIP:WebSocketInterface WebSocket wss://sip.example.org closed +1m
jssip-3.2.10.js:23490 JsSIP:WebSocketInterface WebSocket abrupt disconnection +0ms
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v5.0 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
# Direct your questions about this file to: <[email protected]>
#
# Refer to the Core CookBook at https://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
INFO global: Vagrant version: 2.2.0
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.0/gems/vagrant-2.2.0/bin/vagrant"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_LOG="debug"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.0/gems/vagrant-2.2.0/plugins/guests/coreos/plugin.rb
declare -gA runner_task_orders
runner_before() {
local task=${1}
local other_task=${2}
runner_task_orders[${task}_before]="${runner_task_orders[${task}_before]} ${other_task}"
}
runner_after() {
--- a/Classes/View/Tx_Formhandler_View_Form.php 2015-08-08 13:24:22.000000000 +0200
+++ b/Classes/View/Tx_Formhandler_View_Form.php 2016-05-27 11:34:22.711437300 +0200
@@ -526,7 +526,7 @@
}
if($this->gp['formToken']) {
$markers['###HIDDEN_FIELDS###'] .= '
- <input type="hidden" name="' . $name . '" value="' . $this->gp['formToken'] . '" />
+ <input type="hidden" name="' . $name . '" value="' . htmlspecialchars($this->gp['formToken']) . '" />
';
}
<?php
namespace Acme\MyPackage\ViewHelpers;
class BoolViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper {
/**
* @param bool|NULL $foo
* @return string
*/
public function render($foo = NULL) {
$result = 'Maybe';
@mbrodala
mbrodala / gist:3461993e9612d5ef64d0
Created February 26, 2015 10:46
Travis after_success deployasaur.us script for automated TER uploads
#!/bin/sh
if [ -n "$TRAVIS_TAG" ]; then
TAG_ANNOTATION="$(git tag -n -l $TRAVIS_TAG)"
TAG_MESSAGE="${TAG_ANNOTATION#* }"
echo;
echo "Uploading release ${TRAVIS_TAG} to TER"
composer install && \
.build/bin/upload . $TYPO3_ORG_USERNAME $TYPO3_ORG_PASSWORD "$TAG_MESSAGE"
fi
@mbrodala
mbrodala / de.locallang.xlf
Created February 24, 2015 07:29
German translations for TYPO3 extension Hairu
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" product-name="hairu">
<header/>
<body>
<trans-unit id="username">
<source>Username</source>
<target>Nutzername</target>
</trans-unit>