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
// ========================================================================== | |
// Project: ExposureView | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureView */ | |
/** @namespace | |
My cool new framework. Describe your framework. | |
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
// ========================================================================== | |
// Project: ExposureView | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureView */ | |
/** @namespace | |
My cool new framework. Describe your framework. | |
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
// ========================================================================== | |
// Project: ExposureViewer.mainController | |
// Copyright: ©2010 My Company, Inc. | |
// ========================================================================== | |
/*globals ExposureViewer StandardViews*/ | |
/** @class | |
(Document Your Controller Here) |
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
// This is in the controller | |
formatExposureTitle: function () { | |
SC.RunLoop.begin(); | |
var value = ExposureViewer.getPath('exposureNumber.value'); | |
console.log(value); | |
console.log('formattedExposure!'); | |
this.set('formattedExposure','Exposure #' + value); | |
SC.RunLoop.end(); | |
}.observes('ExposureViewer.exposureNumber','ExposureViewer.exposureNumber.value') |
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
progressBools: SC.WellView.design({ | |
layout: { | |
top: 151, centerX: 0, height: 50, right:5, left:5 | |
}, | |
childViews: 'view1'.w(), | |
view1: SC.View.design({}) | |
}) |
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
progressBar: SC.ProgressView.design({ | |
layout: { | |
left: 5, | |
right: 5, | |
top: 30 | |
}, | |
value: 50, | |
minimum: 0, | |
maximum: 100 | |
}) |
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
// ========================================================================== | |
// Project: VariableViewer.appController | |
// Copyright: ©2009 My Company, Inc. | |
// ========================================================================== | |
/*globals VariableViewer SharedVariableEngine*/ | |
/** @class | |
(Document Your Controller Here) |
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 remove(self, uid = None): | |
"""Remove an element with UID = uid from the queue.""" | |
if (uid is None): | |
raise qManagerException("remove: Provide a UID for removal.") | |
if (not self.lockFlag): | |
the_elem = None | |
for elem in self: | |
Log.debug("found UID %s" % elem['UID']) | |
if (elem['UID'] == uid): | |
the_elem = elem |
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
if key in authed_keys and not session.data['is_admin']: | |
# FAIL | |
conn.rollback() | |
request.setResponseCode(403,"Forbidden bro!") | |
return "Forbidden bro!" |
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
varying highp vec2 v_texCoord; | |
uniform sampler2D u_YTex; | |
uniform sampler2D u_cRTex; | |
uniform sampler2D u_cBTex; | |
uniform sampler2D u_ATex; | |
void main() | |
{ | |
OlderNewer