php bin/codecept run
php bin/codecept run unit
php bin/codecept run acceptance
php bin/codecept run functional
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
zcat DATABASE_BACKUP.sql.gz | mysql -u DB_USERNAME -p DB_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
@import "https://fonts.googleapis.com/css?family=Lato:400,300,400italic,700,700italic"; | |
@import "https://fonts.googleapis.com/css?family=Roboto+Slab:700,400"; | |
#header .aui-header | |
{ | |
background-color: #343131; | |
border-bottom: 1px solid #222222; | |
} | |
#title-text a | |
{ |
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
http://blog.anorgan.com/2015/01/15/using-google-analytics-api-with-php/ |
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
var App = angular.module('App', []); |
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
$script = <<SCRIPT | |
# Set up the repository | |
echo “Update the apt package index...” | |
sudo apt-get update -y | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ |
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
from twisted.internet import defer, reactor | |
from jasmin.vendor.smpp.pdu.operations import DeliverSM | |
from jasmin.queues.configs import AmqpConfig | |
from jasmin.queues.factory import AmqpFactory | |
from jasmin.routing.jasminApi import SmppServerSystemIdConnector | |
from jasmin.routing.content import RoutedDeliverSmContent | |
from jasmin.queues.test.test_amqp import waitFor | |
@defer.inlineCallbacks | |
def connect_and_publish(pdu, dc): |
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 | |
//src/library/App/Entity/CallerPermission.php | |
namespace App\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="lock_caller_permission") | |
*/ |
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
#restart | |
sudo reboot | |
#shutdown | |
sudo poweroff | |
#copy from local to remote server | |
#scp target file user@ip-address destination | |
scp /home/migration/backup/example.txt root@1.1.1.1:/var/www/vhosts/example.com/backup |
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
sudo apt-get update | |
sudo apt-get upgrade | |
#Instruct apt to trust packages signed by rabbitmq signing key | |
wget -O - "https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc" | sudo apt-key add - | |
#Enable apt HTTPS Transport | |
sudo apt-get install apt-transport-https | |
#Add the apt repository to the source list directory |
OlderNewer