$tz_offset = 6;
$tz_name = timezone_name_from_abbr(null, $tz_offset * 3600, true);
var_dump($tz_name);
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
svn checkout <REPOSITORY-URL>
svn update
svn add --force ./*
svn commit -m '<MESSAGE>'
sudo mkdir /var/mysql
cd /var/mysql
sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
- GET /tickets - Retrieves a list of tickets
- GET /tickets/12 - Retrieves a specific ticket
- POST /tickets - Creates a new ticket
- PUT /tickets/12 - Updates ticket #12
- PATCH /tickets/12 - Partially updates ticket #12
- DELETE /tickets/12 - Deletes ticket #12
Reference http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api
sudo nohup supervisor socket.js &
sudo chmod -R gu+w storage
sudo chmod -R guo+w storage
php artisan cache:clear