Skip to content

Instantly share code, notes, and snippets.

View dio's full-sized avatar
💥

Dhi Aurrahman dio

💥
  • Bandung, Indonesia
View GitHub Profile
{
"style": {
"background-color": "#eeeeee",
"padding": 0,
"border": 0
},
"contents": [
{"control" : "ImageView", "name" : "h"},
@dio
dio / geo.cpp
Created August 2, 2011 06:52
reverse geocode qtmobility
#include "geo.h"
#include <QDebug>
#include <QList>
Geo::Geo(QObject *parent) :
QObject(parent)
{
m_provider = new QGeoServiceProvider("nokia");
m_searchManager = m_provider->searchManager();
@dio
dio / glued_captured.cpp
Created August 11, 2011 04:19
GetGlue protected resource request
void Glued::queryObject(QString query) {
oauthRequest->initRequest(KQOAuthRequest::AuthorizedRequest,QUrl("http://api.getglue.com/v2/glue/findObjects"));
oauthRequest->setHttpMethod(KQOAuthRequest::GET);
// consumer key & secret
oauthRequest->setConsumerKey("ab900d9ba1e5d3466a166a3bc1c9f285");
oauthRequest->setConsumerSecretKey("7526b9667b4daa78a805428c006263f2");
// access token & secret
@dio
dio / debug.log
Created September 7, 2011 19:35
debug log on oauth client console
Using the meego graphics system
../../../lib/SignOn/dbusconnection.cpp 41 AutoDBusConnection
../../../lib/SignOn/dbusconnection.cpp 80 sessionBus DBus Connection Address: 0xaec8d93c
DBus Connection Name: "signon-sync-session-bus-0"
DBus is Connected: true
DBus Connection ID: ":1.127"
../../../lib/SignOn/identityimpl.cpp 106 updateState Updating state: PendingRegistration
../../../lib/SignOn/authsessionimpl.cpp 180 initInterface
../../../lib/SignOn/authsessionimpl.cpp 282 process sending to queue
../../../lib/SignOn/identityimpl.cpp 106 updateState Updating state: Ready
@dio
dio / gist:1228167
Created September 20, 2011 02:27
Web Developer (front-end)
Web Developer (front-end)
Position Description:
About the team
Our team is responsible for creating the next generation Nokia Store. This includes building a back-end system that can handle many million downloads per day as well as different front-ends to support desktop computer as well as Nokia devices. We aim at being a team of about 40 people, but will gradually hire to reach this number.
Your responsibilities
You will be working with a team of highly skilled engineers to build beautiful store front-ends using HTML5, CSS and jQuery. You will also be working in Photoshop/Illustrator. Basic PHP knowledge is needed.
@dio
dio / gist:1253716
Created September 30, 2011 13:18
Crash log
Process: Y [1380]
Path: /Users/dio/Develop/lab/apps/experiments/Y-build-simulator-Remote_Compiler_Simulator_Release/Y.app/Contents/MacOS/Y
Identifier: com.yourcompany.Y
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: Qt Creator [802]
Date/Time: 2011-09-30 20:02:22.590 +0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@dio
dio / InstallationLog.txt
Created September 30, 2011 13:42
Installation Log Minimal (only Simulator and Creator)
*************************************Invoked:Fri Sep 30 20:36:12 2011Operations start: 196293; Operations end: 16; Resource count: 1; Data block size: 1272227081; Magic marker: 302133811; Magic cookie: 14007050384008702200; Index size: 48; End of data: 1302679145
Number of operations: 0
Unknown option: -psn_0_307275
Control script callback IntroductionPageCallback does not exist.
Designer: Attempt to add child that is not of class QWizardPage to QWizard.
Designer: Attempt to add child that is not of class QWizardPage to QWizard.
Designer: Attempt to add child that is not of class QWizardPage to QWizard.
void QInstaller::Component::setSelected(bool)on "com.nokia.ndk.tools.madde.qttools.474" is deprecated!!!
void QInstaller::Component::setSelected(bool)on "com.nokia.ndk.tools.madde.toolchains.2009q367" is deprecated!!!
void QInstaller::Component::setSelected(bool)on "com.nokia.ndk.tools.madde.application" is deprecated!!!
@dio
dio / gist:1253782
Created September 30, 2011 13:48
Crash log
Process: simtest [2349]
Path: /Users/dio/Develop/lab/apps/experiments/simtest-build-simulator-Simulator_Qt_for_GCC__Qt_SDK__Release/simtest.app/Contents/MacOS/simtest
Identifier: com.yourcompany.simtest
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: Qt Creator [2104]
Date/Time: 2011-09-30 20:40:14.295 +0700
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
@dio
dio / get.cpp
Created November 19, 2011 02:01
Wolipop
void WolipopSvc::get(const QString &url, const QString & channelName)
{
QNetworkRequest r;
QString urlWithISODate = url + "/" + QDate::currentDate().toString(Qt::ISODate) + "-%1";
r.setUrl(QUrl(urlWithISODate.arg(QTime::currentTime().hour())));
r.setAttribute(QNetworkRequest::User, QVariant::fromValue(channelName));
QNetworkReply * reply = m_netAccessMan->get(r);
@dio
dio / targets.xml
Created November 23, 2011 06:32
Available targets
<targets>
<target>
<os>maemo5</os> <d>Maemo 5</d>
<qt>4_7_0_m1_0_2</qt> <d>Qt 4.7.0 with Mobility 1.0.2</d>
<qt>4_6_2_m1_0_1</qt> <d>Qt 4.6.2 with Mobility 1.0.1</d>
</target>
<target>
<os>meego_1_2_harmattan</os> <d>MeeGo 1.2 Harmattan</d>