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
{ | |
"id": "Bloon", | |
"content": { | |
"default" : { | |
"description": "Default", | |
"adapter": { | |
"type": "SimpleConceptAdapter", | |
"config": { | |
"question": "foreign_word", | |
"answer": "native_word", |
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
{"description":null,"requires_image":true,"lesson_pack":"english-geography","info":null,"identifier":"lesson","requires_audio":false,"pack_type":"vocabulary","ignored":false,"requires_photo":true,"name":"US Geography","data":[{"description":"_Example sentence\nAfter the Montgomery Bus Boycott, Alabama became a center for the African-American Civil Rights Movement.\n","pounce_content":{"sentences":["After the Montgomery Bus Boycott, _ became a center for the African-American Civil Rights Movement."],"correct_answer":"Alabama","incorrect_answers":["Georgia","North Carolina","Arkansas","Mississippi"]},"landmark":"Gulf Shores","nickname":"Heart of Dixie","abbreviation":"AL","identifier":"alabama","photo_filename":"alabama.png","motto":"We dare defend our rights.","name":"Alabama","secondary_city":"Birmingham"},{"description":"_Example sentence\nThe State of Alaska accounts for 1/6 of the nation's total area.\n","pounce_content":{"sentences":["The State of _ accounts for 1/6 of the nation's total area."],"correct_ |
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
Mixin = {} | |
function Mixin.extend(obj, table) | |
local super = {} | |
for funcName, func in pairs(functionsTable) do | |
if object[funcName] then | |
super[funcName] = object[funcName] | |
object.super = super | |
end | |
object[funcName] = func |
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
-- Created by Alexey Chernikov on Feb 19, 2013 | |
require ("Mixin") | |
Group = {} | |
------------------------------------------------------------ BOUNDS LOGIC ---------------------------------------------- | |
-- Moai propagates transformations with parent-child relationships, but it does not calculate bounds based on those transformations | |
-- This extends moai to update bounds for a hierarchy of transformed scene objects | |
---------------------------------------------------------- SORT LOGIC -------------------------------------------- | |
-- Moai has support for primitive sort modes, but no general mechanism for sorting added/removed complex elements. |
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
// | |
// FDRSparklineView.m | |
// roosevelt | |
// | |
// Created by Jacob Eiting on 4/7/13. | |
// Copyright (c) 2013 Jacob Eiting. All rights reserved. | |
// | |
#import "FDRSparklineView.h" | |
#import "FDRRecording.h" |
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
-- cached, sound played based on the name for the sound effect, rather than the file name | |
SoundManager.load("dropped_bass", "assets/droppbass.ogg") | |
SoundManager.playSound("explosion") -- Sounds that aren't preloaded are loaded automatically | |
SoundManager.playMusic("dropped_bass") |
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
Incident Identifier: [TODO] | |
CrashReporter Key: [TODO] | |
Hardware Model: iPhone4,1 | |
Process: eve [9855] | |
Path: /var/mobile/Applications/9AE39034-0CB3-424E-B97B-6589D116E768/eve.app/eve | |
Identifier: com.minomonsters.eve | |
Version: 862 | |
Code Type: ARM | |
Parent Process: launchd [1] |
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() | |
{ | |
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
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 |