Skip to content

Instantly share code, notes, and snippets.

@macnibblet
macnibblet / poc.go
Last active January 30, 2019 00:44
package handler
import (
"context"
"encoding/json"
"fmt"
"io"
"net/http"
"strings"
"sync"
<VirtualHost *:80>
ServerName github.office.pmg.se
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /home/gitlab/gitlab/public
<Directory /home/gitlab/gitlab/public>
AllowOverride all
# MultiViews must be turned off.
var React = require('react-native');
var {
NetInfo
} = React;
var Events = require('react-native-simple-events');
var auth;
var backendDomain;
// Generated by typings
// Source: https://raw.githubusercontent.com/interactive-solutions/ts-authentication/refactor/typings/authentication.d.ts
declare namespace interactivesolutions.authentication {
import EventManager = interactivesolutions.eventManager.EventManager;
function HttpAuthorizationInjector(authenticationStorage: AuthenticationStorage): {
request: (request: ng.IRequestConfig) => ng.IRequestConfig;
};
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 14 Jan 2014 22:10:12 GMT
Content-Type: image/jpeg
Content-Length: 79517
Content-Disposition: inline; filename="IMAG0038.jpg"
Cache-Control: public, max-age=3600, no-transform
Set-Cookie: session=; Domain=www.filepicker.io; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
Set-Cookie: session=; Domain=filepicker.io; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/
x-amz-id-2: 0FQ1ijvXZa6vC5XoUhYAiIYuoED3hs8ngELN26oj+8gUDNqc2zGRCf3I8PGmfdBG
(lldb) run test.php
There is a running process, kill it and restart?: [Y/n] y
Process 43799 launched: '/usr/local/bin/php' (x86_64)
Attach 100 listeners: time=0.000520, mem=287208
Process 43799 stopped
* thread #1: tid = 0x27a514, 0x0000000100f01a72 cyant.so`zephir_memory_restore_stack_common(zephir_globals_ptr=<unavailable>) + 258 at memory.c:232, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000100f01a72 cyant.so`zephir_memory_restore_stack_common(zephir_globals_ptr=<unavailable>) + 258 at memory.c:232
229
230 #ifndef ZEPHIR_RELEASE
231 for (i = 0; i < active_memory->pointer; ++i) {
static gboolean
gst_aravis_set_caps (GstBaseSrc *src, GstCaps *caps)
{
GstAravis* gst_aravis = GST_ARAVIS(src);
GstStructure *structure;
ArvPixelFormat pixel_format;
int height, width;
int bpp, depth;
const GValue *frame_rate;
{
"firstRoundScore": "",
"firstRoundDifficulty": "",
"secondRound:" [
{
"score": "",
"difficulty": ""
},
13:28:15.205 [New I/O worker #1] DEBUG o.a.n.NettyAtmosphereHandler - [id: 0xe577f366, /127.0.0.1:51423 => /127.0.0.1:8080] RECEIVED: DefaultHttpRequest(chunked: false) OPTIONS /operator?X-Atmosphere-Transport=close&X-Atmosphere-tracking-id=d16e7689-7364-4d94-89dc-e889b807438a&_=1373974095203 HTTP/1.1 Host: support.dev:8080 Connection: keep-alive Access-Control-Request-Method: GET Origin: http://support.dev User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36 Access-Control-Request-Headers: origin, content-type Accept: */* Referer: http://support.dev/operator/app/index.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 org.jboss.netty.channel.SimpleChannelUpstreamHandler.staticMapping: true
13:28:15.207 [New I/O worker #1] DEBUG c.c.chat.protocol.CustomerProtocol - OperatorProtocol::onStateChange GET
package com.cyant.chat.protocol;
import com.cyant.chat.CustomerEvents;
import com.cyant.chat.events.customer.InitiateEvent;
import com.cyant.chat.modal.CustomerUser;
import com.cyant.chat.modal.Organisation;
import com.cyant.chat.protocol.listener.CustomerActivity;
import com.cyant.chat.service.CustomerService;
import com.cyant.chat.service.OrganisationService;
import com.fasterxml.jackson.databind.JsonNode;