This file contains hidden or 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 urllib | |
import os | |
dirlist = ['dsintro', 'socketbasedds', 'remotecalls','distributedobjects', 'distributedservices1', 'distributedservices2', 'security1', 'components', 'systemmanagement', 'designissues', 'webservices', 'peertopeer', 'soa', ] | |
for dir in dirlist: | |
i=1 | |
for i in range(1,100): | |
try: | |
print '** Processing : ' + dir + ' Slide#: ' + str(i) |
This file contains hidden or 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 os, re | |
from AmiTree import Container | |
from PlugIn import PlugIn | |
class GetXML(PlugIn): | |
def __init__(self, token, configFile): | |
PlugIn.__init__(self) | |
self.architecture = "all" |
This file contains hidden or 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
# basic example of how to use avrBridgePy. | |
# once you have a reference to the wrapped library, | |
# you can use the API defined in avrBridgeC.h | |
# | |
# this example blinks an led on portD - pin0 | |
import time | |
import avrBridgePy as avrBridgePy | |
#get a wrapper instance |
This file contains hidden or 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://app.boxee.tv/chkupd/* |
This file contains hidden or 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)getPixelBuffer:(CVPixelBufferRef *)pbuf { | |
@synchronized (self) { | |
if(!_pFrame || !_pFrame->data[0]) | |
return; | |
NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys: | |
// [NSNumber numberWithBool:YES], kCVPixelBufferCGImageCompatibilityKey, | |
// [NSNumber numberWithBool:YES], kCVPixelBufferCGBitmapContextCompatibilityKey, | |
@(_pFrame->linesize[0]), kCVPixelBufferBytesPerRowAlignmentKey, |