http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/Vagrant-1.2.3.dmg http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/Vagrant_1.2.3.msi http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_i686.deb http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_i686.rpm http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_x86_64.deb http://files.vagrantup.com/packages/95d308caaecd139b8f62e41e7add0ec3f8ae3bd1/vagrant_1.2.3_x86_64.rpm
<?php | |
abstract class BaseModelManager { | |
protected $em; | |
protected $class; | |
protected $repository; | |
protected $container; | |
/** | |
* Constructor. |
// vendor/sonata-project/admin-bundle/Sonata/AdminBundle/Admin/Admin.php | |
/** | |
* @return | |
*/ | |
public function getDataSourceIterator() | |
{ | |
$datagrid = $this->getDatagrid(); | |
$datagrid->buildPager(); |
.video-container { | |
position: relative; | |
padding-bottom: 56.25%; /*16:9*/ | |
padding-top: 30px; | |
height: 0; | |
overflow: hidden; | |
} | |
.video-container iframe, | |
.video-container object, |
It seems that it does not matter what timezone is on the server as long as you have the time set right for the current timezone, know the timezone of the datetime columns that you store, and are aware of the issues with daylight savings time.
On the other hand if you have control of the timezones of the servers you work with then you can have everything set to UTC internally and never worry about timezones and DST.
Here are some notes I collected of how to work with timezones as a form of cheatsheet for myself and others which might influence what timezone the person will choose for his/her server and how he/she will store date and time.
In the footer of your theme (something like footer.ejs
) you should add Disqus script:
<% if (config.disqus_shortname){ %>
<script>
var disqus_shortname = '<%= config.disqus_shortname %>';
<% if (page.permalink){ %>
var disqus_url = '<%= config.url +"/"+ page.path %>';
<% } %>
(function(){
#!/bin/sh | |
# Install node and npm via nvm - https://github.com/nvm-sh/nvm | |
# Run this script like - bash script-name.sh | |
# Define versions | |
INSTALL_NODE_VER=22 | |
INSTALL_NVM_VER=0.40.1 |
<?php | |
namespace App\Controller\Website; | |
use Sulu\Bundle\WebsiteBundle\Controller\WebsiteController; | |
use Sulu\Component\Content\Compat\StructureInterface; | |
/** | |
* Controller which needs a custom service to add data to render twig template. | |
*/ |
Hello guys,
For these dual-booting Ubuntu 16.04 with an alternate operating system in UEFI boot mode, it may often be necessary to use a third-party boot manager such as rEFInd, as it's significantly superior to grub2's on UEFI-capable systems.
This write-up assumes that:
(a). The user is running a current Ubuntu 16.04LTS operating system installation (preferably on a dual-boot system)
<?php | |
namespace AppBundle\Documentation; | |
use Symfony\Component\Serializer\Normalizer\NormalizerInterface; | |
/** | |
* Class DocumentationNormalizer | |
* @package AppBundle\Documentation |