This file has been truncated, but you can view the full file.
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
{"11542": {"lat": 40.872605, "lon": -73.628622}, "11547": {"lat": 40.83367, "lon": -73.642687}, "11545": {"lat": 40.826321, "lon": -73.589365}, "11548": {"lat": 40.812868, "lon": -73.627405}, "11549": {"lat": 40.717289, "lon": -73.602775}, "19390": {"lat": 39.836097, "lon": -75.842359}, "82443": {"lat": 43.726647, "lon": -108.47213}, "82442": {"lat": 43.879297, "lon": -107.321733}, "82441": {"lat": 44.642868, "lon": -107.769976}, "82440": {"lat": 44.719748, "lon": -108.864172}, "46135": {"lat": 39.654571, "lon": -86.893996}, "46133": {"lat": 39.595055, "lon": -85.310832}, "46131": {"lat": 39.473489, "lon": -86.043592}, "46130": {"lat": 39.672748, "lon": -85.835022}, "19973": {"lat": 38.638896, "lon": -75.615899}, "19971": {"lat": 38.686005, "lon": -75.086681}, "19970": {"lat": 38.556507, "lon": -75.100246}, "19977": {"lat": 39.298946, "lon": -75.546122}, "19975": {"lat": 38.468315, "lon": -75.166975}, "73622": {"lat": 35.386159, "lon": -98.996649}, "19979": {"lat": 39.048818, "lon": -75.572566}, "16701": {"la |
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
from mainsite.celeryapp import app | |
class SimpleTask(LockedTask): | |
task_key = "simple_task" | |
def run(self): | |
return "hello world" | |
simple_task = SimpleTask.as_task(app) | |
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
{'@context': 'https://w3id.org/openbadges/v2', | |
u'badge': u'https://api.review.badgr.io/public/badges/generic-badge-1', | |
u'id': u'https://api.review.badgr.io/public/assertions/349d8c45-bee4-4ee2-b586-e01e56be16a8', | |
u'image': u'https://api.review.badgr.io/public/assertions/349d8c45-bee4-4ee2-b586-e01e56be16a8/image', | |
u'issuedOn': u'2017-05-31T13:34:04.443053+00:00', | |
u'recipient': {u'hashed': True, | |
u'identity': u'sha256$f5b31af06f04674cdcf496cea3f332ed34c441443c831dee931dcb90507880d3', | |
u'salt': u'f0258a9d-39b5-4781-8e3a-e05e380af72e', | |
u'type': u'email'}, | |
u'sec:revoked': {'@value': False, u'type': u'xsd:dateTime'}, |
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
{ | |
"issuedOn": "2015-11-02T15:44:30.976656", | |
"uid": "0a0f903c-6a5f-4840-86c7-36b951bfc5fb", | |
"verify": { | |
"url": "https://badgr.io/public/assertions/0a0f903c-6a5f-4840-86c7-36b951bfc5fb", | |
"type": "hosted" | |
}, | |
"image": "https://badgr.io/public/assertions/0a0f903c-6a5f-4840-86c7-36b951bfc5fb/image", | |
"recipient": { | |
"type": "email", |
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
val (electronicItemsGrade, manualItemsGrade) = gradesFromTake(activityTake) | |
def aggregateGrades(grades: Iterable[Grade]):Grade = { | |
val (scaledScore, possibleScore) = grades.foldLeft(0d,0d)((a,b) => { | |
(a._1 + b.getScaledScore, a._2 + b.getPossibleScore) | |
}) | |
new Grade(scaledScore, possibleScore, 0d, false) | |
} | |
def gradesFromTake(take:ActivityTake) : (Grade, Grade) = { |
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 <Foundation/Foundation.h> | |
#define kReferenceNoteNumber 69 | |
#define kReferenceNoteFrequency 440 | |
#define kNotesPerOctave 12 | |
@interface MidiParser : NSObject | |
{ | |
id delegate; | |
} |
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
# brand: Philips Universal Code:KISS 1524 | |
# model no. of remote control: | |
# devices being controlled by this remote: | |
# | |
begin remote | |
name PhilipsUniversal | |
bits 16 | |
flags SPACE_ENC|CONST_LENGTH |
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
E/AndroidRuntime(25383): FATAL EXCEPTION: main | |
E/AndroidRuntime(25383): java.lang.ArithmeticException: divide by zero | |
E/AndroidRuntime(25383): at org.quuux.eyecandy.BurnsView$MovieHolder.draw(BurnsView.java:178) | |
E/AndroidRuntime(25383): at org.quuux.eyecandy.BurnsView$ImageHolder.onDraw(BurnsView.java:138) | |
E/AndroidRuntime(25383): at org.quuux.eyecandy.BurnsView.onDraw(BurnsView.java:366) | |
E/AndroidRuntime(25383): at android.view.View.draw(View.java:13707) | |
E/AndroidRuntime(25383): at android.view.View.getDisplayList(View.java:12645) | |
E/AndroidRuntime(25383): at android.view.View.getHardwareLayerDisplayList(View.java:12674) | |
E/AndroidRuntime(25383): at android.view.View.getHardwareLayer(View.java:12401) | |
E/AndroidRuntime(25383): at android.view.View.getDisplayList(View.java:12614) |
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
select "originalid","user","date","start","duration","project","activity","ticket","note" | |
union all | |
select | |
concat(u_id,'--',al_timestamp) as "originalid", | |
u_login, | |
al_date as "date", | |
al_from as "start", | |
al_duration as "duration", | |
p_name as "project", |
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
switch (frame) { | |
case 0: | |
t_frame = 1; | |
break; | |
case 15: | |
t_frame = 2; | |
break; | |
case 17: | |
t_frame = 3; | |
break; |
NewerOlder