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
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> headers: {"host":"104.236.94.200:5555","connection":"keep-alive","content-length":"71","cache-control":"no-cache","origin":"chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop","content-type":"application/x-www-form-urlencoded","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36","postman-token":"0a2b3c39-794a-6a5d-4354-035b65a06bac","accept":"*/*","dnt":"1","accept-encoding":"gzip, deflate","accept-language":"en-US,en;q=0.8,pt;q=0.6"} | |
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> params: {} | |
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> query: {} | |
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> body: {"firstName":"Geoff","lastName":"Gilles","userName":"geoff_gilles","password":"password"} | |
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> url: /users/ | |
Apr 20 18:25:30 faber-MEAN default: <<<SumanAlarm>>> method: POST | |
Apr 20 18:25:30 faber-MEAN d |
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
firstChunkMillis = [3604,3615,3624,3634,3645,3655,3664,3675,3684,3695,3705,3714,3724,3734,3745,3755,3764,3775,3785,3795,3805,3815,3825,3837,3844,3859,3865,3875,3885,3895,3904,3915,3926,3950,3952,4037,4038,4038,4039,4040,4040,4042,4043,4043,4044,4054,4064,4074,4085,4094,4104,4115,4125,4134,4144,4155,4165,4174,4184,4194,4205,4214,4225,4234,4245,4255,4265,4275,4284,4294,4304,4314,4325,4334,4345,4354,4364,4375,4384,4394,4404,4415,4424,4434,4444,4454,4464,4474,4484,4494,4504,4514,4524,4534,4545,4554,4564,4574,4584,4595,4605,4615,4624,4634,4646,4654,4664,4675,4684,4694,4705,4714,4724,4734,4745,4755,4765,4774,4784,4794,4804,4815,4825,4835,4845,4857,4866,4875,4885,4894,4905,4914,4925,4934,4947,4955,4965,4975,4984,4994,5004,5014,5024,5034,5044,5055,5064,5074,5084,5094,5104,5114,5125,5134,5144,5155,5164,5174,5185,5195,5205,5214,5224,5234,5244,5255,5264,5275,5286,5295,5305,5314,5326,5334,5345,5355,5365,5377,5385,5395,5405,5420,5425,5438,5446,5456,5465,5476,5484,5495,5506,5515,5524,5538,5544,5554,5566,5575,5585,5594,5604 |
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
W20141127-10:58:00.904(-6)? (STDERR) /home/alex/.meteor/packages/meteor-tool/.1.0.35.364gru++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173 | |
W20141127-10:58:00.905(-6)? (STDERR) throw(ex); | |
W20141127-10:58:00.905(-6)? (STDERR) ^ | |
W20141127-10:58:00.915(-6)? (STDERR) Error: Non-whitespace before first tag. | |
W20141127-10:58:00.916(-6)? (STDERR) at Object.Future.wait (/home/alex/.meteor/packages/meteor-tool/.1.0.35.364gru++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:323:16) | |
W20141127-10:58:00.917(-6)? (STDERR) at packages/meteor/helpers.js:118 | |
W20141127-10:58:00.917(-6)? (STDERR) at f (packages/peerlibrary:blocking/server.js:15) | |
W20141127-10:58:00.918(-6)? (STDERR) at scrape_fuel_price (server/lib/fuel_prices.coffee:6:16) | |
W20141127-10:58:00.918(-6)? (STDERR) at server/startup/startup.coffee:7:2 | |
W20141127-10:58:00.919(-6)? (STDERR) at /hom |
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
public int c_l(String word, Label label){ | |
Integer count; | |
if(label == Label.SPAM){ | |
count = spam_table.get(word); | |
} else { | |
count = ham_table(word); | |
} | |
return (count == null) ? 0 : count; | |
} |
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
#roles_custom.coffee (src/lib/roles_custom.coffee) | |
#TODO swap this function out with James's implementation or harness a proper implementation - Case 129 | |
@getGroupsForUser = (userId) -> | |
user = Meteor.users.findOne _id: userId | |
if user and user.roles | |
Object.keys user.roles | |
#checks to see if a user is the admin of user's group | |
#returns empty array if not admin of any groups, or array of strings of groups user is admin of |
NewerOlder