Skip to content

Instantly share code, notes, and snippets.

View ggarber's full-sized avatar

Gustavo Garcia ggarber

View GitHub Profile
package com.tokbox.anvil.data.entities;
import java.io.IOException;
import java.util.Date;
import java.util.Map;
import javax.validation.constraints.NotNull;
import org.apache.log4j.Logger;
import org.codehaus.jackson.annotate.JsonProperty;
package com.tokbox.anvil.data.entities;
import java.io.IOException;
import java.util.Date;
import java.util.Map;
import javax.validation.constraints.NotNull;
import org.apache.log4j.Logger;
import org.codehaus.jackson.annotate.JsonProperty;
import webapp2
from uuid import uuid4
from google.appengine.api import urlfetch
# Replace with your slackbot url
bot_url = "https://COMPANY.slack.com/services/hooks/slackbot?token=TOKEN&channel=%23"
class MainPage(webapp2.RequestHandler):
def post(self):
room = str(uuid4())
@ggarber
ggarber / gist:969353cd878d5e87d041
Created March 9, 2015 07:24
JQuerized Assimilator DSL v.0.1 (but works :))
var test = require('./helpers');
// Single endpoint:
// Connect and check the properties of the connection
test(function($) {
$(0).connect().then(function(connection) {
$.assert.isNotNull(connection.connectionId);
connection.pass();
});
2015-02-06 15:55:20.201 Hello-World[617:144996]
2015-02-06 15:55:20.201 Hello-World[617:144996] ------------------------------------------------
2015-02-06 15:55:20.202 Hello-World[617:144996] OpenTok iOS Library, Rev.2
2015-02-06 15:55:20.202 Hello-World[617:144996] This build was born on Jan 30 2015 at 20:57:04
2015-02-06 15:55:20.209 Hello-World[617:144996] Version: v2.4.0.43DEE4C4-ios
2015-02-06 15:55:20.209 Hello-World[617:144996] libOpenTokObjC:fd2cf5fba5e867eac28a7e24bb08c491180ebd73
2015-02-06 15:55:20.209 Hello-World[617:144996] libOTKit:e84610fa275c5e4d160427e77279c3b41e406128
2015-02-06 15:55:20.209 Hello-World[617:144996] WebRTC:8223
2015-02-06 15:55:20.210 Hello-World[617:144996] Copyright 2014 TokBox, Inc.
2015-02-06 15:55:20.210 Hello-World[617:144996] Licensed under the Apache License, Version 2.0
This file has been truncated, but you can view the full file.
2015-02-06 15:04:41.985 Hello-World[597:139819]
2015-02-06 15:04:41.986 Hello-World[597:139819] ------------------------------------------------
2015-02-06 15:04:41.986 Hello-World[597:139819] OpenTok iOS Library, Rev.2
2015-02-06 15:04:41.986 Hello-World[597:139819] This build was born on Jan 30 2015 at 20:57:04
2015-02-06 15:04:41.994 Hello-World[597:139819] Version: v2.4.0.43DEE4C4-ios
2015-02-06 15:04:41.994 Hello-World[597:139819] libOpenTokObjC:fd2cf5fba5e867eac28a7e24bb08c491180ebd73
2015-02-06 15:04:41.995 Hello-World[597:139819] libOTKit:e84610fa275c5e4d160427e77279c3b41e406128
2015-02-06 15:04:41.995 Hello-World[597:139819] WebRTC:8223
2015-02-06 15:04:41.995 Hello-World[597:139819] Copyright 2014 TokBox, Inc.
2015-02-06 15:04:41.995 Hello-World[597:139819] Licensed under the Apache License, Version 2.0
This file has been truncated, but you can view the full file.
2015-02-06 14:58:53.580 Hello-World[579:138255]
2015-02-06 14:58:53.581 Hello-World[579:138255] ------------------------------------------------
2015-02-06 14:58:53.581 Hello-World[579:138255] OpenTok iOS Library, Rev.2
2015-02-06 14:58:53.581 Hello-World[579:138255] This build was born on Jan 30 2015 at 20:57:04
2015-02-06 14:58:53.587 Hello-World[579:138255] Version: v2.4.0.43DEE4C4-ios
2015-02-06 14:58:53.588 Hello-World[579:138255] libOpenTokObjC:fd2cf5fba5e867eac28a7e24bb08c491180ebd73
2015-02-06 14:58:53.588 Hello-World[579:138255] libOTKit:e84610fa275c5e4d160427e77279c3b41e406128
2015-02-06 14:58:53.588 Hello-World[579:138255] WebRTC:8223
2015-02-06 14:58:53.588 Hello-World[579:138255] Copyright 2014 TokBox, Inc.
2015-02-06 14:58:53.588 Hello-World[579:138255] Licensed under the Apache License, Version 2.0

New APIs available for Dashboard

GET /v2/partner/{:partnerId}

OUT { Partner Object }

#!/bin/sh
### BEGIN INIT INFO
# Provides: myservice
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Put a short description of the service here
# Description: Put a long description of the service here
### Epic
https://jira.tokbox.com/browse/OPENTOK-17765
### Code Freeze:
Dec 1st (3 weeks of sprint)
### HTTP EndPoints in testing environment:
https://jira.tokbox.com/browse/OPENTOK-18462
### IceServers in testing environment: