Paste #zHwuO8ypR

void AccountKitReceiver::handleActivityResult(int receiverRequestCode, int resultCode, const QAndroidJniObject &data)
{
    qDebug() << receiverRequestCode << resultCode << data.isValid();
    
    const QString resultKey = QAndroidJniObject::getStaticObjectField<jstring>("com/facebook/accountkit/AccountKitLoginResult",
                                                                               "RESULT_KEY").toString();

Paste #nDZ4V5gWR

QAndroidIntent intent(QtAndroid::androidActivity().object(), "com.facebook.accountkit.ui.AccountKitActivity");

        QAndroidJniObject loginType
                = QAndroidJniObject::getStaticObjectField<jobject>("com/facebook/accountkit/ui/LoginType", "PHONE", "Lcom/facebook/accountkit/ui/LoginType;");
        QAndroidJniObject responseType
                = QAndroidJniObject::getStaticObjectField<jobject>("com/facebook/accountkit/ui/AccountKitActivity$ResponseType", "CODE", "Lcom/facebook/accountkit/ui/AccountKitActivity$ResponseType;");

Lua Sample

require("INC_Class.lua")

--===========================

cAnimal=setclass("Animal")


QSqlDatabase

    for (int id = 0; id < 100; ++id) {
        auto t = new QThread;
        connect(t, &QThread::started, this, [=] {
            QSqlDatabase db = QSqlDatabase::addDatabase(QStringLiteral("QMYSQL"), QString::number(id));
            db.open();
        });

Virtlyst-nginx

upstream virtlyst {
    server localhost:3000;
    keepalive 32;
}

server {

KDE Plasma - KpartView

/*
 *   Copyright 2007-2008 Aaron Seigo <aseigo@kde.org>
 *   Copyright 2010 Ryan Rix <ry@n.rix.si>
 *   Copyright 2010 Siddharth Sharma <siddharth.kde@gmail.com>
 *
 *   This program is free software; you can redistribute it and/or modify

rocket_launch.rs

// main.rs

extern crate rocket;

#[derive(Serialize, Deserialize)]
struct Message {

Test

#include <iostream>

int main() {
  std::cout << "hello\n";
  return 0;
}

Paste #k21g4ziCQ

pow:
	push   ebp
	mov    ebp,esp
	sub    esp,0x10
	mov    eax,DWORD PTR [ebp+0x8]
	mov    DWORD PTR [ebp-0x4],eax

Paste #R9qWHtW9S

main = putStrLn $ reverse "!skcuS ybuR"