- Install librairies/bundle:
$ composer require sroze/messenger-enqueue-transport enqueue/sqs
- Enable
EnqueueAdapterBundle
bundle:
// config/bundles.php
<?php
$ composer require sroze/messenger-enqueue-transport enqueue/sqs
EnqueueAdapterBundle
bundle:// config/bundles.php
<?php
<?php | |
const STREAM_OPEN_FOR_INCLUDE = 128; | |
final class HardCoreDebugLogger | |
{ | |
public static function register(string $output = 'php://stdout') | |
{ | |
register_tick_function(function () use ($output) { | |
$bt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1); |
<?php | |
$query = <<<'GRAPHQL' | |
query GetUser($user: String!) { | |
user (login: $user) { | |
name | |
repositoriesContributedTo { | |
totalCount | |
} |
sudo adduser deploy
sudo passwd deploy
vi sudo
deploy ALL=(ALL) NOPASSWD:ALL
su - deploy
I posted several talks about compiling PHP from source, but everyone was trying to convince me that a package manager like Homebrew was a more convenient way to install.
The purpose of Homebrew is simple: a package manager for macOS that will allow you to set up and install common packages easily and allows you to update frequently using simple commands.
I used a clean installation of macOS Sierra to ensure all steps could be recorded and tested. In most cases you already have done work on your Mac, so chances are you can skip a few steps in this tutorial.
I’ve made this according to the installation instructions given on GetGrav.
package main | |
import ( | |
"log" | |
"net/http" | |
"sync" | |
"github.com/garyburd/redigo/redis" | |
"github.com/gorilla/websocket" | |
uuid "github.com/satori/go.uuid" |
# Redis Cheatsheet | |
# All the commands you need to know | |
redis-server /path/redis.conf # start redis with the related configuration file | |
redis-cli # opens a redis prompt | |
# Strings. |