This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>jsonp test</title> | |
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$('#select_link').click(function(e){ | |
e.preventDefault(); | |
console.log('select_link clicked'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>jsonp test</title> | |
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$('#select_link').click(function(e){ | |
e.preventDefault(); | |
console.log('select_link clicked'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
void Sendok::share(QString title, QString url) | |
{ | |
#ifndef Q_WS_SIMULATOR | |
MDataUri dataUri; | |
dataUri.setMimeType("text/x-url"); | |
dataUri.setTextData(url); | |
dataUri.setAttribute("title", title); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Date: Thu, 12 Jan 2012 22:15:22 GMT | |
Server: Apache/2.2.3 (CentOS) | |
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP08 (build: SVNTag=JBPAPP_4_3_0_GA_CP08 date=201004202136)/JBossWeb-2.0 | |
X-GTA-CBS-RESPONSE-REFERENCE: REF_D_013_287-1326406523910 | |
X-GTA-STATUS-SUBREQUEST: OK | |
X-GTA-STATUS-GLOBAL: OK | |
Content-Language: en-US | |
X-GTA-CORRELATION-ID: t=132640652289868141 | |
Connection: close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<qt>4_7_4</qt> <d>Qt 4.7.4</d> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var params = { | |
os: 'harmattan', | |
qt: '4_7_4', | |
token: '', | |
projectTempId: 'test', | |
app : { | |
name : "Campur Sari", | |
version: "0.0.1", | |
color : ['green', '#d1d2d3', '#f0f1f3'], | |
feedViewType : "List", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TODO | |
1. Manage secure connection (through Google's AppSpot (https://appengine.google.com)) | |
- (current) scenario | |
- By using the standard frameworks and provided api (http://code.google.com/appengine/docs/python/apis.html) | |
- redirecting request from web app (PHPServer) to application server (NodeServer) | |
- manage images (tentative) | |
- refs | |
- http://code.google.com/appengine/docs/python/gettingstartedpython27/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Login Process | |
1. Open IndexPage [Browser] <- [http] <- [PHPServer] | |
2. Serve 'login web widget' (Facebook, Twitter) [Browser] <- [http] <- [PHPServer][http] | |
3. Send user credentials (username, password) to service (Facebook, Twitter) [Browser] -> [https] -> [ServicesServer] | |
4. Receive valid access token [PHPServer] <- [https] <- [ServiceServer] | |
5. Send valid user access token (Facebook: access_token, Twitter: key/secret token pair) [PHPServer] -> [http] -> [LynxAppServer] | |
- params: | |
type : ServiceServer's name, i.e. facebook, twitter | |
token : User's valid access token from ServiceServer | |
6. Receive valid LynxUserToken [PHPServer] <- [http] <- [LynxAppServer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 1.1 | |
import QtWebKit 1.0 | |
import com.nokia.meego 1.0 | |
Page { | |
id: root | |
tools: commonTools | |
WebView { | |
javaScriptWindowObjects: QtObject { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -is -d 'params={"session": "123", "token":"HE7qkv8lGaK2Mht684m79bJkT3", "action":"joborders", "mode" : "dev", "params":{"app":{"os":"harmattan", "qt": "4_7_4", "name" : "Campur Sari", "version": "0.0.1", "color":["green", "#d1d2d3","#f0f1f3"], "feedViewType": "Grid", "feeds": "Gamasutra News=http://feeds.feedburner.com/GamasutraNews, Gamasutra Feature Articles=http://feeds.feedburner.com/GamasutraFeatureArticles";}}}' "localhost:8080/send/action" |
OlderNewer