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
INSERT INTO `entities` (`id`, `entity_name`, `contact_info1`, `contact_info2`, `contact_info3`, `contact_info4`, `status`) VALUES | |
(1, 'Jason', 'test', 'test', 'test', '', 'enable'), | |
(2, 'Rashid', 'a', 'a', 'a', 'a', 'disable'), | |
(3, 'Balmer', 'b', 'b', 'b', 'b', 'disable'), | |
(4, 'WH Dental Surgeons (Serangoon) Pte Ltd', '33 Seng Kang West Ave', '#03-34', 'The Seletar Mall', 'Singapore 797653', 'enable'), | |
(5, 'WH Dental Surgeons & Associates (Serangoon) Pte Ltd', '33 Seng Kang West Ave', '#03-34', 'The Seletar Mall', 'Singapore 797653', 'enable'), | |
(6, 'WH Dental Surgeons', 'Blk 198 Punggol Field', '#02-01', 'Singapore 820198', '', 'enable'), | |
(7, 'WH Dental & Associates (Punggol) Pte Ltd', 'Blk 198 Punggol Field', '#02-01', 'Singapore 820198', '', 'enable'), | |
(8, 'WH Dental SUrgeons Pte Ltd', '1 Hougang Street 91', '#01-16/17', 'Hougang 1', 'Singapore 538692', 'enable'), | |
(9, 'WH Dental & Associates (Hougang) Pte Ltd', '1 Hougang Street 91', '#01-16/17', 'Hougang 1', 'Singapore 538692', 'enable'); |
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
APP_ENV=local | |
APP_DEBUG=true | |
APP_KEY=aXe6eF4kJy4reKVB9c6dRu2MVJM9kTeN | |
DB_HOST=localhost | |
DB_DATABASE=carpool | |
DB_USERNAME=root | |
DB_PASSWORD= | |
CACHE_DRIVER=file |
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
<VirtualHost tauriel.local:80> | |
ServerName tauriel.local | |
DocumentRoot "/Applications/xampp/htdocs/tauriel/public" | |
<Directory "/Applications/xampp/htdocs/tauriel/public"> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Require all granted | |
</Directory> | |
</VirtualHost> |
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
{ | |
current_server_time: 1443289612, | |
device_status: { | |
battery: -23, | |
device_events: { | |
moving: 1443279100 | |
}, | |
fw_version: "0.1", | |
received_at: 1443289375, | |
type_of_device: "wifi,gsm,gps" |
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
{ | |
"Response": { | |
"MetaInfo": { | |
"Timestamp": "2015-04-27T18:05:45.856Z", | |
"AdditionalData": [ | |
{ | |
"value": "2015-04-27T18:05:00.040+0000", | |
"key": "CurrentTrafficLastUpdate" | |
}, | |
{ |
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
test | |
s | |
s | |
sd | |
s | |
d | |
s |
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
<?php | |
require 'vendor/autoload.php'; | |
$app = new \Slim\Slim(array( | |
'debug' => true | |
)); | |
$app->add(new Category()); | |
// Add Category |
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
class A | |
{ | |
function __construct(B $b) | |
{ | |
} | |
} | |
class B |
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
<?php | |
function convertTime($date, $convert_from, $convert_to) | |
{ | |
$current_time_zone = $date; | |
if(!empty($date)) | |
{ | |
if(!empty($convert_to)) | |
{ | |
$dt_obj = new \DateTime($date." ".$convert_from); |