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
import requests | |
import json | |
from urlparse import urlparse | |
sip_domain = "SIP_DOMAIN.COM" | |
username = "USERNAME@SIP_DOMAIN.COM" | |
password = "YOUR_LYNC_PASSWORD" | |
def extractAuthURL(str): | |
start = str.find('MsRtcOAuth'); |
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 org.example | |
import akka.actor._ | |
import akka.camel.{ CamelMessage, Consumer, CamelExtension } | |
import org.apache.activemq.camel.component.ActiveMQComponent | |
class CdrLogConsumer extends Actor with Consumer { | |
def endpointUri = "activemq:FOO.BAR" | |
def receive = { |
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
let g_maxSize = 4480 | |
let fileSizes = [|1 .. 99|] | |
let optimalResults = Array.init (g_maxSize+1) (fun _ -> Array.create fileSizes.Length 0) | |
let lastStep = Array.init (g_maxSize+1) (fun _ -> Array.create fileSizes.Length 0) | |
for containerSize=0 to g_maxSize do | |
let optimalResultsContainerSize = optimalResults.[containerSize] | |
let lastStepContainerSize = lastStep.[containerSize] | |
for idx=0 to fileSizes.Length-1 do |
NewerOlder