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 stop() | |
if circlespawner ~= nil then | |
timer.cancel(spawnCircle) | |
circlespawner = nil | |
end | |
end | |
function start() | |
stop() | |
circlespawner = timer.performWithDelay(1000, spawnCircle,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
Remote Address:127.0.0.1:8000 | |
Request URL:http://localhost:8000/workoutapi/get_token | |
Request Method:GET | |
Status Code:200 OK | |
Request Headersview source | |
Accept:*/* | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8,es;q=0.6 | |
Cache-Control:no-cache | |
Connection:keep-alive |
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
Remote Address:127.0.0.1:8000 | |
Request URL:http://localhost:8000/workoutapi/login_user | |
Request Method:OPTIONS | |
Status Code:200 OK | |
Request Headersview source | |
Accept:*/* | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8,es;q=0.6 | |
Access-Control-Request-Headers:x-csrftoken, content-type | |
Access-Control-Request-Method:POST |
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
Remote Address:127.0.0.1:8000 | |
Request URL:http://localhost:8000/workoutapi/login_user | |
Request Method:POST | |
Status Code:403 FORBIDDEN | |
Request Headersview source | |
Accept:*/* | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8,es;q=0.6 | |
Cache-Control:no-cache | |
Connection:keep-alive |
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
List myList = new List(); | |
Stream myStream = new Stream.fromIterable(myList); | |
StreamController controller = new StreamController(); | |
controller.stream.listen((_) | |
{ | |
print("stream listen, data: $_"); | |
}); | |
controller.addStream(myStream) | |
.then((_) |
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
List myList = new List(); | |
Stream myStream = new Stream.fromIterable(myList); | |
StreamController controller = new StreamController.broadcast(); | |
controller.addStream(myStream) | |
.then((_) | |
{ | |
print("ready"); | |
myList.add("sup"); | |
}) |
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
List myList = new List(); | |
StreamController controller = new StreamController(); | |
controller.stream.listen((_) | |
{ | |
print("data: $_"); | |
}); | |
controller.add("sup"); |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
jshint: { | |
all: ["Gruntfile.js"] | |
}, | |
jscs: { | |
src: "*.js", |
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
angular.module('logging', ['ngResource']) | |
.factory('Logger', function($log) | |
{ | |
var Logger = { | |
enabled: true, | |
_consoleObject: $log, | |
_console: function(type, first, second) | |
{ |
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
// Why? For production level stack traces for a variety of devices. | |
factory("StacktraceService", | |
function($window) | |
{ | |
// [jwarden 2014] NOTE: She's a global method based on stacktrace.js, but if we change her, | |
// we can just change the method. | |
return({ | |
printStackTrace: printStackTrace | |
}); | |
} |
OlderNewer