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
#!/bin/bash | |
# This script is used for create virtual hosts on CentOs. | |
# Created by alexnogard from http://alexnogard.com | |
# Improved by mattmezza from http://you.canmakethat.com | |
# Feel free to modify it | |
# PARAMETERS | |
# | |
# $usr - User | |
# $dir - directory of web files | |
# $servn - webserver address without www. |
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
#Get php5 source: | |
apt-get source php5 | |
#Edit debian/rules | |
#add --enable-roxen-zts and/or --enable-maintainer-zts and/or --enable-pthreads to COMMON_CONFIG | |
#Install build dependencies: | |
sudo apt-get build-dep php5 | |
#From directory where package source were extracted run: |
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 | |
use PhpAmqpLib\Channel\AMQPChannel; | |
use PhpAmqpLib\Message\AMQPMessage; | |
class ExponentialBackoffHelper | |
{ | |
/** | |
* @var AMQPChannel | |
*/ | |
private $channel; |
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 | |
use PhpAmqpLib\Channel\AMQPChannel; | |
use PhpAmqpLib\Message\AMQPMessage; | |
class ExponentialBackoffHelper | |
{ | |
/** | |
* @var AMQPChannel | |
*/ | |
private $channel; |
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 App\Http\Livewire; | |
use Livewire\Component; | |
class LineChart extends Component | |
{ | |
public $data; |