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"
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;
};
This file has been truncated, but you can view the full file.
0:00:00.000028278 55831 0x1492200 INFO GST_INIT gst.c:499:init_pre: Initializing GStreamer Core Library version 1.4.3
0:00:00.000063035 55831 0x1492200 INFO GST_INIT gst.c:500:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000069790 55831 0x1492200 INFO GST_INIT gst.c:511:init_pre: Linux ubuntu 3.16.0-23-generic #30-Ubuntu SMP Thu Oct 16 13:17:16 UTC 2014 x86_64
0:00:00.000118343 55831 0x1492200 DEBUG GST_MEMORY gstallocator.c:585:_priv_gst_allocator_initialize: memory alignment: 7
0:00:00.000172237 55831 0x1492200 DEBUG GST_MEMORY gstallocator.c:562:gst_allocator_sysmem_init: init allocator 0x1496840
0:00:00.000190376 55831 0x1492200 DEBUG GST_MEMORY gstallocator.c:210:gst_allocator_register: registering allocator 0x1496840 with name "SystemMemory"
0:00:00.000233088 55831 0x1492200 INFO GST_INIT gstmessage.c:119:_priv_gst_message_initialize: init messages
package trickpit.model;
import com.sun.jna.Memory;
import javafx.application.Platform;
import uk.co.caprica.vlcj.component.DirectMediaPlayerComponent;
import uk.co.caprica.vlcj.player.direct.BufferFormat;
import uk.co.caprica.vlcj.player.direct.BufferFormatCallback;
import uk.co.caprica.vlcj.player.direct.DirectMediaPlayer;
import uk.co.caprica.vlcj.player.direct.format.RV32BufferFormat;
{
"_embedded": {
"items": [
{
"_id": "248",
"_index": "dealfinder",
"_score": 0.07190587,
"_source": {
"category": 85,
"company": 21,
{
"query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"terms": {
"category": [
"85"
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;