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 PostModel = Y.Base.create('postModel', Y.Model, [], { | |
sync: modelSync, | |
idAttribute: '_id', | |
profilePic: function () { | |
return baseURL + 'in/profile_pic/' + this.get('author_id'); | |
}, | |
initializer: function (config) { | |
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
def init(port): | |
import zigbee; | |
zigbee.init(port); | |
def forward(): | |
import zigbee; | |
zigbee.sendString("a"); | |
def stop(): | |
import zigbee; | |
zigbee.sendString(" "); | |
def backward(): |
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
# Author: Akshar Prabhu Desai | |
# Date: 20/04/2011 | |
# Objective: To interface FB5 with joystick | |
# | |
import pygame | |
import inspect | |
import math | |
import time | |
exec(open("functionList.py").read()); |
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
# Author: Akshar Prabhu Desai | |
# Date: 20/04/2011 | |
# Objective: To interface FB5 with joystick | |
# | |
import pygame | |
import inspect | |
import math | |
import time | |
exec(open("functionList.py").read()); |
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
# | |
# Copyright (C) 2009-2011 The Android-x86 Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
function drawVisualization() { | |
// Create and populate the data table. | |
var data = new google.visualization.DataTable(); | |
var raw_data = [['Latency',200093,200602,201115,201686,202209,202712,203231,203741,204260,204811,205312,205830,206339,206842,207356,207857,208371,208886,209403]]; | |
var years = []; | |
for(var i = 1; i <raw_data[0].length;i++) | |
{ | |
years.push(i); | |
} | |
NewerOlder