- Initializes express.js
- Initializes socket.io
- Sets up API routes
- Stores the playlist
- Determines media types within playlist
- Runs a timer to update clients with the current playback time of the video
$users = User::whereHas('roles', function ($query) { | |
$query->where('role_id', '=', 1); | |
})->get(); |
Sat Jun 08 2019 15:11:04 GMT-0600 (MDT) - Clockwise: 89 | |
Sat Jun 08 2019 15:11:11 GMT-0600 (MDT) - Counter Clockwise: 89 | |
Sat Jun 08 2019 15:11:14 GMT-0600 (MDT) - Counter Clockwise: 90 | |
Sat Jun 08 2019 15:11:16 GMT-0600 (MDT) - Counter Clockwise: 91 | |
Sat Jun 08 2019 15:11:19 GMT-0600 (MDT) - Counter Clockwise: 92 | |
Sat Jun 08 2019 15:11:21 GMT-0600 (MDT) - Counter Clockwise: 93 | |
Sat Jun 08 2019 15:12:04 GMT-0600 (MDT) - Counter Clockwise: 94 | |
Sat Jun 08 2019 15:12:06 GMT-0600 (MDT) - Counter Clockwise: 95 | |
Sat Jun 08 2019 15:12:09 GMT-0600 (MDT) - Counter Clockwise: 96 | |
Sat Jun 08 2019 15:12:11 GMT-0600 (MDT) - Counter Clockwise: 97 |
php > echo str_pad(6, 2, 0, STR_PAD_LEFT); | |
06 | |
php > echo str_pad(10, 2, 0, STR_PAD_LEFT); | |
10 | |
php > echo str_pad(12, 2, 0, STR_PAD_LEFT); | |
12 |
; Maximum size of POST data that PHP will accept. | |
; Its value may be 0 to disable the limit. It is ignored if POST data reading | |
; is disabled through enable_post_data_reading. | |
; http://php.net/post-max-size | |
post_max_size = 8M | |
; Maximum allowed size for uploaded files. | |
; http://php.net/upload-max-filesize | |
upload_max_filesize = 2M |
> var test = obj.a - obj.c; | |
undefined | |
> typeof test; | |
'number' | |
> isNaN(test); | |
true |
server { | |
listen 80; | |
server_name volunteer.apogaea.com voldb.apogaea.com voldb.apourl.co; | |
return 302 https://volunteer.apogaea.com$request_uri; | |
} | |
server { | |
listen 443 ssl; | |
server_name volunteer.apogaea.com; |
<?php | |
$columns = []; | |
$data = []; | |
foreach($exportableQuestions as $question) | |
{ | |
$columns['question_' . $question->id] = $question->question; | |
} |