Skip to content

Instantly share code, notes, and snippets.

View Zenedith's full-sized avatar

Zenedith Zenedith

View GitHub Profile
#EXTM3U
#EXTINF:0,PL| Polsat HD
udp://@239.185.213.21:1234
#EXTINF:0,PL| Stars.TV
udp://@239.185.212.20:1234
#EXTINF:0,PL| TVN HD
udp://@239.185.212.51:1234
#EXTINF:0,PL| TVP 1 HD
udp://@239.185.212.13:1234
#EXTINF:0,PL| TVP 2 HD
package net.stepniak.common.server.context;
import net.stepniak.common.server.util.ServerApiAuthorizationFilterImpl;
import net.stepniak.common.server.util.ServerApiOriginFilter;
import org.glassfish.jersey.server.ServerProperties;
import org.glassfish.jersey.server.spring.SpringWebApplicationInitializer;
import org.glassfish.jersey.servlet.ServletContainer;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.request.RequestContextListener;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
@Zenedith
Zenedith / expressoSession.js
Created June 30, 2012 18:27
expresso -> mocha
var
app = require(__dirname + '/../app'),
exports.testGetSessionValid = function (beforeExit, assert) {
assert.response(app, {
url: '/api/getSession/apikey',
method: 'GET',
headers: { 'Content-Type': 'text/html; charset=utf-8' }
}, {