xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=1
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
<?php | |
/** | |
* PHP Anonymous Object | |
*/ | |
class AnObj | |
{ | |
protected $methods = array(); | |
public function __construct(array $options) |
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
<?php | |
namespace ProgrammingAreHard\ResourceBundle\Security; | |
use Symfony\Component\Security\Acl\Domain\ObjectIdentity; | |
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity; | |
use Symfony\Component\Security\Acl\Exception\AclNotFoundException; | |
use Symfony\Component\Security\Acl\Exception\NoAceFoundException; | |
use Symfony\Component\Security\Acl\Model\MutableAclProviderInterface; | |
use Symfony\Component\Security\Acl\Permission\BasicPermissionMap; |
(wherever it says url.com, use your server's domain or IP)
Login to new server as root, then add a deploy user
sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deploy
And Update the new password
Note: This ain't pretty 😅
Requirements: yarn 1
The App was created with https://github.com/electron-react-boilerplate/electron-react-boilerplate a long time ago. They require yarn and webpack.