Skip to content

Instantly share code, notes, and snippets.

View tru's full-sized avatar

Tobias Hieta tru

View GitHub Profile
http POST http://10.0.42.200:32400/playQueues?next=0&type=video&uri=library%3A%2F%2F0fbefa7a-2664-4b93-8f5f-4d71c9742ed4%2Fdirectory%2F%252Flibrary%252Fmetadata%252F697%252FallLeaves&type=video&shuffle=0&window=50
#include "mainwindow.h"
#include <QWebEngineView>
#include <QGLWidget>
#include <QStackedWidget>
#include <QShortcut>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
setMinimumSize(1280, 720);
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libQt5Widgets_debug.5.dylib 0x0000000100c9fbfc QObject::parent() const + 28
1 libQt5Widgets_debug.5.dylib 0x0000000100c9f515 QWidget::parentWidget() const + 21
2 libQt5Widgets_debug.5.dylib 0x0000000100cf3222 QLayout::addChildWidget(QWidget*) + 50
3 libQt5Widgets_debug.5.dylib 0x0000000100ea1676 QMainWindowLayout::setCentralWidget(QWidget*) + 54
4 libQt5Widgets_debug.5.dylib 0x0000000100e987a7 QMainWindow::setCentralWidget(QWidget*) + 151
5 se.hieta.WebOpenGLTest 0x0000000100005b98 MainWindow::switchView() + 168 (mainwindow.cpp:30)
6 se.hieta.WebOpenGLTest 0x00000001000060a4 MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 68 (moc_mainwindow.cpp:68)
7 libQt5Core_debug.5.dylib 0x0000000103962cff QMetaObject::activate(QObject*, int, int, void**) + 2943
8 libQt5Core_debug.5.dylib 0x000000010396216d QMetaObject::activate(QObject*, QMetaObject const*, int,
#include "mainwindow.h"
#include <QWebEngineView>
#include <QGLWidget>
#include <QStackedWidget>
#include <QShortcut>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
setMinimumSize(1280, 720);
@tru
tru / -
Created March 16, 2015 12:43
commit c375d8c060e7518fd1c840d80dfa03dbcc888f9b
Author: Tobias Hieta <tobias@plexapp.com>
Date: Mon Mar 16 09:52:21 2015 +0100
Disable VIA CPU Assembler in AES code.
Was causing a lot of crashes on non-VIA CPU’s. Fixes #1527
diff --git a/plex/Third-Party/aes/aesopt.h b/plex/Third-Party/aes/aesopt.h
index 6ad9ca1..aed1c3f 100755
http://download.jetbrains.com/python/pycharm-professional-141.583-jdk-bundled.dmg
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 34722
Connection: keep-alive
Content-Encoding: ANSI_X3.4-1968
Content-Length: 1261
Content-Type: binary/octet-stream
Date: Wed, 08 Apr 2015 23:05:49 GMT
ETag: "9334fc3b25971325796a32215ed0e5cc"
#!/usr/bin/env python
import requests
from requests.auth import HTTPBasicAuth
import sys
import json
project_map = {
"plex-home-theater": ("plexinc/plex-home-theater", 2)
}
22:30 firefly:~/clang-bug $ make
clang -c -o clangbug.o clangbug.m
clang -c -fobjc-arc -o main.o main.m
0 clang 0x0000000106bdd312 _ZL15PrintStackTracePv + 34
1 clang 0x0000000106bdd7e9 _ZL13SignalHandleri + 633
2 libsystem_c.dylib 0x00007fff8c190cfa _sigtramp + 26
3 libsystem_c.dylib 0x0000000000000010 _sigtramp + 18446603338165711664
4 clang 0x00000001064464e0 clang::CodeGen::CodeGenFunction::EmitARCStoreStrong(clang::BinaryOperator const*, bool) + 448
5 clang 0x00000001064394b4 clang::StmtVisitorBase<clang::make_ptr, (anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) + 3220
6 clang 0x0000000105f122f8 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 72
@tru
tru / Untitled.txt
Created October 25, 2012 09:59
Untitled
<Part container="flv" key="/:/plugins/com.plexapp.system/serviceFunction/url/com.plexapp.plugins.youtube/YouTube/PlayVideo?args=Y2VyZWFsMQoxCnR1cGxlCjAKcjAK&amp;kwargs=Y2VyZWFsMQoxCmRpY3QKMgpzNDIKaHR0cDovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PTVFakctMVUzd3FBczMKdXJsczgKU3RhbmRhcmRzMTEKZGVmYXVsdF9mbXRyMAo_&amp;indirect=1&amp;mediaInfo=%7B%22audio_channels%22%3A%20null%2C%20%22protocol%22%3A%20null%2C%20%22optimized_for_streaming%22%3A%20false%2C%20%22video_frame_rate%22%3A%20null%2C%20%22duration%22%3A%20null%2C%20%22height%22%3A%20null%2C%20%22width%22%3A%20null%2C%20%22container%22%3A%20%22flv%22%2C%20%22audio_codec%22%3A%20%22aac%22%2C%20%22aspect_ratio%22%3A%20null%2C%20%22video_codec%22%3A%20%22h264%22%2C%20%22video_resolution%22%3A%20%22sd%22%2C%20%22bitrate%22%3A%20null%7D" file="" optimizedForStreaming="0">
[program:socorro-processor]
user = socorro
command = /usr/local/socorro/application/scripts/startProcessor.py
environment = PYTHONPATH="/usr/local/socorro/application:/usr/local/socorro/thirdparty:/usr/local/socorro/scripts"
autorestart = true
stderr_logfile = /var/log/socorro/processor-stderr.log
stdout_logfile = /var/log/socorro/processor-stdout.log