Skip to content

Instantly share code, notes, and snippets.

@liangqi
liangqi / gist:5693336
Created June 2, 2013 11:16
Error when import from google reader directly with commafeed on openshift
An unexpected error occured
Can't instantiate page using constructor 'public com.commafeed.frontend.pages.GoogleImportRedirectPage()'. Might be it doesn't exist, may be it is not visible (public).
Go back to the previous page or to the home page.
@liangqi
liangqi / gist:5693340
Created June 2, 2013 11:17
Error when import the subscripts.xml which download from google reader with commafeed on openshift
JBWEB000065: HTTP Status 500 - java.lang.NullPointerException
JBWEB000309: type JBWEB000066: Exception report
JBWEB000068: message java.lang.NullPointerException
JBWEB000069: description JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.
JBWEB000070: exception
Q_INVOKABLE QJSValue get(int index) const;
QJSValue QQuickWritingSystemListModel::get(int idx) const
{
Q_D(const QQuickWritingSystemListModel);
QQmlEngine *engine = qmlContext(this)->engine();
if (idx < 0 || idx >= count())
return engine->newObject();
clang++ -c -pipe -D_REENTRANT -I/usr/local/Cellar/glib/2.36.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.36.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -g -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DPCRE_HAVE_CONFIG_H -DQT_NO_ICONV -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Users/liangqi/qt/qt5/qtbase/mkspecs/macx-clang -I/Users/liangqi/qt/qt5/qtbase/src/corelib -I../../include -I../../include/QtCore -I../../include/QtCore/5.2.0 -I../../include/QtCore/5.2.0/QtCore -Iglobal -I/Users/liangqi/qt/qt5/qtbase/src/3rdparty/pcre -I/
From 3d460625ef4003fe5e033e05bac564f013bd51d0 Mon Sep 17 00:00:00 2001
From: Liang Qi <liang.qi@digia.com>
Date: Tue, 16 Jul 2013 08:40:24 +0200
Subject: [PATCH] tmp: test code for qcocoafontdialoghelper
Change-Id: I17b8d3f6b29d109f9382f2bb9e5237a64460a459
---
src/gui/kernel/qplatformdialoghelper.cpp | 12 ++++++++++++
src/gui/kernel/qplatformdialoghelper.h | 6 ++++++
src/plugins/platforms/cocoa/qcocoafontdialoghelper.mm | 1 +
require 'formula'
class Icecream < Formula
homepage 'https://github.com/icecc/icecream'
url 'http://ftp.suse.com/pub/projects/icecream/icecc-1.0.1.tar.bz2'
sha1 'b1edce8d2385aa0caf93f731e292463bde98e8b0'
def install
system "./configure", "--disable-dependency-tracking",
"--enable-clang-wrappers",
[20498] 21:05:43: ICECREAM daemon 1.0.1 starting up (nice level 5)
[20498] 21:05:43: 8 CPU(s) online on this server
[20498] 21:05:43: allowing up to 8 active jobs
[20498] 21:05:43: not detaching
[20498] 21:05:43: entered process group
[20498] 21:05:43: ignoring localhost lo0
[20498] 21:05:43: broadcast en1 10.0.0.255
[20498] 21:05:43: Netnames:
[20498] 21:05:43: ICECREAM
[20498] 21:05:43: ignoring localhost lo0
From ed8d1074f0fe8fb51aa1e42709cf7700f2e3d8af Mon Sep 17 00:00:00 2001
From: Qt <qt@Supers-iMac-2.local>
Date: Tue, 10 Dec 2013 09:01:37 +0100
Subject: [PATCH] fullscreen window version
---
.../widgets/windowflags/controllerwindow.cpp | 26 +++++++++++++++------
.../widgets/widgets/windowflags/controllerwindow.h | 3 +++
.../widgets/widgets/windowflags/previewwindow.cpp | 27 ++++++++--------------
.../widgets/widgets/windowflags/previewwindow.h | 15 +++---------
export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"
@liangqi
liangqi / gist:8801587
Created February 4, 2014 10:53
qtbase stable on 10.9.1
+ git log 'HEAD^..HEAD' --oneline
85a2653 Enable running sql model tests in parallel
=== Timing: =================== TEST RUN COMPLETED! ============================
Total: 6 hours 26 minutes
Serial tests: 5 hours 36 minutes
Parallel tests: 49 minutes 48 seconds
Estimated time spent on insignificant tests: 25 minutes 5 seconds
Estimated time saved by -j3: 1 hour 14 minutes
=== Failures: ==================================================================